Good day, Statalist,

Please, I am carrying out an analysis for 5 waves of a survey data. Hence I would want to replicate the commands for the different waves on my appended dataset which would require looping.
Also, I want to obtain the result for a particular command for the different quintiles in the waves.

Please, I need help on how best to go about it.

Thanks