AFNI Message Board

Dear AFNI users-

We are very pleased to announce that the new AFNI Message Board framework is up! Please join us at:

https://discuss.afni.nimh.nih.gov

Existing user accounts have been migrated, so returning users can login by requesting a password reset. New users can create accounts, as well, through a standard account creation process. Please note that these setup emails might initially go to spam folders (esp. for NIH users!), so please check those locations in the beginning.

The current Message Board discussion threads have been migrated to the new framework. The current Message Board will remain visible, but read-only, for a little while.

Sincerely, AFNI HQ

History of AFNI updates  

|
March 02, 2015 11:11AM
Gang Wrote:
-------------------------------------------------------
> > lme(values ~ time*treatment +
> ratings,data=lme_data,random = ~1 + ratings |
> subj)
>
> > I get the following error message:
> > nlminb problem, convergence error code = 1
> > message = iteration limit reached without
> convergence (10)
>
> This is basically what 3dLME does except for a
> couple of differences (see below). Basically it
> failed to converge at that voxel for some
> numerical reason. Try a different voxel, and see
> if it converges.

Great. I tried a different voxel and it worked. I tried it again with the same voxel giving the error message and it worked. It might have been a formatting issue.


>
> > lme(values ~ time*treatment +
> ratings,data=lme_data,random = ~1 + ratings |
> subj)
>
> The reasons you had some different results from
> 3dLME are:
>
> 1) A different dummy coding scheme is adopted in
> 3dLME than the default in the nlme package. I use
> "deviation coding" (contr.sum in R) in 3dLME while
> the simple "dummy coding" (contr.treatment in R)
> is used in the nlme package. The consequence of
> the different coding strategies is that the
> intercept is interpreted totally different between
> the two.
>
> 2) The default for the type of sums of squares in
> 3dLME is "marginal" (or type 3) while the default
> in the nlme package is "sequential" (or type 1).
> And this is why you see the different F-values
> (and p-values as well) between your analyses
> except for the last term (interaction). See more
> discussion about the issue here:
>
> [afni.nimh.nih.gov]

This is very helpful. Selecting the two options of marginal in anova.lme and contr.treatment for the options for contrasts, I get the same results using lme as I do 3dLME.

Thanks again.

Michael
Subject Author Posted

3dLME - 2 within-subjects factors + covariate?

mrif February 23, 2015 02:03PM

Re: 3dLME - 2 within-subjects factors + covariate?

gang February 23, 2015 02:33PM

Re: 3dLME - 2 within-subjects factors + covariate?

mrif February 24, 2015 01:17PM

Re: 3dLME - 2 within-subjects factors + covariate?

gang February 24, 2015 02:49PM

Re: 3dLME - 2 within-subjects factors + covariate?

mrif February 26, 2015 02:51PM

Re: 3dLME - 2 within-subjects factors + covariate?

gang February 27, 2015 10:05AM

Re: 3dLME - 2 within-subjects factors + covariate?

mrif March 02, 2015 11:11AM

Re: 3dLME - 2 within-subjects factors + covariate?

mrif March 08, 2015 02:11PM

Re: 3dLME - 2 within-subjects factors + covariate?

gang March 09, 2015 10:40AM

Re: 3dLME - 2 within-subjects factors + covariate?

mrif March 10, 2015 02:24PM

Re: 3dLME - 2 within-subjects factors + covariate?

gang March 11, 2015 09:45AM

Re: 3dLME - 2 within-subjects factors + covariate?

mrif March 11, 2015 11:44AM

Re: 3dLME - 2 within-subjects factors + covariate?

gang March 11, 2015 06:10PM

Re: 3dLME - 2 within-subjects factors + covariate?

mrif March 11, 2015 07:46PM

Re: 3dLME - 2 within-subjects factors + covariate?

gang March 12, 2015 11:57AM

Re: 3dLME - 2 within-subjects factors + covariate?

mrif March 12, 2015 12:48PM

Re: 3dLME - 2 within-subjects factors + covariate?

gang March 12, 2015 04:13PM

Re: 3dLME - 2 within-subjects factors + covariate?

mrif March 13, 2015 10:09AM

Re: 3dLME - 2 within-subjects factors + covariate?

gang March 14, 2015 10:21AM

Re: 3dLME - 2 within-subjects factors + covariate?

mrif March 15, 2015 11:23PM