1 / 36

Regression: Motivation

This summary explores regression analysis to predict low birthweight babies and the importance of the regression line in data summarization. It discusses the best line to represent the data and evaluates the accuracy of the regression line in predicting birthweight.

terrellp
Download Presentation

Regression: Motivation

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Regression: Motivation One dimensional data (Summary by Mean) 10 20 30 40 50

  2. X(X-a)2 10 (10-a)2 20 (20-a)2 30 (30-a)2 40 (40-a)2 50 (50-a)2 150 T min T when a = mean=30

  3. Regression

  4. Regression • Concerns • Data summarization • (As in one dimensional data) • Prediction of low birthweight baby • (for special prenatal care to those in high risk)

  5. Scatter plot Birth weight Estriol

  6. Lines through scatter plot to represent the data

  7. Regression line: The best lineThe best representation of data

  8. What is this with a line and numbers anyway? • They could be the same in two different form or language • But, lines require less space to record remember, memorize and are easy to comprehend • Lines could be pictorial or mathematical representation of numerical data

  9. A line Y = 2+3X Numbers generated by the line Slope = 2 Intercept =3 (interpretation ??)

  10. Representation of bivariate measure ments in different forms • Equation Y =2+3x • Data/Number • x y • 0 2 • 1 5 • 2 8 • … … 50 152 • … … • … … Picture/Graph

  11. Straight lines

  12. Straight lines

  13. Regression: what line will generate the data?

  14. Regression: what line will generate the data? Birth weight Estriol

  15. Which is the best line?

  16. The best lineBirthweight = 21.52 + 0.608 Estriol

  17. Computer output

  18. Regression The Saga continues

  19. Out of curiosity How did this accomplish what we wanted (i.e. data summarization and identifying women who might need special prenatal care)

  20. 1. We end up with the line Birthweight =21.52+0.608 Estriol, hoping that this line will generate the original data 2. In the case of univariate ‘mean’ is closest to the data in a sense. In similar way, regression line is the closet line to the data . In that sense it summarizes the data.

  21. Recall One dimensional data (Summary by Mean) 10 20 30 40 50

  22. Recall X(X-a)2Bweight (bweight- L)2 10 (10-a)2 25 (25-L)2 20 (20-a)2 25 (25-L)2 30 (30-a)2 25 (25-L)2 40 (40-a)2 27 (27-L)2 50 (50-a)2 … … Mean=30 minimizes sumL =21.52+0.608 Esriol minimizes the sum – This is regression line

  23. Prediction • Women that need special care • If lowbirth weight is defined as < 2500g, then women with estriol level < 5.72 are in hirisk of having low birthweight babies.

  24. So is everything fine and dandy • Not necessarily - • How closely does the regression line generates the data? • How much is estriol is responsible for birthweight?? • Was there something that would have better predicted women at risk???

  25. How good is the regression

  26. How good is the regression • R2 = 0.372 • Estriol explains about 37.2% of variation in the birthweights. Remaining 62.8 % is explained by other factors • At estriol 16, we have several birthweight s(24,30,31,32 and 35). If estriol is the only factor for Birthweight we would not see this variation.

  27. How good is the regrssion

  28. Other factors Multiple Regression

  29. Regression Diagnostics Residual Analysis

  30. Diagnostics • Residual for a patient (observation) • Difference between observed birthweight and the birthweight regression line would generate (predict) • Example: (for the first patient) • Observed birthweight = 25 • Generated = 21.52+0.608 estriol =21.52+0.608(7)=25.776 Residual = 25-25.776= -0.776

  31. Diagnostics • Residual plots • Plot of residuals against predicted values • For assumptions • Normality, linearity and homoscedasticity

  32. Non normal nonlinearity Heteroscedasticity

  33. Diagnostics • Residuals for influence patients (observation) - change in estimated parameters (slope and intercept) when the analysis is redone without the patient in question Patients with high leverage and large residual will have greater influence.

  34. Diagnostics • Standardized and the studentized (or jackknife) residual • A patient with large values for these residuals indicate outliers

More Related