Learn R Programming

LBI (version 0.2.2)

LInormVar: Likelihood Interval of sd and variance assuming Normal Distribution

Description

Likelihood interval of sd and variance assuming normal distribution. This is estimated likelihood interval, not profile likelihood interval.

Usage

LInormVar(x, k, conf.level=0.95)

Value

PE

maximum likelihood estimate

LL

lower limit of likelihood interval

UL

upper limit of likelihood interval

Arguments

x

a vector of observation

k

1/k likelihood interval will be calculated

conf.level

approximately corresponding confidence level. If k is specified, this is ignored.

Author

Kyun-Seop Bae k@acr.kr

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.

Examples

Run this code
  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, k=1/0.15) # Pawitan Ex10-9 p289
  LInormVar(x)

Run the code above in your browser using DataLab