Conditional Logit

版本 1.0.0.0 (3.9 KB) 作者: Jared Ashworth
A conditional logit function that allows restrictions
585.0 次下载
更新时间 2014/7/29

查看许可证

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.

引用格式

Jared Ashworth (2024). Conditional Logit (https://www.mathworks.com/matlabcentral/fileexchange/47389-conditional-logit), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2012b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Thermal Analysis 的更多信息
标签 添加标签
致谢

参考作品: Apply Restrictions

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.0.0