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)=kjxjλjiDkixiλijD

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