se.prop.ps: Computes the estimate and standard error for a paired-samples...

View source: R/meta_se.R

se.prop.psR Documentation

Computes the estimate and standard error for a paired-samples proportion difference

Description

This function computes the Bonett-Price standard error of a paired-samples proportion difference using the frequency counts from a 2 x 2 contingency table. The effect size estimate and standard error output from this function can be used as input in the meta.ave.gen, meta.lc.gen, and meta.lm.gen functions in applications where compatible proportion differences from a combination of 2-group and paired-samples studies are used in the meta-analysis.

Usage

se.prop.ps(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 one-row matrix:

  • Estimate - estimated proportion difference

  • SE - standard error

References

\insertRef

Bonett2012vcmeta

Examples

se.prop.ps(16, 64, 5, 15)

# Should return:
#                          Estimate         SE
# Proportion difference:  0.5784314 0.05953213



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