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
Looping over levelsof 4 categorical numbered variablesHello, I have a dataset with approximately 20,000 observations. 4 variables of current interest are…
Betta coefficient changingDear all as you can see below the beta coefficients if leasehold change when adding a variable. How …
putexcelHi everyone, I am trying to export the output of the below command into excel such that nonnative, y…
Computing predicted values and confidence intervals from ologit modelHi all, I have a dataset with information on employees from a firm. The dependent variable is “Prom…
Running regressions in loop and storing resultsHello! The example of my data is provided below. My goal is to run a series of simple regressions f…
Subscribe to:
Post Comments (Atom)
0 Response to Heckman correction
Post a Comment