Advertisement
Guest User

Untitled

a guest
Mar 2nd, 2015
202
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.58 KB | None | 0 0
  1. . webuse bodyfat, clear
  2. (Body Fat)
  3.  
  4. . reg bodyfat thigh triceps midarm
  5.  
  6. Source | SS df MS Number of obs = 20
  7. -------------+------------------------------ F( 3, 16) = 21.52
  8. Model | 396.984607 3 132.328202 Prob > F = 0.0000
  9. Residual | 98.4049068 16 6.15030667 R-squared = 0.8014
  10. -------------+------------------------------ Adj R-squared = 0.7641
  11. Total | 495.389513 19 26.0731323 Root MSE = 2.48
  12.  
  13. ------------------------------------------------------------------------------
  14. bodyfat | Coef. Std. Err. t P>|t| [95% Conf. Interval]
  15. -------------+----------------------------------------------------------------
  16. thigh | -2.856842 2.582015 -1.11 0.285 -8.330468 2.616785
  17. triceps | 4.334085 3.015511 1.44 0.170 -2.058512 10.72668
  18. midarm | -2.186056 1.595499 -1.37 0.190 -5.568362 1.19625
  19. _cons | 117.0844 99.78238 1.17 0.258 -94.44474 328.6136
  20. ------------------------------------------------------------------------------
  21.  
  22. . corr bodyfat thigh triceps midarm
  23. (obs=20)
  24.  
  25. | bodyfat thigh triceps midarm
  26. -------------+------------------------------------
  27. bodyfat | 1.0000
  28. thigh | 0.8781 1.0000
  29. triceps | 0.8433 0.9238 1.0000
  30. midarm | 0.1424 0.0847 0.4578 1.0000
  31.  
  32.  
  33. . ellip thigh triceps, coefs plot( (scatteri `=_b[thigh]' `=_b[triceps]'), yline(0, lcolor(gray)) xline(0, lcolor(gray)) legend(off))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement