Learn R Programming

depCensoring (version 0.1.7)

get.extra.Estep.points: Get extra evaluation points for E-step

Description

Function used to obtain extra theta values to be supplied to the E-step in the next iteration (M_step.R). Note: this function should be changed when implementing the sample space contractions (see comment made in documentation of M_step).

Usage

get.extra.Estep.points(dir, theta.hash, maxviol.hash, hyperparams)

Value

Points to evaluate in E-step.

Arguments

dir

Search direction. dir = 1 corresponds to looking for an upper bound. dir = -1 corresponds to looking for a lower bound.

theta.hash

Tentative optimal value for theta, i.e., the largest or smallest feasible value for theta (if dir = 1 or dir = -1, respectively). A 'feasible value' is one that satisfies all moment restrictions.

maxviol.hash

Violation curve evaluated at theta.hash.

hyperparams

List of hyperparameters.