Learn R Programming

predictionInterval (version 1.0.0)

pi.r: Correlation prediction interval

Description

Correlation prediction interval

Usage

pi.r(r, n, rep.n = NA, prob.level = 0.95)

Arguments

r
Original study: Correlation
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

Run this code
pi.r(r=.35,n=100,rep.n=200)

Run the code above in your browser using DataLab