EconPapers    
Economics at your fingertips  
 

CMP: Stata module to implement conditional (recursive) mixed process estimator

David Malin Roodman ()

Statistical Software Components from Boston College Department of Economics

Abstract: cmp estimates multi-equation, recursive mixed process models. "Mixed process" means that different equations can have different kinds of dependent variables. The choices are: continuous (like OLS), tobit (left-, right-, or bi-censored), probit, and ordered probit. A dependent variable in one equation can appear on the right side of another equation. "Recursive" means, however, that cmp can only fit "recursive" models with clearly defined stages, not ones with simultaneous causation. A and B can be determinants of C and C a determinant of D--but D cannot be a determinant of A, B, or C. So cmp can fit many IV and SUR models, among others. "Conditional" means that the model can vary by observation. An equation can be dropped for observations for which it is not relevant--if, say, a worker retraining program is not offered in a city then the determinants of uptake cannot be modeled there. Or the type of dependent variable can vary by observation. cmp's modeling framework therefore embraces those of the official Stata commands probit, oprobit, ivprobit, biprobit, tobit, and ivtobit, in principle even regress, sureg, ivreg, as well as the user-written triprobit, mvprobit, bitobit, and mvtobit. It goes beyond them in offering far more flexibility in model construction. To take one arbitrary example, one could regress a continuous variable, on two endogenous variables, one binary and the other sometimes left-censored, instrumenting each with additional variables. In some cases, the gain is consistent estimation where it was difficult before. In other cases, the gain is just in efficiency. For example if y is continuous, x is a sometimes-left-censored determinant of y, and z is an instrument, then the effect of x on y can be consistently estimated with 2SLS (Kelejian 1971). However, a cmp estimate that uses the information that x is censored will be efficient, based as it is on a more accurate model. The routine runs faster under Stata 10, but will run under Stata 9.2 as well.

Language: Stata
Requires: Stata version 9.2 and package ghk2 (q.v.)
Keywords: conditional models; mixed process modules; probit; tobit; ivtobit; biprobit; multinomial probit; ordered probit; truncated regression (search for similar items in EconPapers)
Date: Written
Note: This module may be installed from within Stata by typing "ssc install cmp". Windows users should not attempt to download these files with a web browser.

Downloads: (external link)
http://fmwww.bc.edu/repec/bocode/c/cmp.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/c/cmp_p.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/c/cmp.hlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/c/cmp.mata program code (text/plain)
http://fmwww.bc.edu/repec/bocode/c/cmp_lf.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/c/cmp_d2.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/c/cmp_clear.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/l/lcmp.mlib Mata object library (application/x-stata)

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: http://EconPapers.repec.org/RePEc:boc:bocode:s456882

Ordering information: This software item can be ordered from
http://repec.org/docs/ssc.php

Access Statistics for this software item

More software in Statistical Software Components from Boston College Department of Economics
Address: Boston College, 140 Commonwealth Avenue, Chestnut Hill MA 02467 USA
Contact information at EDIRC.
Series data maintained by Christopher F Baum ().

 
Page updated 2009-11-22
Handle: RePEc:boc:bocode:s456882