Learn R Programming

inteli (version 0.1.2)

lim: Likelihood Interval for Mean of Single Sample from Normal Distribution

Description

Likelihood interval for mean of single sample assuming normal distribution. Likelihood function plot is also shown. Likelihood function plot is also shown. For faster calculation speed, plot option '0' is recommended.

Value

demo

basic demographics of data

LI

estimated interval of mean by LI

CI

estimated interval of mean by CI

plot

likelihood-related plots

Arguments

data

a numeric vector of data values; mandatory

plot

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.

conf.level

confidence level for the interval estimation

df

degree of freedom for likelihood interval; default is 1

k

cutoff value for likelihood interval. If not specified, F-test is used.

Author

Kyun-Seop Bae <k@acr.kr>, Minkyu Kim <mkim@acr.kr>

Examples

Run this code
  lim(rnorm(20, 0, 1))

Run the code above in your browser using DataLab