generateFakeData | R Documentation |
Generate artificial dataset for demonstration and testing purposes.
generateFakeData( M = 50, meanNarea = 1000, sW = 100, sB = 50, sBx = 0.5, samplingFraction = 0.1 )
M |
number of areas. |
meanNarea |
mean number of population units per area. |
sW |
within area standard deviation. |
sB |
between area standard deviation. |
sBx |
random slope standard deviation. |
samplingFraction |
sampling fraction used to draw a random sample from the population units. |
List containing sample (sam), population totals (Xpop), and true population means for four target variables (mY0, mY1, mY2, mY3).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.