ci.var.upper | R Documentation |
Computes an upper confidence 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 for desired power that require a planning value of the population variance.
ci.var.upper(alpha, var, n)
alpha |
alpha value for 1-alpha confidence (one-sided) |
var |
estimated variance |
n |
sample size |
Returns an upper limit (UL) variance planning value
ci.var.upper(.25, 15, 60)
# Should return:
# UL
# 17.23264
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.