Function is convenient way to calculate the MNL probabilities.

mnl_probabilities(V, choice_var, alt_avail)

Arguments

V

A list of utilities

choice_var

A vector with the chosen alternative

alt_avail

A list of alternative availabilities

Details

Function for calculating the MNL probabilities

Calculate the MNL probabilities taking the difference from the chosen alternative.