| nested_endogenous_sampling_log_probability | R Documentation |
Construct a native nested-logit log probability with endogenous-sampling correction
nested_endogenous_sampling_log_probability(
utilities,
availability,
nests,
correction,
alternative,
alternative_codes = NULL
)
utilities |
Named list of utility expressions. |
availability |
Optional named list of availability expressions. |
nests |
A |
correction |
Named list of alternative-specific log correction terms. |
alternative |
Integer-valued alternative or a Biogeme choice expression. |
alternative_codes |
Optional named integer vector mapping utility names. |
A Biogeme expression compiled through native get_mev_for_nested
and logmev_endogenous_sampling.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.