You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
A conditional logit is a form of multinomial logit where the variables are allowed to vary over alternatives. This has functionality similar to Stata's asclogit command.
clogit.m is the function to be submitted to an optimization tool (most notably fminunc). It can be specified to have all, some, or no variables vary over alternatives. It accepts a restriction matrix of the form created by the user-submitted function "Apply Restrictions" (see below).
pclogit.m returns the probabilities based on the parameters estimated by clogit.m
asclogitSim.m is a small example.
Cite As
Jared Ashworth (2026). Conditional Logit (https://se.mathworks.com/matlabcentral/fileexchange/47389-conditional-logit), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired by: Apply Restrictions
General Information
- Version 1.0.0.0 (3.91 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 |
