Learn R Programming

vcmeta (version 1.5.0)

se.prop2: Computes the estimate and standard error for a 2-group proportion difference

Description

This function computes the Price-Bonett standard error of a 2-group proportion difference using the frequency counts, sample sizes, and planned number of studies in the 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.prop2(f1, f2, n1, n2, m)

Value

Returns a one-row matrix:

  • Estimate - adjusted estimate of proportion difference

  • SE - standard error of adjusted estimate

Arguments

f1

number of participants in group 1 who have the outcome

f2

number of participants in group 2 who have the outcome

n1

sample size for group 1

n2

sample size for group 2

m

number of studies in planned meta-analysis

References

  • Price2004vcmeta

  • Bonett2014vcmeta

Examples

Run this code
se.prop2(31, 16, 40, 40, 5)

# Should return:
#                          Estimate        SE
# Proportion difference:  0.3676471 0.1011817


Run the code above in your browser using DataLab