Learn R Programming

vcmeta (version 1.5.0)

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

Description

This function computes a standard error of a paired-samples proportion difference using the frequency counts from a 2 x 2 contingency table and the number of studies in the planned meta-analysis. 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, m)

Value

Returns a one-row matrix:

  • Estimate - adjusted estimate of proportion difference

  • SE - standard error

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

m

number of studies in planned meta-analysis

References

Bonett2012vcmeta

Examples

Run this code
se.prop.ps(16, 64, 5, 15, 4)

# Should return:
#                          Estimate        SE
# Proportion difference:  0.5870647 0.0587513


Run the code above in your browser using DataLab