Description Usage Arguments Details Value Author(s) See Also Examples
The function kappa2n
returns the sample size that
corresponds to a given degree of freedom kappa, whereas n2kappa
converts sample size to the corresponding degree of freedom.
1 2 |
kappa |
degree of freedom |
p |
number of variables (p=2 corresponds to simple correlation) |
n |
sample size |
The degree of freedom kappa of the sample distribution of the empirical correlation
coefficient depends both on the sample size n and the number p of investigated variables,
i.e. whether simple or partial correlation coefficients are being considered.
For p=2 (simple correlation coefficient) the degree of freedom equals kappa = n-1
,
whereas for arbitrary p (with p-2 variables eliminated in the partial correlation coefficient)
kappa = n-p+1
(see also dcor0
).
The sample size n corresponding to a given kappa, or the degree of freedom kappa corresponding to a given p.
Juliane Sch\"afer and Korbinian Strimmer (https://strimmerlab.github.io).
1 2 3 4 5 6 7 8 9 10 11 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.