var_test1 | R Documentation |
sigma^2
of one normal sample
Compute the two sided or one sided test of hypothesis of sigma^2
of one normal sample when the population mean is known or unknown.
var_test1(x, sigma2 = 1, mu = Inf, side = 0)
x |
A numeric vector. |
sigma2 |
|
mu |
The population mean. |
side |
A parameter used to control two sided or one sided test of hypothesis. When inputting |
A data.frame with variables:
var |
The estimate of the population variance. When the population mean |
df |
The degree of freedom. |
chisq2 |
The chisquare statistic. |
p_value |
The P value. |
Ying-Ying Zhang (Robert) robertzhangyying@qq.com
Zhang, Y. Y., Wei, Y. (2013), One and two samples using only an R funtion, \Sexpr[results=rd]{tools:::Rd_expr_doi("10.2991/asshm-13.2013.29")}.
x=rnorm(10, mean = 1, sd = 0.2); x
var_test1(x, sigma2 = 0.2^2, mu = 1, side = 1)
var_test1(x, sigma2 = 0.2^2, side = 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.