deriv_disc_expr_corr: Hessian and Gradient expressions

Description Usage Arguments Value

View source: R/005functions.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_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


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