Within, between, and overall R-squared in linear two-level models Use twolevelr2 With STATA 19
https://ln.run/twolevelr2