Hi all, I'm a new user to Stata. I have a dataset with a variable for different countries and years, and I wanted to generate a new variable for the variable's five-year running average for each country. Some countries have data for more years than others. I tried to "tset year" the data to potentially use tssmooth, but there were repeated time values in the sample. Any help is much appreciated!