Learn R Programming

replicationInterval (version 2.0.1)

ri.m: Replication interval for the mean

Description

Replication interval for the mean

Usage

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

Run this code
ri.m(M=2.53,SD=1.02,n=40,rep.n=80)

Run the code above in your browser using DataLab