Learn R Programming

GEC (version 0.1.0)

raw_est_eep: The Optimization Function for EEP Maximum Likelihood Estimation.

Description

This function serves as the optimization function for EEP at different locations of density change points.

Usage

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

Value

The matrix with estimates of theta and eta for n-1 different locations of density change points (1st column for theta, 2nd column for eta).

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

raw_est_eep

Examples

Run this code
raw_est_eep(seq(1:100))

Run the code above in your browser using DataLab