Get expression of Hessian and Gradient for discrete choice model with quantile transformation.
deriv_disc_expr_corr(
mnf1 = NULL,
smodu1,
attribute = "grad",
ffor = ffor,
cheqs0 = cheqs0
)
object containing MNL expressions
parameter matrix
can be "grad" or "hessian"
discrete choice equations
errors from cont. equations
derivative expression of discrete equations, with dependency on base mode