Dear Stalisters,
Kindly, does anyone have the stata syntax for running endogenous switching regression (ESR) with panel data? The movestay command does not work with panel.

Your response is greatly appreciated!

Thank you,
Naaj