---------------------------------------------------------------------------------- name: log: C:\Users\LabProf01\Desktop\Untitled.log log type: text opened on: 24 May 2023, 17:09:05 . gen rosneg=1 if ros<0 variable rosneg already defined r(110); . replace rosneg=0 if rosneg==. (0 real changes made) . reg lsalary roe lsales rosneg Source | SS df MS Number of obs = 209 -------------+---------------------------------- F(3, 205) = 28.81 Model | 19.7902019 3 6.59673397 Prob > F = 0.0000 Residual | 46.9319613 205 .228936397 R-squared = 0.2966 -------------+---------------------------------- Adj R-squared = 0.2863 Total | 66.7221632 208 .320779631 Root MSE = .47847 ------------------------------------------------------------------------------ lsalary | Coef. Std. Err. t P>|t| [95% Conf. Interval] -------------+---------------------------------------------------------------- roe | .0166571 .0039681 4.20 0.000 .0088336 .0244806 lsales | .2883868 .0336172 8.58 0.000 .222107 .3546665 rosneg | -.225675 .109338 -2.06 0.040 -.4412462 -.0101038 _cons | 4.297602 .2932526 14.65 0.000 3.719425 4.87578 ------------------------------------------------------------------------------ . reg lsalary roe lsales ros Source | SS df MS Number of obs = 209 -------------+---------------------------------- F(3, 205) = 26.93 Model | 18.8613439 3 6.28711463 Prob > F = 0.0000 Residual | 47.8608193 205 .233467411 R-squared = 0.2827 -------------+---------------------------------- Adj R-squared = 0.2722 Total | 66.7221632 208 .320779631 Root MSE = .48318 ------------------------------------------------------------------------------ lsalary | Coef. Std. Err. t P>|t| [95% Conf. Interval] -------------+---------------------------------------------------------------- roe | .0174168 .0040923 4.26 0.000 .0093484 .0254852 lsales | .2803149 .03532 7.94 0.000 .2106778 .349952 ros | .0002417 .0005418 0.45 0.656 -.0008266 .0013099 _cons | 4.311712 .3154329 13.67 0.000 3.689804 4.933621 ------------------------------------------------------------------------------ . reg lsalary roe lsales rosneg Source | SS df MS Number of obs = 209 -------------+---------------------------------- F(3, 205) = 28.81 Model | 19.7902019 3 6.59673397 Prob > F = 0.0000 Residual | 46.9319613 205 .228936397 R-squared = 0.2966 -------------+---------------------------------- Adj R-squared = 0.2863 Total | 66.7221632 208 .320779631 Root MSE = .47847 ------------------------------------------------------------------------------ lsalary | Coef. Std. Err. t P>|t| [95% Conf. Interval] -------------+---------------------------------------------------------------- roe | .0166571 .0039681 4.20 0.000 .0088336 .0244806 lsales | .2883868 .0336172 8.58 0.000 .222107 .3546665 rosneg | -.225675 .109338 -2.06 0.040 -.4412462 -.0101038 _cons | 4.297602 .2932526 14.65 0.000 3.719425 4.87578 ------------------------------------------------------------------------------ . log close name: log: C:\Users\LabProf01\Desktop\Untitled.log log type: text closed on: 24 May 2023, 17:09:44 ----------------------------------------------------------------------------------