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