Hi All,

I seem to have solved my own problem. I had been using a log transform. When
I removed the log transform, the distribution changed to this:

summary(CondProb.post)
    Min.   1st Qu.    Median      Mean   3rd Qu.      Max.
0.0000024 0.0007041 0.0032200 0.0420000 0.0148300 1.0000000

 from this

summary(log(CondProb.post))
   Min. 1st Qu.  Median    Mean 3rd Qu.    Max.
-12.940  -7.259  -5.738  -5.699  -4.211   0.000

An now my CLMM is working again. I am still perplexed by the error message!
Any idea why taking the log of a predictor would cause the CLMM to fail?

(I am using the ordinal package v. 2011.08-11 on Mac OS X 10.7 and R 2.13.1)

-Cyrus


On Thu, Sep 29, 2011 at 1:16 AM, Cyrus Shaoul <cyrus.shaoul@ualberta.ca>wrote:

> Dear Rune, R-Sig-ME list members,
>
> I have question. I added a fixed effect, CondProb.post, to a model that was
> working well, and
> now I am getting an error message.
>
> > fmm3.post <- clmm(orank~
> + l.resp.w4f +l.resp.t2f + l.respFreq + CondProb.post
> +(1|subj)+(1|item),Hess=T,data=quad.post)
>
> *Error in if (maxGrad < rho$ctrl$gradTol) { :
>  missing value where TRUE/FALSE needed
> In addition: Warning message:
> In sqrt(phi2) : NaNs produced*
>
> I am not sure what about this fixed effect is causing problems....
>
> Here is the summary of it:
>
> summary(quad.post$CondProb.post)
>    Min. 1st Qu.  Median    Mean 3rd Qu.    Max.
> -12.940  -7.259  -5.738  -5.699  -4.211   0.000
>
> Thanks so much for your help,
>
> Cyrus
>
> --
> http://www.ualberta.ca/~cshaoul/
>
>


-- 
http://www.ualberta.ca/~cshaoul/

	[[alternative HTML version deleted]]


