Is there any way in Stata 14 to measure the percentage of variance for a given IV.

I came across an analysis using MLWIN that reported "Neighbourhood factors accounted for 5.0% of the crude total variance in physical inactivity", so just wondering whether Stata can do that since there is a MLWIN package for Stata.
https://www.ncbi.nlm.nih.gov/pmc/art...v057p00023.pdf

Please let me know any direct or indirect way to do this. Thanks.