Hello,
I am supposed to use a difference and difference model to estimate the effect of mergers on the growth in R&D expenditures. I will be logging the R&D expenditures. I will also be using logSales as an independent variable. Then I need to follow the difference and difference model to create the interaction term between the treatment group and the firm type. The treatment in this case is a merger with a 1 used for each year when the firm merged. The firm type is a 1 for the firms that engaged in a merger and a 0 for the firms that did not merge during the time period of the study.
However, I am confused how to create the treatment variable.
My stata command comes out like this:
xtreg logR&D firmtype logSales
But I do not know how to make the Treatment variable for the treatment group. Then after that I need to make an interaction term between Treatment and firmtype.
Related Posts with Difference-in-difference and Treatment
xtabond2: interpretation of Arellano-Bond test using forward orthogonal deviationsI've been trying to understand the interpretation of the Arellano-Bond test when using FOD for syste…
Uneven length of x axis in graph combineHi, I am trying to combine 3 coefplots using graph combine in Stata 16. I have coefficient labels o…
Help!! Data cleaning, creating new variables with observations based on complicated conditionsPlease help me with cleaning this data: below is my data from excel file and I have 1000s of rows …
How to test whether the two variables are 2 standard deviation different from each other?Dear Stata experts, I have below comments from one referee for my paper, can someone guide me how t…
How to identify that random effect linear model is required over fixed effect linear model?I'm trying to predict a continuous variable using multiple linear regression model including various…
Subscribe to:
Post Comments (Atom)
0 Response to Difference-in-difference and Treatment
Post a Comment