message_ix_models.model.transport.operator.logit
- message_ix_models.model.transport.operator.logit(x: AnyQuantity, k: AnyQuantity, lamda: AnyQuantity, y: List[int], dim: str) 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.