2.
. reg price weight
Source SS df MS Number of obs = 74
F(1, 72) = 29.42
Model 184233937 1 184233937 Prob > F = 0.0000
Residual 450831459 72 6261548.04 R-squared = 0.2901
Adj R-squared = 0.2802
Total 635065396 73 8699525.97 Root MSE = 2502.3
price Coefficient Std. err. t P>|t| [95% conf. interval]
weight 2.044063 .3768341 5.42 0.000 1.292857 2.795268
_cons -6.707353 1174.43 -0.01 0.995 -2347.89 2334.475
. regress price mpg weight, beta
Source SS df MS Number of obs = 74
F(2, 71) = 14.74
Model 186321280 2 93160639.9 Prob > F = 0.0000
Residual 448744116 71 6320339.67 R-squared = 0.2934
Adj R-squared = 0.2735
Total 635065396 73 8699525.97 Root MSE = 2514
price Coefficient Std. err. t P>|t| Beta
mpg -49.51222 86.15604 -0.57 0.567 -.0971193
weight 1.746559 .6413538 2.72 0.008 .4602192
_cons 1946.069 3597.05 0.54 0.590 .
2.1
. reg y x
Source SS df MS Number of obs = 12
F(1, 10) = 41.09
Model 475108.808 1 475108.808 Prob > F = 0.0001
Residual 115639.192 10 11563.9192 R-squared = 0.8042
Adj R-squared = 0.7847
Total 590748 11 53704.3636 Root MSE = 107.54
y Coefficient Std. err. t P>|t| [95% conf. interval]
x 6.16512 .9618282 6.41 0.000 4.022033 8.308207
_cons 667.0205 120.4502 5.54 0.000 398.6407 935.4002
2.2.
. reg price total_area
Source SS df MS Number of obs = 651
F(1, 649) = 444.87
Model 4.0990e+09 1 4.0990e+09 Prob > F = 0.0000
Residual 5.9799e+09 649 9213997.42 R-squared = 0.4067
Adj R-squared = 0.4058
Total 1.0079e+10 650 15505967.7 Root MSE = 3035.5
price Coefficient Std. err. t P>|t| [95% conf. interval]
total_area 35.94554 1.704239 21.09 0.000 32.59905 39.29203
_cons -657.5051 218.5651 -3.01 0.003 -1086.685 -228.3251
2.3
. reg price total_area
Source SS df MS Number of obs = 651
F(1, 649) = 444.87
Model 4.0990e+09 1 4.0990e+09 Prob > F = 0.0000
Residual 5.9799e+09 649 9213997.42 R-squared = 0.4067
Adj R-squared = 0.4058
Total 1.0079e+10 650 15505967.7 Root MSE = 3035.5
price Coefficient Std. err. t P>|t| [95% conf. interval]
total_area 35.94554 1.704239 21.09 0.000 32.59905 39.29203
_cons -657.5051 218.5651 -3.01 0.003 -1086.685 -228.3251