I need to perform an iv regression using ivreg2 an i have multiple interaction terms. I need to instrument the esg score with president congress and state_government. Further I need to implement an interaction term between the instrumented esg and advertising
this is my code
Code:
ivreg2 firm_beta_w (esg_single c.esg_single#c.advertising_lag1 = president congress state_government c.president#c.advertising_lag1 c.congress#c.advertising_lag1 c.state_government#c.advertising_lag1) diversification_lag1 RnD_lag1 advertising_lag1 leverage_lag1 capex_lag1 cash_lag1 size_lag1 earnings_variability_lag1 state_tax_lag1 i.industry_key i.year, cluster (company_key year) first
Can anyone give me some advice?
Appreciate it
Thanks, Patrick
0 Response to IV Regression with multiple instruments
Post a Comment