Skip to content
Prev 8514 / 20628 Next

Help needed: Fitting and Simulating multilevel model in R.

The version of the TeachingDemos package that is on R-forge (not the
CRAN version yet) has a function called "simfun" that could be helpful
in setting up the simulation.  You can get the R-forge version with
the command: install.packages("TeachingDemos", repos=
c("http://R-Forge.R-project.org", getOption("repos")))

Look through the help for "simfun" to see how to use it and ideas for
simulating with it.

For doing the analysis you can use the lme4 package (others as well,
but that is one place to start).

On Sat, Jun 30, 2012 at 6:36 AM, Justice Moses K. Aheto
<justiceaheto at yahoo.com> wrote: