Hoai Thu Thai <hoai-thu.thai <at> inserm.fr> writes: > > Dear R-users, > > Do you know if we can use the function lme in R for log-normal > distribution of parameters as used in Nonmem ? > theta=theta0*exp(eta) > > In our model, the parameters follow the log-normal distribution so it's > not reasonable to deal with normal distribution which gives us negative > values in simulation >
No. There are various tools (AD Model Builder, WinBUGS, JAGS) which have interfaces to R which could be used, but neither of the main R packages (nlme or lme4) will handle non-normal random effect distributions (it's possible that some of Jim Lindsey's packages at <popgen.unimaas.nl/~jlindsey/rcode.html> will handle this case; I don't remember). You might want to try this question on [email protected] Ben Bolker ______________________________________________ [email protected] 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.

