I just came across an interesting analysis that reports between and within-group variance (of healthcare costs between hospitals). I've data that could do similar things, so I'd like to know if this doable in Stata 16.

Code:
With the hierarchical data structure
(births clustered within hospitals), each model partitioned
the total variance of cost into two components: ‘between-
hospital’ variance and ‘within-hospital’ variance.
https://obgyn.onlinelibrary.wiley.co...471-0528.15007

Thank you for sharing your comments.