message_ix_models.model.transport.operator.logit

message_ix_models.model.transport.operator.logit(x: :data:`~genno.core.quantity.AnyQuantity`, k: :data:`~genno.core.quantity.AnyQuantity`, lamda: :data:`~genno.core.quantity.AnyQuantity`, y: list[int], dim: str) :data:`~genno.core.quantity.AnyQuantity`[source]

Compute probabilities for a logit random utility model.

The choice probabilities have the form:

\[Pr(i) = \frac{k_j x_j ^{\lambda_j}} {\sum_{\forall i \in D} k_i x_i ^{\lambda_i}} \forall j \in D\]

…where \(D\) is the dimension named by the dim argument. All other dimensions are broadcast automatically.