Statalist The Stata Listserver

[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: how to cluster with ivprobit with two-step option?

From   "Schaffer, Mark E" <>
To   <>
Subject   st: RE: how to cluster with ivprobit with two-step option?
Date   Mon, 21 Aug 2006 11:22:30 +0100


> -----Original Message-----
> From: 
> [] On Behalf Of 
> Jennifer Leavy
> Sent: Monday, August 21, 2006 11:00 AM
> To:
> 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
> *
> *   For searches and help try:
> *
> *
> *

*   For searches and help try:

© Copyright 1996–2017 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index