Hello,
I would like to regress the following equation: DV_{i,c,j,t} = a_i+α_c+α_j+a_t+beta * (IV_i*Dummy_t)+e_{i,c,j,t},
where a_i absorbs certain risk characteristics for industry i, a_c for company characteristics, a_j for country characteristics, and a_t take into account the common trends over time. indicates the relationship between the IV across industries and the Dummy Variable over time and e_{i,c,j,t} will be the error term.
I have observations for the DV, IV, Dummy Variable, and industries (different ISIC codes). For companies and countries, I also have a lot of observations.
This is what I have got so far but I am not sure how to correctly account for the companies, industries, and countries:
tsset Date, daily
reg DV c.IV#i.Dummy
How do I account for the industries, companies, countries with different constants "a"?
Related Posts with Regression over time, industry, company, country, time
Pasting Stata codes into Microsoft WordHi everyone, I am trying to report my Stata code in the appendix of a manuscript which is written in…
Graph parallel trend for DID with multiple periods and csdidHi everyone, I am trying to do DID with multiple periods. My dataset is a panel data (from 1960 to…
convert a matrix to a column vector, and then output it to Excel fileHello, I need your help on matrix and Excel in Stata. I have a matrix m and would like to stack its …
Problem with localsMinor but annoying problem with locals. I have a long variable list that I would like to add to a fi…
Row totals for after a specific event occursHello! I'm certain there is a simple answer to this, so please feel free to direct me to the resour…
Subscribe to:
Post Comments (Atom)
0 Response to Regression over time, industry, company, country, time
Post a Comment