eigp_optim {GEC}R Documentation

The Wrapper Function that Returns the Final Estimates from Maximum Likelihood Estimation for EIGP.

Description

This function serves as a wrapper that returns the final estimates of theta, eta, and the corresponding density change point

Usage

eigp_optim(data, init = c(1, 1), lower_bound = c(0.01, 0.01))

Arguments

data

Observations.

init

The vector of initial values of the model parameters. The default is c(1,1).

lower_bound

The vector of the lower bound for the parameters. The default is c(0.01,0.01).

Details

eigp_optim

Value

A data frame with 1 row and 3 columns that contains the MLE of theta, eta, and the predicted density change point.

Examples

eigp_optim(seq(1:100))

[Package GEC version 0.1.0 Index]