ri.m: Replication interval for the mean

Description Usage Arguments Value Examples

Description

Replication interval for the mean

Usage

1
ri.m(M, SD = NA, VAR = NA, n, rep.n = NA, prob.level = 0.95)

Arguments

M

Original study: Mean

SD

Original study: Standard deviation. Provide this or variance - not both.

VAR

Original study: Variance. Provide this or standard deviation - not both.

n

Original study: Sample size

rep.n

(optional) Replication study: Sample size. If not specified, n 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 replication interval and related statistics in list format.

Examples

1
ri.m(M=2.53,SD=1.02,n=40,rep.n=80)

Example output

Original study: M = 2.53, SD = 1.02, N = 40, 95% CI[2.20, 2.86]
Replication study: N = 80
Replication interval: 95% RI[2.13,2.93].


Interpretation:
The original mean is 2.53 - with a replication interval 95% RI[2.13, 2.93] based a replication sample size of N = 80. If the replication mean differs from the original mean only due to sampling error, there is a 95% chance the replication result will fall in this interval. If the replication mean falls outside of this range, factors beyond sampling error are likely also responsible for the difference.

replicationInterval documentation built on May 2, 2019, 3:35 p.m.