Dear all,

I have been strugling with autocorrealtion test for my STATA project.

My study contains 20 countries and 21 years.

I have tried variaties of commands I have found on internet such as xtserial or sort id and t however I am not able to complete the test correctly.

Could you please advice how can I implement and autocorrelation test to my project?

Thanks in advance,
Sikinti Yok