pi.m {predictionInterval} | R Documentation |
Prediction interval for the mean
Description
Prediction interval for the mean
Usage
pi.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 prediction interval and related statistics in list format.
Examples
pi.m(M=2.53,SD=1.02,n=40,rep.n=80)
[Package predictionInterval version 1.0.0 Index]