Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove NA alternatives before calculating probabilities #93

Closed
bstabler opened this issue May 20, 2016 · 1 comment
Closed

remove NA alternatives before calculating probabilities #93

bstabler opened this issue May 20, 2016 · 1 comment
Assignees

Comments

@bstabler
Copy link
Contributor

In a choice model, if an alternative is not available, then it needs to be removed from the alternative set before calculating the probabilities for each available alternative. An alternative will be deemed to be not available if one of the expressions evaluates to the global NA value. This issue is discussed in more detail in #81.

@bstabler bstabler changed the title remove NA alternatives remove NA alternatives before calculating probabilities May 20, 2016
@toliwaga
Copy link
Contributor

I think it is sufficient simply to set its probability to zero?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants