[R] lme: simulate.lme in R

Scott Rifkin scott.rifkin at yale.edu
Fri Mar 19 20:31:22 CET 2004


The goal:  simulate chi square mixture distributions as a way of 
simulating likelihood ratio test statistics for some mixed models where 
the more specific model has some zero variance components (a la Pinheiro 
and Bates pg. 84-87)

The problem: R doesn't have the function ms which is apparently used by 
simulate.lme

In the current version of nlme for R, is there a way around this?  Is it 
possible to use the simulate function?  Is this going to be rectified in 
the (eagerly anticipated) new release of nlme next month?

Thanks,
Scott.rifkin at yale.edu




More information about the R-help mailing list