> -----Original Message-----
> From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org]
> On Behalf Of Rich Shepard
> Sent: Wednesday, November 09, 2011 9:42 AM
> To: r-help@r-project.org
> Subject: Re: [R] Interpreting Multiple Linear Regression Summary
> 
> On Wed, 9 Nov 2011, David Winsemius wrote:
> 
> > I don't see a data= argument specified, so you are telling lm() that
> your
> > workspace has individual vectors by those names in the formula. That is
> > not what is implied by hte rest of your message.
> 
> David,
> 
>    That's because I attached the data frame before running the model.
> 
>    However, looking again at the scatter plots of the individual predictor
> variables
> with the response variable answered my question after I posted it. There
> are
> no patterns to the relationships in these scatter plots so there's nothing
> to model. I became caught up in the repetitive processing for all these
> data
> and stopped really seeing what was in front of me.
> 
> My apologies to the list,
> 
> Rich


Rich,

the problem is not just that there was 'nothing to model.'  If that were the 
case, you would have gotten non-significant parameter estimates, not NA's.  I 
would guess that there is something problematic with the how the data frame is 
structured relative to what lm() is expecting.  So, I would not give up looking 
for a solution just yet.  Can you show us the result of str() on the data frame 
that you attached?

Dan

Daniel Nordlund
Bothell, WA USA

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to