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
Unbalanced Panel data xtlogit Hi all, I have unbalanced panel data from 2010-2017 of people who participated in a screening prog…
Generalized Difference-in-differences with two-way fixed effect modelDear researchers, I have used the following model: Code: xtreg GG i.Event##(c.centered_Age c.cente…
foreach rename loop keeps stopping after one loop due to variable no longer in varlistI am writing a foreach loop to iterate over each variable, use its label as the new variable name, a…
String variablesHi STATALIST, I have a string variable and detected ga68 out of it by: Code: gen ga68 = (strpos(…
Determining annual percent change in binary variableHi there, I was working with a large dataset and I am working with trends over time. I was trying t…
Subscribe to:
Post Comments (Atom)
0 Response to Heckman correction
Post a Comment