Join us for
RADAR: AI Edition

nmm (version 0.9)

deriv_disc_expr_corr: Hessian and Gradient expressions

Description

Get expression of Hessian and Gradient for discrete choice model with quantile transformation.

Usage

deriv_disc_expr_corr(
  mnf1 = NULL,
  smodu1,
  attribute = "grad",
  ffor = ffor,
  cheqs0 = cheqs0
)

Arguments

mnf1

object containing MNL expressions

smodu1

parameter matrix

attribute

can be "grad" or "hessian"

ffor

discrete choice equations

cheqs0

errors from cont. equations

Value

derivative expression of discrete equations, with dependency on base mode