Hi,
I´m doing a difference-in-difference regression on the causal relationship between income tax and income. In that regard, I want to control for age, but I'm not sure what is the correct way.
Age in my dataset goes from 20 to 120, rounded up to the nearest 10 years.
I have tried three different ways and they all give me almost the same result. I'm not quite sure how they work differently from each other. Do you recommend some of them? Or, have any other suggestions?
The three ways I have tried is:
1. i.decile_age#c.year <-- created decile of age
- this omitted 10. decile because of collinearity
2. i.age <-- just used age as it is in the dataset
- this omitted 80, 90, 100, 110, and 120 because of collinearity
3. i.decile_age
- This one omitted decile 3, 4, 6, 9, 10 because of collinearity
I have attached the whole regression code below.
Thank you so much in advance!
Best,
Anders
Related Posts with Control for age in Diff-in-diff regression
egenmore: filterMany thanks to Nick Cox for writing egenmore. Minor comment. I have two series, Y and X, from years …
testing the economic significance of an interaction term of two categorical variablesHello everyone, I ran the following regression : xi: areg Y X1 X2 X1_X2 $x i.year, absorb(firm_id)…
Should I spend more time on improve my programming ability?I am a doctoral student.My major is applied econonmics.My main job is to analyze agricultural proble…
classification of firms into groups based on some criterion Code: input str1 firm int year float(profits) "a" 2000 . "a" 2001 . "a" 2002 . "…
date turns into missing values when I generate new variableHi All, I have date variable in this format (M/D/Y). I want to change it to a numeric format like 1…
Subscribe to:
Post Comments (Atom)
0 Response to Control for age in Diff-in-diff regression
Post a Comment