Hello,

I am working on accounting and financial data. And I need to translate the following equation to Stata: (1+k), where k is the slope coefficient from a regression of variable 1 on variable 2. Meaning I want to store the slope coefficient from a regression of variable 1 on variable 2 in a new variable.

Thank you in advance for any help!