se.tetra: Computes the standard error for a tetrachoric correlation...

View source: R/meta_se.R

se.tetraR Documentation

Computes the standard error for a tetrachoric correlation approximation

Description

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.

Usage

se.tetra(f00, f01, f10, f11)

Arguments

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

Value

Returns a 1-row matrix. The columns are:

  • Estimate - estimated tetrachoric approximation

  • SE - standard error

References

\insertRef

Bonett2005vcmeta

Examples

se.tetra(46, 15, 54, 85)

# Should return:
#                Estimate         SE 
# Tetrachoric:  0.5135167 0.09358336



dgbonett/vcmeta documentation built on July 12, 2024, 3:12 p.m.