Based on Fisher's z-transformation and a correction of the standard deviation for finite samples: (Npop - n) / (Npop - 1) Calculates probability of observing a sample correlation coefficient r given a sample size n, a population size Npop and the population correlation coefficient rho.
1 | pval_cor_fisher(r, rho, n, Npop, alternative = "two.sided")
|
r |
sample correlation coefficient |
rho |
population correlation coefficient |
n |
sample size |
Npop |
population size |
alternative |
a character string specifying the alternative hypothesis, must be one of "two.sided" (default), "greater" or "less" |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.