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
Interpretation of result for cross sectional independence test - xtcd2Hi - I have received this result and with the negative CD value I am confused over its interpretatio…
Proportional sampling based on population mean, variance etc.Hello. I am curious if there is an easy way to select a proportional sample out oft a panel data th…
Help with a gravity model!Good morning, At the moment I am doing a gravity model for the trade in music. My problem is very s…
Data cleaning question for string variablesI had what I hope will be a simple data cleaning question. I'm importing some data and some individu…
How do I reshape my dataset with three identifiers (time, location, and index) when it's already wide?Hello Statalists, This is an air quality panel data and it looks like this: Array The variable names…
Subscribe to:
Post Comments (Atom)
0 Response to Control for age in Diff-in-diff regression
Post a Comment