[R] Interpreting Multiple Linear Regression Summary
djnordlund at frontier.com
Wed Nov 9 19:08:02 CET 2011
> -----Original Message-----
> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org]
> On Behalf Of Rich Shepard
> Sent: Wednesday, November 09, 2011 9:42 AM
> To: r-help at 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
> > workspace has individual vectors by those names in the formula. That is
> > not what is implied by hte rest of your message.
> That's because I attached the data frame before running the model.
> However, looking again at the scatter plots of the individual predictor
> with the response variable answered my question after I posted it. There
> 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
> and stopped really seeing what was in front of me.
> My apologies to the list,
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?
Bothell, WA USA
More information about the R-help