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
How can I see the coefficients for the models used in gformula?Hello! I am using gformula for a mediation analysis, when I add an extra variable, the indirect eff…
Increasing inner graph region to allow longer categorical x axis labels without overlapping – catplot with splitvallabelsDear Statalist, I am plotting a horizontal bar chart using catplot. Each categorical x axis label is…
Stata Dialogue ProgrammingI was searching the documents and internet sources for an example on using radio buttons in dialogue…
Generating a dummy variable for observations within anotherHi everyone, I am having some problems in generating a variable matching two observations within the…
Matching: Removing reversed causality?Hi everybody, I've read that endogeneity has many faces: One is omitted variable bias, another is m…
Subscribe to:
Post Comments (Atom)
0 Response to Difference-in-difference and Treatment
Post a Comment