LIvar | R Documentation |
Likelihood interval of sd and variance assuming normal distribution. This is estimated likelihood interval, not profile likelihood interval.
LIvar(s1, n1, k, conf.level=0.95)
s1 |
standard deviation of the sample |
n1 |
sample size |
k |
1/k likelihood interval will be calculated |
conf.level |
approximately corresponding confidence level. If k is specified, this is ignored. |
It calculates likelihood interval of sd and variance assuming normal distribution in one group. The likelihood interval is asymmetric and there is no standard error in the output.
PE |
maximum likelihood estimate on the population variance |
LL |
lower limit of likelihood interval |
UL |
upper limit of likelihood interval |
Kyun-Seop Bae k@acr.kr
x = c(-5.3, -4.5, -1.0, -0.7, 3.7, 3.9, 4.2, 5.5, 6.8, 7.4, 9.3)
LInormVar(x)
LIvar(sd(x), length(x))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.