Skip to content
Prev 3060 / 20628 Next

Generating correlated multilevel data

Hi,

Does anyone know of a package or some available code for generating multilevel data with multiple predictors at each level that can be correlated across levels?  I assume this has been done and I don't really want to reinvent the wheel, but I cannot seem to find the actual code.  

For some specifics:
I want to generate three-level data with 2-3 predictors at each level and correlations throughout the predictors where I would specify the sample sizes, correlations and error at each level.  

Thanks for any help!
Chris