Hi,
I hope this message finds you well. please i need an advice and guidance regarding applying Heckman approach for panel study
This is description to my study variables
Treatment variable: HARD_FREEZE (dummy)
HARD_FREEZE is a binary treatment indicator equal to 1 in the firm’s hard-freeze year and 0 in all pre-freeze years. Firms that never hard-freeze are coded 0 in every year. Observations after the hard-freeze year are excluded (i.e., the sample includes only pre-freeze years and the freeze year). Outcome
Concern
I am concerned that HARD_FREEZE may be endogenous (self-selection), so I attempted a Heckman-style correction.
What I did (Heckman-style approach)
FUND_RATIO PLAN_SIZE i.year i.ff_12, vce(cluster id)
predict lefthat if e(sample), xb
gen mills = normalden(lefthat) / normal(lefthat) if e(sample)
reg CSR_DISC HARD_FREEZE CSO_PRESENCE HARD_FREEZEXCSO_PRESENCE SIZE LEV MB OCF SD_OCF ///
BOARD_SIZE GENDER_RATIO BOARD_IND SUS_SCORE SUS_COMM FUND_STATUS FUND_RATIO PLAN_SIZE ///
mills i.year i.ff_12, vce(cluster id)
Questions
I hope this message finds you well. please i need an advice and guidance regarding applying Heckman approach for panel study
This is description to my study variables
Treatment variable: HARD_FREEZE (dummy)
HARD_FREEZE is a binary treatment indicator equal to 1 in the firm’s hard-freeze year and 0 in all pre-freeze years. Firms that never hard-freeze are coded 0 in every year. Observations after the hard-freeze year are excluded (i.e., the sample includes only pre-freeze years and the freeze year). Outcome
- CSR_DISC (continuous)
- CSO_PRESENCE
- HARD_FREEZE × CSO_PRESENCE (interaction)
- Standard control variables
- Year and industry fixed effects (i.year and i.ff_12)
Concern
I am concerned that HARD_FREEZE may be endogenous (self-selection), so I attempted a Heckman-style correction.
What I did (Heckman-style approach)
- Estimated a Probit model for HARD_FREEZE
- Computed the inverse Mills ratio (mills) from the Probit linear prediction
- Included mills as an additional regressor in the CSR regression (estimated on all observations)
FUND_RATIO PLAN_SIZE i.year i.ff_12, vce(cluster id)
predict lefthat if e(sample), xb
gen mills = normalden(lefthat) / normal(lefthat) if e(sample)
reg CSR_DISC HARD_FREEZE CSO_PRESENCE HARD_FREEZEXCSO_PRESENCE SIZE LEV MB OCF SD_OCF ///
BOARD_SIZE GENDER_RATIO BOARD_IND SUS_SCORE SUS_COMM FUND_STATUS FUND_RATIO PLAN_SIZE ///
mills i.year i.ff_12, vce(cluster id)
Questions
- Is this a valid way to implement a Heckman correction for “self-selection into HARD_FREEZE” when CSR_DISC is observed for all firm-year observations in the analysis sample?
- In other words, is it appropriate to include the inverse Mills ratio from probit(HARD_FREEZE) in an OLS regression estimated on all observations?
HTML Code:
. asdoc probit HARD_FREEZE SIZE LEV MB OCF SD_OCF BOARD_SIZE GENDER_RATIO BOARD
> _IND FUND_STATUS FUND_RATIO PLAN_SIZE i.year i.ff_12 , robust cluster (id) nest repl
> ace drop(i.year i.ff_12 ) dec(4) tzok save(qqqqa)
Iteration 0: Log pseudolikelihood = -358.75999
Iteration 1: Log pseudolikelihood = -327.72275
Iteration 2: Log pseudolikelihood = -324.57221
Iteration 3: Log pseudolikelihood = -324.53113
Iteration 4: Log pseudolikelihood = -324.53103
Iteration 5: Log pseudolikelihood = -324.53103
Probit regression Number of obs = 3,900
Wald chi2(40) = 94.12
Prob > chi2 = 0.0000
Log pseudolikelihood = -324.53103 Pseudo R2 = 0.0954
(Std. err. adjusted for 282 clusters in id)
------------------------------------------------------------------------------
| Robust
HARD_FREEZE | Coefficient std. err. z P>|z| [95% conf. interval]
-------------+----------------------------------------------------------------
SIZE | -.1925695 .0740725 -2.60 0.009 -.3377488 -.0473902
LEV | -.0087306 .4015024 -0.02 0.983 -.7956607 .7781996
MB | .0002073 .0073871 0.03 0.978 -.0142711 .0146857
OCF | -3.458301 1.245414 -2.78 0.005 -5.899267 -1.017335
SD_OCF | 3.875817 2.853238 1.36 0.174 -1.716427 9.46806
BOARD_SIZE | -.0004025 .0297384 -0.01 0.989 -.0586887 .0578837
GENDER_RATIO | .3799744 .6574852 0.58 0.563 -.9086729 1.668622
BOARD_IND | .2277899 .6650473 0.34 0.732 -1.075679 1.531259
FUND_STATUS | -4.173805 2.029593 -2.06 0.040 -8.151735 -.1958759
FUND_RATIO | -.0761674 .3856172 -0.20 0.843 -.8319632 .6796285
PLAN_SIZE | .0687444 .0637423 1.08 0.281 -.0561882 .1936771
|
year |
2005 | -.2409666 .4322112 -0.56 0.577 -1.088085 .6061518
2006 | .0026222 .381609 0.01 0.995 -.7453177 .7505622
2007 | -.220559 .4408242 -0.50 0.617 -1.084559 .6434405
2008 | .4790183 .321579 1.49 0.136 -.1512649 1.109302
2009 | .6453316 .312803 2.06 0.039 .032249 1.258414
2010 | .4765423 .325337 1.46 0.143 -.1611064 1.114191
2011 | .2260907 .3614312 0.63 0.532 -.4823015 .934483
2012 | .361 .3465188 1.04 0.298 -.3181643 1.040164
2013 | .4685907 .3371055 1.39 0.165 -.192124 1.129305
2014 | .2758176 .3544123 0.78 0.436 -.4188177 .9704528
2015 | .438984 .3475913 1.26 0.207 -.2422823 1.12025
2016 | .3682024 .3422007 1.08 0.282 -.3024986 1.038903
2017 | .3257874 .3579784 0.91 0.363 -.3758373 1.027412
2018 | .7495029 .3326064 2.25 0.024 .0976063 1.401399
2019 | .5081082 .3590654 1.42 0.157 -.1956471 1.211864
2020 | .7474426 .3516579 2.13 0.034 .0582058 1.436679
2021 | .3653477 .4157055 0.88 0.379 -.4494201 1.180115
2022 | .0776221 .4568847 0.17 0.865 -.8178554 .9730996
|
ff_12 |
2 | .0701796 .2884724 0.24 0.808 -.495216 .6355752
3 | -.2088294 .2146219 -0.97 0.331 -.6294806 .2118218
4 | -.3456759 .3760136 -0.92 0.358 -1.082649 .3912973
5 | -.3439714 .2487806 -1.38 0.167 -.8315724 .1436295
6 | -.1551492 .2504892 -0.62 0.536 -.6460991 .3358007
7 | .1184574 .3654636 0.32 0.746 -.5978381 .8347529
8 | -.406023 .2438484 -1.67 0.096 -.883957 .0719111
9 | .4415868 .2073734 2.13 0.033 .0351424 .8480312
10 | -.0921214 .2570592 -0.36 0.720 -.5959483 .4117054
11 | .4643857 .2316409 2.00 0.045 .0103778 .9183935
12 | -.3317513 .2383857 -1.39 0.164 -.7989788 .1354762
|
_cons | -1.089957 .7413996 -1.47 0.142 -2.543073 .3631599
------------------------------------------------------------------------------
Click to Open File: qqqqa.doc
.
. predict lefthat, xb // Get the linear prediction
(4681 missing values generated)
. gen mills = normalden(lefthat) / normal(lefthat) // Generate the inverse Mill's ratio
(4,681 missing values generated)
.
.
. asdoc reg CSR_DISC HARD_FREEZE CSO_PRESENCE HARD_FREEZEXCSO_PRESENCE SIZE LEV MB OCF
> SD_OCF BOARD_SIZE GENDER_RATIO BOARD_IND SUS_SCORE SUS_COMM FUND_STATUS FUND_RATIO PLAN_
> SIZE mills i.year i.ff_12 , robust cluster (id) nest replace drop(i.year i.ff_12 ) dec(4
> ) tzok save(qqqkkq)
Linear regression Number of obs = 3,210
F(45, 265) = 82.22
Prob > F = 0.0000
R-squared = 0.7328
Root MSE = 9.3367
(Std. err. adjusted for 266 clusters in id)
------------------------------------------------------------------------------------------
| Robust
CSR_DISC | Coefficient std. err. t P>|t| [95% conf. interval]
-------------------------+----------------------------------------------------------------
HARD_FREEZE | 6.515599 2.132253 3.06 0.002 2.317286 10.71391
CSO_PRESENCE | 4.939757 1.003266 4.92 0.000 2.96437 6.915144
HARD_FREEZEXCSO_PRESENCE | 11.49455 3.826643 3.00 0.003 3.960053 19.02904
SIZE | 4.09229 5.714213 0.72 0.475 -7.158747 15.34333
LEV | 2.102381 3.312074 0.63 0.526 -4.418947 8.62371
MB | -.0699361 .0285242 -2.45 0.015 -.126099 -.0137732
OCF | 96.87772 104.7855 0.92 0.356 -109.4404 303.1958
SD_OCF | -79.18178 117.9957 -0.67 0.503 -311.5102 153.1466
BOARD_SIZE | .3082756 .1879625 1.64 0.102 -.0618143 .6783656
GENDER_RATIO | -7.006496 12.48325 -0.56 0.575 -31.58548 17.57248
BOARD_IND | -7.622757 8.28218 -0.92 0.358 -23.93001 8.684493
SUS_SCORE | .4262834 .0276078 15.44 0.000 .3719249 .4806419
SUS_COMM | 2.094647 .9486439 2.21 0.028 .2268087 3.962485
FUND_STATUS | 91.43655 127.5723 0.72 0.474 -159.7477 342.6208
FUND_RATIO | .0185649 3.531582 0.01 0.996 -6.934966 6.972096
PLAN_SIZE | -1.076344 2.037312 -0.53 0.598 -5.087722 2.935033
mills | -25.36645 34.17336 -0.74 0.459 -92.65231 41.91941
|
year |
2006 | -4.348371 7.819994 -0.56 0.579 -19.7456 11.04886
2007 | 1.74697 1.767967 0.99 0.324 -1.73408 5.228021
2008 | -15.04875 22.58033 -0.67 0.506 -59.50843 29.41094
2009 | -18.1667 27.63113 -0.66 0.511 -72.5712 36.23779
2010 | -13.48892 22.55056 -0.60 0.550 -57.89 30.91216
2011 | -7.088641 14.95092 -0.47 0.636 -36.52634 22.34906
2012 | -8.790421 19.06939 -0.46 0.645 -46.33721 28.75637
2013 | -9.726865 22.34771 -0.44 0.664 -53.72853 34.27479
2014 | -3.551944 16.40571 -0.22 0.829 -35.85407 28.75019
2015 | -3.941827 21.39897 -0.18 0.854 -46.07546 38.19181
2016 | -1.287779 19.25275 -0.07 0.947 -39.19561 36.62005
2017 | 1.712123 17.94974 0.10 0.924 -33.63014 37.05438
2018 | -7.853679 30.77416 -0.26 0.799 -68.44666 52.7393
2019 | -.8836341 23.43472 -0.04 0.970 -47.02558 45.25831
2020 | -4.965544 30.68252 -0.16 0.872 -65.37809 55.447
2021 | 4.183326 19.18272 0.22 0.828 -33.58661 41.95326
2022 | 11.08698 10.25616 1.08 0.281 -9.106953 31.28091
|
ff_12 |
2 | -5.538256 3.405261 -1.63 0.105 -12.24307 1.166553
3 | 4.424976 6.692888 0.66 0.509 -8.753029 17.60298
4 | 16.15874 11.58751 1.39 0.164 -6.65656 38.97403
5 | 14.27102 10.57636 1.35 0.178 -6.553377 35.09542
6 | 4.717022 5.013485 0.94 0.348 -5.15431 14.58835
7 | -.2381373 5.372516 -0.04 0.965 -10.81639 10.34011
8 | 17.25473 12.5777 1.37 0.171 -7.510207 42.01967
9 | -20.46623 13.74946 -1.49 0.138 -47.53831 6.605856
10 | 4.638173 3.763951 1.23 0.219 -2.772882 12.04923
11 | -16.87046 13.97701 -1.21 0.229 -44.39058 10.64967
12 | 9.30207 10.47078 0.89 0.375 -11.31443 29.91857
|
_cons | 32.15166 62.6082 0.51 0.608 -91.12116 155.4245
------------------------------------------------------------------------------------------
Click to Open File: qqqkkq.doc
.

Comment