ci.var.upper: Upper confidence limit of variance

View source: R/statpsych1.R

ci.var.upperR Documentation

Upper confidence limit of variance

Description

Computes an upper limit for a population variance using an estimated variance from a sample of size n in a prior study. The upper limit can be used as a variance planning value in sample size functions that require a variance planning value.

Usage

ci.var.upper(alpha, var, n)

Arguments

alpha

alpha value for 1-alpha confidence (one-sided)

var

estimated variance

n

sample size

Value

Returns an upper limit (UL) variance planning value

Examples

ci.var.upper(.25, 15, 60)

# Should return:
#            UL
# [1,] 17.23264
 


statpsych documentation built on July 9, 2023, 6:50 p.m.