Learn R Programming

nmm (version 0.9)

get_start_disc: get_start_disc get starting values for discrete choice model.

Description

get_start_disc get starting values for discrete choice model.

Usage

get_start_disc(
  MNf1,
  hff,
  eqest,
  sdat,
  ppardogit = NULL,
  type_select = "smallest"
)

Arguments

MNf1

Function to me optimized

hff

Hessian function

eqest

Equations that will be estimated with nls

sdat

Data-set used for in the optimization

ppardogit

"dogit" parameters, NULL for "logit"

type_select

method for filling missing starting values. Default is "smallest"(closest by the index to the left value). "biggest" takes closest by index to the right value and "random" - samples randomly values.

Value

Starting values for discrete equations.