Function is convenient way to calculate the MNL probabilities.
mnl_probabilities(V, choice_var, alt_avail)
A list of utilities
A vector with the chosen alternative
A list of alternative availabilities
Function for calculating the MNL probabilities
Calculate the MNL probabilities taking the difference from the chosen alternative.