4.5.4. statsmodels.iolib.stata_summary_examplesΒΆ

. regress totemp gnpdefl gnp unemp armed pop year

Source | SS df MS Number of obs = 16
————-+—————————— F( 6, 9) = 330.29
Model | 184172402 6 30695400.3 Prob > F = 0.0000

Residual | 836424.129 9 92936.0144 R-squared = 0.9955

————-+—————————— Adj R-squared = 0.9925
Total | 185008826 15 12333921.7 Root MSE = 304.85
gnpdefl | 15.06167 84.91486 0.18 0.863 -177.0291 207.1524
gnp | -.0358191 .033491 -1.07 0.313 -.111581 .0399428

unemp | -2.020229 .4883995 -4.14 0.003 -3.125065 -.9153928 armed | -1.033227 .2142741 -4.82 0.001 -1.517948 -.5485049

pop | -.0511045 .2260731 -0.23 0.826 -.5625173 .4603083

year | 1829.151 455.4785 4.02 0.003 798.7873 2859.515

_cons | -3482258 890420.3 -3.91 0.004 -5496529 -1467987