| logit_log_probability | R Documentation |
This is the log-probability counterpart of logit_probability(). It is
compiled directly to Biogeme's public models.loglogit constructor, which
preserves the native numerically stable likelihood used by examples such
as Swissmetro b20.
logit_log_probability(
utilities,
availability = NULL,
alternative,
alternative_codes = NULL
)
utilities |
Named list of utility expressions keyed by alternatives. |
availability |
Optional named list of availability expressions. |
alternative |
Integer code or expression for the observed alternative. |
alternative_codes |
Optional named integer codes for the utilities. |
A Biogeme logit log-probability expression.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.