Description Usage Arguments Details Value References Examples
Stabalizes the variances of correlations. Operates on a list of correlation matrices.
1 | MDfishersz(cor.mats)
|
cor.mats |
A list of correlation matrices. |
Uses Fisher's (1915) transformation:
{z}' = .5ln ≤ft(\frac{1 + r}{1 - r}\right)
Returns a list of correlation matrices with Fisher's z transformation applied.
Fisher, R. A. (1915) Frequency distribution of the values of the correlation coefficient in samples from an indefinitely large population. Biometrika, Vol. 10, pp. 507-521.
1 2 3 4 5 6 7 8 9 10 11 | path <- system.file("extdata/bibTest.bib", package = "metaDAT")
dat <- read.MD(path)
correlations <- MDapply(dat, "correlation_triangle", MDlist2matrix)
MDfishersz(correlations)
#reassign
dat <- MDassign(dat, "fishz.cor", MDfishersz(correlations))
dat
#In less steps:
fishFUN <- function(x) MDfishersz(MDlist2matrix(x))
MDapply(dat, "correlation_triangle", fishFUN, newvar = "fishz.cor")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.