Learn R Programming

eel (version 1.1)

print.EEL: Printing EEL objects

Description

The function prints the extended empirical log likelihood ratio.

Usage

"print"(x,...)

Arguments

x
EEL object.
...
Further arguments passed to or from other methods.

Value

The function prints the extended empirical log likelihood ratio value of the EEL object.

See Also

EEL

Examples

Run this code
# EXAMPLE: computing the EEL for the mean of a bivariate random variable
# Generating a sample of n=40 bivariate observations. 
# For this example, we do this through a univariate normal random number generator.

uninorm<- rnorm(40*2,5,1)                          
multnorm<-matrix(uninorm,ncol=2)

# To calculate the EEL for a point theta=c(5,3), use
obj=EEL(x=multnorm,theta=c(5,3))

print(obj)

Run the code above in your browser using DataLab