ologit_restrict.m is the function to be submitted to an optimization tool (most notably fminunc). It accepts a restriction matrix of the form created by the user-submitted function "Apply Restrictions" (see below). It also accepts user-specified weights for each observation.
Run the script "ologit_test.m" to test the functionality.
Tyler R (2021). Ordered logit (https://www.mathworks.com/matlabcentral/fileexchange/68256-ordered-logit), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!