LIvar {LBI} | R Documentation |
Likelihood Interval of variance and sd assuming Normal Distribution with sample mean and sample size
Description
Likelihood interval of sd and variance assuming normal distribution. This is estimated likelihood interval, not profile likelihood interval.
Usage
LIvar(s1, n1, k, conf.level=0.95)
Arguments
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. |
Details
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.
Value
PE |
maximum likelihood estimate on the population variance |
LL |
lower limit of likelihood interval |
UL |
upper limit of likelihood interval |
Author(s)
Kyun-Seop Bae k@acr.kr
Examples
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))
[Package LBI version 0.2.2 Index]