deriv_disc_expr: Get expression of Hessian and Gradient for discrete choice...

Description Usage Arguments Value

View source: R/002functions.R

Description

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

Usage

1
2
3
4
5
6
7
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


nmm documentation built on Jan. 7, 2021, 5:10 p.m.

Related to deriv_disc_expr in nmm...