[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: RE: RE: how to cluster with ivprobit with two-step option?
> -----Original Message-----
> From: firstname.lastname@example.org
> [mailto:email@example.com] On Behalf Of
> Jennifer Leavy
> Sent: Monday, August 21, 2006 2:25 PM
> To: firstname.lastname@example.org
> Subject: st: RE: how to cluster with ivprobit with two-step option?
> Dear Mark
> I am trying to model the marketing decisions of smallholder
> farmers, not all of whom sell their crops. So I start with a
> heckman selection model with a probit in the first stage,
> i.e. dependent variable is whether or not that person sells
> their crops, and in the second stage the outcome equation has
> as the dependent variable how much is sold, given that the
> person does actually sell. So that takes care of the sample
> selection bias. There is also potential endogeneity in that
> some of the regressors are likely to be endogenous. So i need
> to incorporate instrumental variables in both the selection
> ('first stage') and outcome ('second stage') equations. So I
> am referring to stages in the heckman selection model. In
> fact, as you say, each of those stages has two stages.
> I hope I make sense!
> But your comment about what the cluster option doessolves my
> problem, I think - I can forget about using cluster in the
> first stage and use the two-step option rather than MLE, then
> take the inverse mills ratio from this for the second stage
> of the heckman?
The outline of your model is:
1a. Eqn(s) for endogenous regressors in selection eqn.
1b. Selection equation, explicitly modelled with endogenous regressors.
2a. Eqn(s) for endogenous regressors in outcome eqn.
2b. Outcome eqn suffers from selection bias (2a) and endogeneity bias
If the equation of interest is the outcome equation of the selection
model, it isn't clear that you need to estimate explicitly the selection
equation explicitly, i.e., 1a and 1b. In other words, you're talking in
terms of estimating a system of equations, but you may only need to
worry about just the outcome equation. If that's the case, then, for
example, the excluded instruments you were thinking of using in (1a) and
(1b) to instrument for the endogenous regressors in the selection
equation could be used directly as the exclusion restrictions in the
Heckman-type estimation in (2b). Or, put another way, the probit first
stage in the selection estimation can be a reduced form estimation with
just the exogenous regressors.
Prof. Mark E. Schaffer
Centre for Economic Reform and Transformation
Department of Economics
School of Management & Languages
Edinburgh EH14 4AS UK
> > -----Original Message-----
> > From: email@example.com
> > [mailto:firstname.lastname@example.org] On Behalf Of Jennifer
> > Leavy
> > Sent: Monday, August 21, 2006 11:00 AM
> > To: email@example.com
> > Subject: st: how to cluster with ivprobit with two-step option?
> > Dear all
> > I am trying to run a heckman selection model with potentially
> > endogenous regressors in both the selection and outcome
> equations. I
> > used ivprobit in the first stage, and need to use the
> cluster option
> > because my data are from a household survey and some of the
> > respondents come from the same household. This means I
> cannot use the
> > twostep option with ivprobit as cluster is not allowed. But
> as I have
> > more than one potentially endogenous regressor and
> therefore several
> > instruments
> Can you say more precisely what the structure of your model
> is? I'm a little confused by using "ivprobit in the first
> stage". ivprobit with the twostep option does itself have
> its own first stage. Plus the cluster option doesn't change
> coefficient estimates, only the SEs. If you are using
> ivprobit in a first stage, then you wouldn't need the SEs.
> ... Which is why I'm a little confused.
> Prof. Mark E. Schaffer
> Centre for Economic Reform and Transformation Department of
> Economics School of Management & Languages Heriot-Watt
> University Edinburgh EH14 4AS UK
> 44-131-451-3494 direct
> 44-131-451-3296 fax
> > I find that the model is not converging with the MLE
> default - I have
> > been pressing break after a few thousand iterations. I've
> been unable
> > to find a user-written programme that allows the cluster
> option with
> > twostep. I would very much appreciate any suggestions as to
> how I can
> > get round this problem (I'm using STATA 9), for example, would I be
> > able to alter the code in the ivprob programme to allow me
> to do this?
> > Or is there a statistical reason why it's not already built
> in to the
> > ivprobit, twostep com mand?
> > Many thanks
> > Jennifer
> This message is for the addressee only and may contain
> privileged or confidential information. If you have received
> it in error, please notify the sender immediately and delete
> the original. Any views or opinions expressed are solely
> those of the author and do not necessarily represent those of IDS.
> Institute of Development Studies
> at the University of Sussex, Brighton BN1 9RE
> Tel: +44 (0)1273 606261; Fax: +44 (0)1273 621202 IDS, a
> charitable company limited by guarantee:
> Registered Charity No. 306371; Registered in England 877338;
> VAT No. GB 350 899914
> * For searches and help try:
> * http://www.stata.com/support/faqs/res/findit.html
> * http://www.stata.com/support/statalist/faq
> * http://www.ats.ucla.edu/stat/stata/
* For searches and help try: