Likelihood interval for variance ratio of two samples assuming normal distribution. Likelihood function plot is also shown. For faster calculation speed, plot option '0' is recommended. Sample size is not allocated.
basic demographics of data
estimated interval of variance ratio by LI
estimated interval of standard deviation ratio by LI
estimated interval of variance by CI
likelihood-related plots
a numeric vector of data values, variance value at the numerator position; mandatory
a numeric vector of data values, variance value at the denominator position; mandatory
likelihood function plots by LI; default is "all". 'OBJ', 'O1', '1' is objective function plot; 'OFV', 'O2', '2' is log likelihood function plot; 'LRT', 'O3', '3' is log LRT function plot.
confidence level for the interval estimation
degree of freedom for likelihood interval; default is 2.4
cutoff value for likelihood interval. If not specified, F-test is used.
Kyun-Seop Bae <k@acr.kr>, Minkyu Kim <mkim@acr.kr>
lir(rnorm(30, 0, 1), rnorm(20, 0, 1))
Run the code above in your browser using DataLab