Skip to content

Interpreting coefficient in selection and outcome Heckman models in sampleSelection

4 messages · Mark Bulling, Arne Henningsen, Ott-Siim Toomet

#
Hi Mark!

On Sun, Jan 3, 2010 at 9:08 PM, Mark Bulling
<mark.bulling at googlemail.com> wrote:
I don't know a function/method that does this in R. So if you want to
implement this in R, I suggest that you add a "marginalEffects" (or
similar) method for objects of class "selection" to the
"sampleSelection" package. You can get (write) access to the source
code of this package on R-Forge [1]. Please let me (and Ott) know if
you need any assistance.

[1] http://r-forge.r-project.org/projects/sampleselection/

/Arne
#
Hi Mark,

why do you need that?  If your task is to estimate how much your y changes
if x change, why not use simple OLS? (Well, right, you should be able to
use sampleSelection as well).

It shouldn't probably be hard to compute it -- it is just OLS marginal
effect + som kind of derivative of Inverse Mills Ratio.  A little more
tricky question is, what to do with dummies and factor variables.

As Arne told, we are open to incorporate your changes!

Best,
Ott