[R] Error in if (any(ch)) { : missing value where TRUE/FALSE needed

Uwe Ligges ligges at statistik.tu-dortmund.de
Thu Oct 4 19:51:25 CEST 2012

On 03.10.2012 19:47, liang.che at us.pwc.com wrote:
> Can someone please help with the error message below?

Not really, the message says it all: You cannot improve the AIC since it 
is numerically -Inf already!

Uwe Ligges

> 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
> ______________________________________________________________________
> The information transmitted, including any attachments, is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited, and all liability arising therefrom is disclaimed. If you received this in error, please contact the sender and delete the material from any computer. PricewaterhouseCoopers LLP is a Delaware limited liability partnership.  This communication may come from PricewaterhouseCoopers LLP or one of its subsidiaries.
> 	[[alternative HTML version deleted]]
> ______________________________________________
> R-help at 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.

More information about the R-help mailing list