Learn R Programming

GEC (version 0.1.0)

validation: The validation Function for Model Parameters.

Description

This function checks if the estimates from raw_est_eigp or raw_est_eep satisfy the pre-defined conditions for the parameters.

Usage

validation(data, estimate)

Value

A Boolean vector.

Arguments

data

Observations.

estimate

The data frame with 2 columns named 'theta' and 'eta'.

Details

validation

Examples

Run this code
estimate = raw_est_eigp(seq(1:100),init = c(1,1),lower_bound = c(0.01,0.01))
estimate = data.frame(estimate)
colnames(estimate) = c('theta','eta')
validation(seq(1:100),estimate)

Run the code above in your browser using DataLab