I have run regression on panel data with country fixed effect. Breusch-pagan test for time
fixed effects shows that I do not need year fixed effect for my regression. The code for my regression is give below:
fe <- plm(unemployment ~ fdi + investment + inflation + gdpgrowth + school + trade + naturalresources, data=westa, model ="within")
However, I want to control for "country-specific time trends". Unfortunately, I am new to "r" and I dont know the code required for the country-specific time trend. Which code can I use?
Thank you very much in advance.