Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


nmm (version 0.9)

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

Description

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

Usage

deriv_disc_expr(
  mnf1 = NULL,
  smodu1,
  attribute = "grad",
  ffor = ffor,
  MNtypef = "logit"
)

Arguments

mnf1

object containing MNL expressions

smodu1

parameter matrix

attribute

can be "grad" or "hessian"

ffor

discrete choice equations

MNtypef

logit or dogit

Value

derivative expression of discrete equations