Dear All,
I have micro data at firm level.
I am looking to the impact of migration on firm-level productivity. I am just wondering what's the intuition behind modeling and trying to quantify the impact based on Case 1 and case 2.
When should I add treatment as a seperate regressor?
Many thanks in advance,
Nazlı
***Post Treatment Period:
gen Time=1 if year>2002
replace Time=0 if year<2003
**Interaction term:
gen TT=Time*Treatment
Case 1:
reg lnlp Treatment TT i.year
reg lnlp TT i.year
Case 2:
reg lnlp Treatment TT i.year labourforecgrowth(city level)
reg lnlp TT i.year labourforecgrowth(city level)
Related Posts with Deciding on difference in difference specification
Making balanced panel by dropping observation based on a certain variableI want to make a balanced panel based on my ln_wage outcome variable. In my data most of data has 22…
How can we set Stata so that potential commands would pop up downward whenever we type in a string or word?Hey colleagues, Today I was asked a question by a student of my intro. stat. using Stata class. Ple…
keep ifHi, I want to use " keep if" to keep a subset of observations in my dataset, but I get an error: Typ…
Saving matrices of resultsHello all, I wonder if someone could help me. I'm using this code to save the results from quantile …
IF statement using a local string variableI have a code that looks like the below (minimum working example). A loop that loops through 2 scena…
Subscribe to:
Post Comments (Atom)
0 Response to Deciding on difference in difference specification
Post a Comment