Hello everyone. I am writing my thesis and I am not sure if what I am doing with DID on Stata is correct since I have a moderator.
I am looking at the effect of M&A deal on firm performance, with two different moderator effects that I am looking at differently: the effect of a cross-border acquisition and of the fact that the acquirer is a small firm. Therefore I have all these firm that made deals in 2015 and I am looking at the evolution of a profitability ratio from before (2012 2013 2014) til after (2015 2016 2017). I have a dummy variable for before and after treatment (DummyAfter), a dummy for whether the acquisition was cross border or not (CB) and one for whether the acquirer is small or not (S). I also have a dummy for treatment and control group (Completed=1 and Withdrawn =0)). My fixed effects are industry and year (grouped as "both").
I know the command for a normal DID to see the effect of M&A on the profitability ratio would be: xtreg profitabilityratio DummyCompleted DummyAfter, fe i(both).
How do I add respectively CB and S as moderators to the command? (it would be two different regressions, one with each moderator)
Any help would be much appreciated!
Related Posts with Moderators in DID regression
Do logs modify the correlation between two variables?Dear Statalists, I am applying logs to two variables: Code: gen In_Arg_X_Bra=ln(Arg_X_Bra+1) gen…
Generating a dummy variable if a household has a migrant or not.I have household survey on data including variables 'HouseholdID' containing an ID number unique to…
Bug in estout when using same estimate in two columnsIf the same estimate is shown in two separate columns, using the -indicate- option, only one column …
Split a numeric variableHi, I have a variable called "bslstart" in which the format is: 01 Jan 16 01 Dec 15 01 Sep 14 I w…
Bug in Mata's st_view() function with time-series operators?I experienced an unexpected behavior of Mata's st_view() function. In the following, I want to obtai…
Subscribe to:
Post Comments (Atom)
0 Response to Moderators in DID regression
Post a Comment