compute_choice_probabilities {RprobitB} | R Documentation |
This is a helper function for choice_probabilities
and computes
the probit choice probabilities for a single choice situation with J
alternatives.
compute_choice_probabilities(X, alternatives, parameter, ordered = FALSE)
X |
A matrix of covariates with |
alternatives |
A vector with unique integers from |
parameter |
An object of class |
ordered |
A boolean, |
A probability vector of length length(alternatives)
.