I have a panel data with 115 countries and 20 years. I did unit root test in all my independent variables and the dependent. From my results, I have the presence of unit root in some of the independent and the dependent. According to the literature that I'm following, I need to add a deterministic trend to my model.
This is my original regression:
Code:
xi:reg reconsumption lngdppppcte2011lag1 manufacturinglag1 lnoilpricelag1 energyimportslag1 leftlag4 i.country, robust
I thought that adding
Code:
i.year
Thanks in advance!
0 Response to How to Add Deterministic Trend to Panel Data?
Post a Comment