The latest version of cmp, now on SSC, adds the fractional probit model of Papke and Wooldridge (1996) as a model type. This is same model also implemented in isolation in Stata 14's -fracreg- command.
As usual, the purpose of cmp is not mimic other commands, but showing how it can do so is informative. In Stata 14, these give the same results:
You can also do bivariate fractional probits, IV fractional probits, etc.
Install with "ssc install cmp, replace". Comments welcome.
--David
As usual, the purpose of cmp is not mimic other commands, but showing how it can do so is informative. In Stata 14, these give the same results:
Code:
webuse 401k fracreg probit prate mrate ltotemp age i.sole margins, dydx(mrate) cmp setup cmp (prate = mrate ltotemp age i.sole), ind($cmp_frac) qui margins, dydx(mrate) predict(pr)
Install with "ssc install cmp, replace". Comments welcome.
--David
Comment