In this article, we consider two recently proposed semiparametric estimators for distribution-free binary response models under a conditional median restriction. We show that these estimators can be implemented in Stata by using the nl command through simple modifications to the nonlinear least-squares probit criterion function. We then introduce dfbr, a new Stata command that implements these estimators, and provide several examples of its usage. Although it is straightforward to carry out the estimation with nl, the dfbr implementation uses Mata for improved performance and robustness.
BlevinsJ. R., and KhanS.2013. Local NLLS estimation of semiparametric binary choice models. Econometrics Journal16: 135–160.
2.
HorowitzJ. L.1992. A smoothed maximum score estimator for the binary response model. Econometrica60: 505–531.
3.
JannB.2005. moremata: Stata module (Mata) to provide various functions. Statistical Software Components S455001, Department of Economics, Boston College.http://ideas.repec.org/c/boc/bocode/s455001.html.
4.
KhanS.2013. Distribution free estimation of heteroskedastic binary response models using probit/logit criterion functions. Journal of Econometrics172: 168–182.
5.
ManskiC.1975. Maximum score estimation of the stochastic utility model of choice. Journal of Econometrics3: 205–228.
6.
ManskiC. F.1985. Semiparametric analysis of discrete response: Asymptotic properties of the maximum score estimator. Journal of Econometrics27: 313–333.
7.
YatchewA., and GrilichesZ.1985. Specification error in probit models. Review of Economics and Statistics67: 134–139.