Skip to content
Back to formatted view

Raw Message

Message-ID: <loom.20121004T010833-558@post.gmane.org>
Date: 2012-10-03T23:09:53Z
From: Ben Bolker
Subject: Error in if (any(ch)) { : missing value where TRUE/FALSE needed

<liang.che <at> us.pwc.com> writes:

> 
> Can someone please help with the error message below?
> 
> thanks!
> 
> Start:  AIC=-Inf
> value ~ 1 + Core_CPI__ + GDP_change + Unemployment + housing + 
>     interest + S_P + d1 + d2 + d3
> 
> Error in if (any(ch)) { : missing value where TRUE/FALSE needed
> In addition: Warning message:
> attempting model selection on an essentially perfect fit is nonsense 
> 

  Without a reproducible example we can't help. 
 (See http://tinyurl.com/reproducible-000 , for example)

  Have you checked to see if you are overfitting?
  Have you possibly read in a numeric variable as a factor by
accident?

  Ben Bolker