View source: R/interval_var4.R
interval_var4 | R Documentation |
sigma1^2 / sigma2^2
of two normal samples
Compute the two sided or one sided interval estimation of sigma1^2 / sigma2^2
of two normal samples when the population means are known or unknown.
interval_var4(x, y, mu = c(Inf, Inf), side = 0, alpha = 0.05)
x |
A numeric vector. |
y |
A numeric vector. |
mu |
The population means. When it is known, input it, and the function computes the interval endpoints using an F distribution with degree of freedom |
side |
A parameter used to control whether to compute two sided or one sided interval estimation. When computing the one sided upper limit, input |
alpha |
The significance level, a real number in [0, 1]. Default to 0.05. 1-alpha is the degree of confidence. |
A data.frame with variables:
rate |
The estimate of the ratio of population variances, |
df1 |
The first degree of freedom. |
df2 |
The second degree of freedom. |
a |
The confidence lower limit. |
b |
The confidence upper limit. |
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
y=rnorm(20, mean = 2, sd = 0.3); y
interval_var4(x, y, mu = c(1,2), side = -1)
interval_var4(x, y)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.