Learn R Programming

predictionInterval (version 1.0.0)

pi.d: d-value (i.e., standardized mean difference) Prediction Interval

Description

d-value (i.e., standardized mean difference) Prediction Interval

Usage

pi.d(d, n1, n2, rep.n1 = NA, rep.n2 = NA, prob.level = 0.95)

Arguments

d
Original study: Sample d-value (standardized mean difference) created with pooled variance denominator. See formulas 4.18 and 4.19 (p.26) in Borenstein, Hedges, Higgins, & Rothstein (2009).
n1
Original study: Sample size for group 1
n2
Original study: Sample size for group 2
rep.n1
(optional) Replication study: Sample size for group 1. If not specified, n1 is used.
rep.n2
(optional) Replication study: Sample size for group 2. If not specified, n2 is used.
prob.level
(optional 0 to 1 value) Probability level desired (0 to 1). If not specified .95 (i.e., 95 percent) will be used.

Value

The prediction interval and related statistics in list format.

References

Borenstein, M., Hedges, L. V., Higgins, J. P., & Rothstein, H. R. (2009). Introduction to meta-analysis. John Wiley & Sons. Cumming, G., & Finch, S. (2001). A primer on the understanding, use, and calculation of confidence intervals that are based on central and noncentral distributions. Educational and Psychological Measurement, 61(4), 532-574.

Examples

Run this code
pi.d(d=.65,n1=50,n2=50,rep.n1=100,rep.n2=100)

Run the code above in your browser using DataLab