pi.score1 {statpsych}R Documentation

Prediction interval for one score

Description

Computes a prediction interval for the response variable score of one randomly selected member from the study population.

Usage

pi.score1(alpha, m, sd, n)

Arguments

alpha

alpha level for 1-alpha confidence

m

estimated mean

sd

estimated standard deviation

n

sample size

Value

Returns a 1-row matrix. The columns are:

Examples

pi.score1(.05, 24.5, 3.65, 40)

# Should return:
# Predicted  df       LL       UL
#      24.5  39 17.02546 31.97454
 


[Package statpsych version 1.5.0 Index]