Description Usage Arguments Value
Get expression of Hessian and Gradient for discrete choice model with quantile transformation
| 1 2 3 4 5 6 7 | deriv_disc_expr(
  mnf1 = NULL,
  smodu1,
  attribute = "grad",
  ffor = ffor,
  MNtypef = "logit"
)
 | 
| mnf1 | object containing MNL expressions | 
| smodu1 | parameter matrix | 
| attribute | can be "grad" or "hessian" | 
| ffor | discrete choice equations | 
| MNtypef | logit or dogit | 
derivative expression of discrete equations
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.