fun.testpoly | R Documentation |
Simulate data from a bivariate normal distribution, and calculate various measures of association.
fun.testpoly(rho = 0.5, nsamp = 50, nmc = 10000, progress = F)
rho |
Correlation of marginal normals |
nsamp |
Number of observations in each sample |
nmc |
Number of Monte Carlo simulations |
progress |
Logical indicating whether periodic updates of progress should be made. |
list with two components: mat, a matrix with seven columns representing polychoric correlation with 2, 3, and 4 groupings, Pearson correlation, and kappa statistic for 2, 3, and 4 categories., and settings, rho and nsamp.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.