Conditional Logit
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.
Cita come
Jared Ashworth (2026). Conditional Logit (https://it.mathworks.com/matlabcentral/fileexchange/47389-conditional-logit), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Compatibilità della piattaforma
Windows macOS LinuxCategorie
Tag
Riconoscimenti
Ispirato da: Apply Restrictions
Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
| Versione | Pubblicato | Note della release | |
|---|---|---|---|
| 1.0.0.0 |
