powered by
This function calculates the confidence interval for variance when only + the sample variance and sample size are known.
chi_var_ci_no_data(s2_given, n_given, conf_level)
A numeric vector with the lower and upper bounds of the confidence interval.
Numeric. The sample variance.
Integer. The sample size.
Numeric. The confidence level (e.g., 0.95 for 95% CI).
s2_given <- 21.5 # Sample variance n_given <- 26 # Sample size conf_level <- 0.98 # 98% confidence level chi_var_ci_no_data(s2_given, n_given, conf_level)
Run the code above in your browser using DataLab