powered by
Likelihood interval of mean and sd assuming normal distribution. This is estimated likelihood interval, not profile likelihood interval.
LInorm(x, k, conf.level=0.95, PLOT="", LOCATE=FALSE, Resol=201)
maximum likelihood estimate
lower limit of likelihood interval
upper limit of likelihood interval
a vector of observation
1/k likelihood interval will be calculated
approximately corresponding confidence level. If k is specified, this is ignored.
"1d" for profile plot or "2d" for contour plot.
use locater. This works only with PLOT="2D" option.
resolution for plot. This works only with PLOT=TRUE option.
Kyun-Seop Bae k@acr.kr
It calculates likelihood interval of mean and sd assuming normal distribution in one group. There is no standard error in the output.
x = c(-5.3, -4.5, -1.0, -0.7, 3.7, 3.9, 4.2, 5.5, 6.8, 7.4, 9.3) LInorm(x, k=1/0.15) # Pawitan Ex10-9 p289 LInorm(x) LInorm(x, PLOT="1d") LInorm(x, PLOT="2d", LOCATE=TRUE)
Run the code above in your browser using DataLab