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
Logic for using matched sample versus unmatched sampleHi all, I am stuck on a problem of when to use a matched versus unmatched sample. I have a list of …
Create categorical variable*hi! new to stata/in a stats class... i have a dataset that has individual race dummy variables. Is t…
no observations error event studyDear Stata community, I'm trying to run a loop to generate the normal returns for my event study, h…
tobit regression with collinearityHi i am running a tobit regresison for data across 2 years 2007-2008: My variables include 10 log pr…
GMM estimation inside a do loop with foreachDear Friends, I am trying to use GMM to estimate a model that is nonlinear in its parameters. The …
Subscribe to:
Post Comments (Atom)
0 Response to Control for age in Diff-in-diff regression
Post a Comment