Hi,

I restricted my wave sample from 1-10 to 9-10 and I was wondering how would i use the command bysort to create a covid variable. To show the difference between the level of wellbeing before (wave9) and after wave (10) using.


I would appreciate any clarifications as I do not have much knowledge of the bysort command.


Kind regards,

Iani