Description Usage Arguments Value Examples
Simulates samples of normally distributed paired data according to specified sample size, intra-pair correlation and effect size of a given treatment.
1 |
npairs |
integer. Supplies the number of pairs to be simulated. Resulting in two samples of size "npairs". |
eff |
numeric. Supplies the difference in means between both groups. Can be interpreted as effect size based on the fact that standard normal variates are the basis of simulation. |
rho |
numeric. Supplies the correlation coefficient between both groups. |
A sample of paired data, i.e. two samples of size "npairs" with theoretical correlation coefficient "rho". Realised empirical correlation may vary and is not guaranteed to be an exact match of "rho".
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.