mnl_probabilities: Calculate the MNL probability

View source: R/mnl_probs.R

mnl_probabilitiesR Documentation

Calculate the MNL probability

Description

Function is convenient way to calculate the MNL probabilities.

Usage

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.


edsandorf/cmdlR documentation built on Jan. 17, 2024, 12:33 a.m.