There are examples of analyses using Stata (14) that calculates proportion of one variable by adjusting for another (e.g. age-adjusted prevalence of diabetes), but this option is nowhere to be found within Stata. Is there any user written command for this? Array