Dear all,
Can anyone guide me will xtqreg command work with by sort command .When I was running the command I was getting xtqreg may not be combined with by
is there any way can use bysort command with xtqreg
Stata version I am using 16.0


I really appreciate your suggestions

Best regards