Hello,
is there a possibility to include an if condition in the Heckman correction?
I am currently using the Heckman command like this:
heckman lnhwage age health tenure female ///
select (unemployed = age health tenure female single) twostep
Now I would like to add an if condition for the first line of my command, if parttime == 1, so that only those who work part-time are taken into account. For the selection part I would then want to access all of them again, is there a possibility?
Thanks for your help!
Related Posts with Heckman correction
causal mediation analysisHi, when performing causal mediation analysis, how do I get the value of proportion effect mediated?…
Calculate difference of an outcome variable between timepointsHi, I have the following dataset in a long format with 6 records per patient_id corresponding to 3 …
Why do ginidesc command yield different Gini coefficients when combined with the "if" qualifier?Dear Statlist users, I am using Stata 14.1. I am trying to estimate wage inequality (by Gini coeff…
Forloop to import multiple .sav files not workingHello all, would appreciate an advise on how i can fix the following line of commands to import/read…
reshape wide variable to long within long datasetHi, I have a long dataset that has a wide variable in it (loc). Loc represents location of work per…
Subscribe to:
Post Comments (Atom)
0 Response to Heckman correction
Post a Comment