se.prop.ps {vcmeta} | R 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
Bonett DG, Price RM (2012). “Adjusted wald confidence interval for a difference of binomial proportions based on paired data.” Journal of Educational and Behavioral Statistics, 37(4), 479–488. ISSN 1076-9986, doi:10.3102/1076998611411915.
Examples
se.prop.ps(16, 64, 5, 15)
# Should return:
# Estimate SE
# Proportion difference: 0.5784314 0.05953213