line y x2 x3 x4 x5 year y x2 x3 x4 x5 year绘制于一张图中,并将year作为横轴

gen lny=log(y) 计算log(y)并将其命名为lny

以对数计算将使结果更加平稳

reg y x2 x3 x4 x5 对y与 x2 x3 x4 x5进行回归,默认y为因变量,其余为自变量