There are stackexchange posts on this from purely methodological point of view (Testing whether the regression coefficient is significantly less than 1 (one-tailed t-test)) or from R (https://stats.stackexchange.com/questions/111559/test-model-coefficient-regression-slope-against-some-value). However, I couldn't find Stata example.
After running a regression, how can I test if the coefficient is significantly different from 1?