powered by
mu
Compute the two sided interval estimation of mu of one normal sample when the population variance is known or unknown.
interval_estimate1(x, sigma = -1, alpha = 0.05)
A data.frame with variables:
The sample mean.
The degree of freedom.
The confidence lower limit.
The confidence upper limit.
A numeric vector.
The standard deviation of the population. sigma>=0 indicates it is known, sigma<0 indicates it is unknown. Default to unknown standard deviation.
sigma>=0
sigma<0
The significance level, a real number in [0, 1]. Default to 0.05. 1-alpha is the degree of confidence.
Ying-Ying Zhang (Robert) robertzhangyying@qq.com
Zhang, Y. Y., Wei, Y. (2013), One and two samples using only an R funtion, tools:::Rd_expr_doi("10.2991/asshm-13.2013.29").
x=rnorm(10, mean = 1, sd = 0.2); x interval_estimate1(x, sigma = 0.2) interval_estimate1(x)
Run the code above in your browser using DataLab