Learn R Programming

eel (version 1.1)

EMLogLR: Original empirical log likelihood ratio

Description

The function extracts the empirical log likelihood ratio value produced by el.test() function from package "emplik".

Usage

EMLogLR(x, mean)

Arguments

x
Data matrix.
mean
The mean value to be evaluated.

Value

The function will return a numerical value representing the original empirical log likelihood ratio.

See Also

EEL

Examples

Run this code
x=rnorm(50,0,1)
# find the empirical log likelihood ratio at point 0
EMLogLR(x,0)

Run the code above in your browser using DataLab