Learn R Programming

vcmeta (version 1.5.0)

se.propratio2: Computes the estimate and standard error for a 2-group log proportion ratio

Description

Computes the Price-Bonett standard error of a 2-group proportion ratio using the frequency count and sample size for each group. The log proportion ratio and standard error output from this function can be used as input in the meta.ave.gen.log function in applications where compatible proportion ratios from a combination of 2-group and paired-samples studies are used in the meta-analysis. If the proportions in each group are small (less than .1), proportion ratios may be compatible with odds ratios and then the meta.ave.gen.log function could be used to meta-analyze any combination of log proportion ratios and log odds ratios.

Usage

se.propratio2(f1, f2, n1, n2)

Value

Returns a one-row matrix:

  • Estimate - estimated log proportion ratio

  • SE - standard error

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

References

Price2008vcmeta

Examples

Run this code
se.propratio2(31, 16, 40, 40)

# Should return:
#                         Estimate        SE
# Log proportion ratio:  0.6539265 0.2136218


Run the code above in your browser using DataLab