pub fn mnl_probabilities(costs: &[f64], theta: f64) -> Vec<f64>Expand description
Compute MNL choice probabilities for a set of costs.
Returns a vector of probabilities summing to 1.0.
ยงArguments
costs- generalized cost of each alternativetheta- scale parameter