View source: R/simulate_data_re.R
simulate_data_re | R Documentation |
Simulate a 500x500 dataset with 8 true fixed effects, 492 junk variables and a clustered outcome suitable for a 2 level random effects analysis. The strength of association between true variables and the outcome is governed by the error added at level 1 (defined by parameter sd_level_1) and level 2 (sd_level_2).
sd_level_1 |
Standard deviation of level 1 variables |
sd_level_2 |
Standard deviation of level 2 variables |
A simulated dataset with a clustered outcome sutable for random effects analysis
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.