Description Usage Arguments Value
Make standard normal correlated data from 4 groups/conditions
1 2 3 4 5 6 7 8 9 | mkcord4(
rho.x1y1 = 0,
rho.x2y2 = 0.5,
rho.x1x2 = 0.2,
rho.y1y2 = 0.2,
rho.x1y2 = 0,
rho.x2y1 = 0,
n = 50
)
|
rho.x1y1 |
the population correlation between x1 and y1 (default 0). |
rho.x2y2 |
the population correlation between x2 and y2 (default 0.5). |
rho.x1x2, rho.y1y2, rho.x1y2, rho.x2y1 |
the other population correlations. |
n |
the sample size. |
A list with elements x1, y1, x2 and y2.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.