se.tetra | R Documentation |
This function computes an estimate of a tetrachoric correlation approximation and its standard error using the frequency counts from a 2 x 2 contingency table for two artifically dichotomous variables. A tetrachoric approximation could be compatible with a Pearson correlation in a meta-analysis. The tetrachoric approximation and the standard error from this function can be used as input in the meta.ave.cor.gen function in a meta-analysis where some studies have reported Pearson correlations between quantitative variables x and y and other studies have reported a 2 x 2 contingency table for dichotomous measurements of variables x and y.
se.tetra(f00, f01, f10, f11)
f00 |
number of participants with y = 0 and x = 0 |
f01 |
number of participants with y = 0 and x = 1 |
f10 |
number of participants with y = 1 and x = 0 |
f11 |
number of participants with y = 1 and x = 1 |
Returns a 1-row matrix. The columns are:
Estimate - estimated tetrachoric approximation
SE - standard error
Bonett2005vcmeta
se.tetra(46, 15, 54, 85)
# Should return:
# Estimate SE
# Tetrachoric: 0.5135167 0.09358336
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.