LIvtest: Likelihood Interval of variance and sd assuming Normal...

View source: R/LIvtest.R

LIvtestR Documentation

Likelihood Interval of variance and sd assuming Normal Distribution using means and SDs

Description

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

Usage

  LIvtest(s1, n1, s2, n2, k, conf.level=0.95)

Arguments

s1

sample standard deviation of the first group

n1

sample size of the first group

s2

sample standard deviation of the second group

n2

sample size of the second group

k

1/k likelihood interval will be calculated

conf.level

approximate confidence level. If k is specified, this is ignored.

Details

It calculates likelihood interval of variance and sd using sufficient statistics. There is no standard error in the output.

Value

PE

maximum likelihood estimate on the ratio

LL

lower limit of likelihood interval

UL

upper limit of likelihood interval

logk

log(k) value used for LI

maxLL

maximum log likelihood

conf.level

approximate confidence level

Author(s)

Kyun-Seop Bae k@acr.kr

Examples

  LIvtest(10.5, 3529, 8.9, 5190)
  LIvtest(3, 10, 2, 10)
  LIvtest(3, 10, 2, 10, k=15)

LBI documentation built on Aug. 21, 2025, 5:53 p.m.