Hi experts and researchers,

I use panel data and need to divide the sample into two using Stata.


How can I divide the sample in two, above and below median inflation observations, the median inflation rate calculated from the full sample is 8.3%

Thank you

Badiah