This repository contains a set of commands for fitting generalized continuation ratio models in Stata. The command allows for effects to be freely estimated across thresholds, to have a proportionality constraint across thresholds, or to be constrained to be equal across thresholds. Type "net install gencrm, from(https://github.com/sbauldry/gencrm/raw/master) replace" without the quotes in Stata's command window to install the commands.
#Files
- gencrm.ado: primary command file
- gencrm_lf_n.ado: likelihood function for baseline model with no covariates
- gencrm_lf_c.ado: likelihood function for constrained model (parallel lines)
- gencrm_lf_f.ado: likelihood function for unconstrained model (no parallel lines)
- gencrm_lf_p.ado: likelihood function for proportionality constraint model
- gencrm_lf_cf.ado: likelihood function mix of constrained and free
- gencrm_lf_cp.ado: likelihood function mix of constrained and proportionality
- gencrm_lf_fp.ado: likelihood function mix of free and proportionality
- gencrm_lf_cfp.ado: likelihood function for general model
- gencrm_p.ado: placeholder command for predict
- gencrm.pkg: Stata package file
- stata.toc: Stata toc file