LRT_eep {GEC}R Documentation

Likelihood Ratio Test (LRT) for the exponent parameter in EEP model.

Description

This function computes the test statistic and the p-value of LRT for the exponent parameter in EEP model.

Usage

LRT_eep(data, theta0, theta1, eta1)

Arguments

data

Observations.

theta0

The MLE of theta when eta = 1.

theta1

The unrestricted MLE of theta.

eta1

The unrestricted MLE of eta.

Details

LRT_eep

Value

This function returns the test statistic and the p-value of the LRT test

Examples

sample1 = eep_sampling(200,eta = 1.1,theta = 6)
eta1 = mle_search_eep(data = sample1)$eta
theta1 = mle_search_eep(data = sample1)$theta
theta0 = mle_iter_eep(data = sample1,eta = 1)
LRT_eep(sample1,theta0,theta1,eta1)

[Package GEC version 0.1.0 Index]