Statalist The Stata Listserver

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

st: Re: Question re Heckman

From   "R.E. De Hoyos" <>
To   <>
Subject   st: Re: Question re Heckman
Date   Fri, 7 Jul 2006 18:47:58 -0400


Yes they do. To eliminate them, you can either create a vector of coefficients without the Mills' parameter:

After heckman, type
mat B = e(b)
scalar df = (e(df_m)+)
mat coef = b(1,1..df)
mat score nomills = coef

Alternatively you can compute the Mills with option -mills-, predict xb, use the parameter of the Mills' ratio to multiply it by the value of the Mills and finally subtract it from the xb prediction.

I hope this helps,
Rafael E. De Hoyos
Faculty of Economics
University of Cambridge

----- Original Message ----- From: "Adam Przeworski" <>
To: <>
Sent: Friday, July 07, 2006 10:10 AM
Subject: st: Question re Heckman

Does anyone know whether HECKMAN predict, xb included the values of the
Mill ratio in the predicted values? If yes, how to eliminate it?

Adam Przeworski
Carroll and Milton Petrie Professor
Department of Politics
New York University
726 Broadway, Room 722
New York, NY 10003
*   For searches and help try:

*   For searches and help try:

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