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
Making sure that histogram bin has more than 5 observations.I am working on a server with data on individuals, and there are very strict rules on how data shoul…
_mi_m & _mi_id not generatedHi All Below is my code for running multiple imputation on a longitudinal dataset in the wide forma…
Use Asrol and natural Log.Hi, I asked this question yesterday but it was not mentioned in the title so I followed the advice …
Merging panel dataHi there, I have panel data with each survey providing multiple STATA datasets from that sweep. Eac…
Combining plots using qchiHi, I've generated two variables, let's call them y1 and y2, and I want to generate a quantile-quan…
Subscribe to:
Post Comments (Atom)
0 Response to Control for age in Diff-in-diff regression
Post a Comment