day8prs - 3/8/11 1 PADP 8120: Data Analysis and Sta5s5cal...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 3/8/11 1 PADP 8120: Data Analysis and Sta5s5cal Modeling Ordinary Least Squares PRACTICE Spring 2011 Angela Fer5g, Ph.D. Graphing a fCed line (setup) . use "/Users/afertig/Documents/Teaching/PADP8120/day7-associations/day7f.dta . set seed 50234 . drop if hstat==. (27 observations deleted) . drop if faminc>200000 (306 observations deleted) . drop if faminc==0 (41 observations deleted) . bsample 10 . scatter hstat faminc || lfit hstat faminc . list hstat faminc | hstat faminc | |----------------------| 1. | Very Good 2 18642 | 2. | Good 3 48600 | 3. | Very Good 2 161900 | 4. | Good 3 22000 | 5. | Good 3 26000 | |----------------------| 6. | Excellent 1 104000 | 7. | Very Good 2 22002 | 8. | Fair 4 60500 | 9. | Very Good 2 152790 | 10. | Excellent 1 75200 | 3/8/11 2 Y-intercept looks like about 2.8 and the slope is about .3/50000=0.000006 OLS in Stata . reg hstat faminc Source | SS df MS Number of obs = 10-------------+------------------------------ F( 1, 8) = 1.25 Model | 1.09104954 1 1.09104954 Prob > F = 0.2968 Residual | 7.00895046 8 .876118808 R-squared = 0.13470....
View Full Document

This note was uploaded on 01/18/2012 for the course PADP 8120 taught by Professor Fertig during the Summer '11 term at University of Georgia Athens.

Page1 / 5

day8prs - 3/8/11 1 PADP 8120: Data Analysis and Sta5s5cal...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online