1 / 13

Least Squares Regression

Describe relationship in words. Could you predict gas consumption for a 22 degree-day? A 65 degree-day?. Least Squares Regression. Section 3.3 (First Part). Regression Line. Describes how response variable y changes as explanatory variable x changes. Used to make predictions.

edena
Télécharger la présentation

Least Squares Regression

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. Describe relationship in words. Could you predict gas consumption for a 22 degree-day? A 65 degree-day?

  2. Least Squares Regression Section 3.3 (First Part)

  3. Regression Line • Describes how response variable y changes as explanatory variable x changes. • Used to make predictions. • Least Squares Regression Line (LSRL) is a mathematical model for data. • Makes the sum of the squares of the vertical distances from each data point to the line as small as possible. • Equation: ŷ = a + bx “y hat” Predicted value Intercept a = y - bx Slope b = r (sy/sx)

  4. Predictions vs Extrapolation

  5. Least Squares Regression Facts • Looks only at distance in y-direction. • x must be explanatory variable and y must be response variable. • Correlation just measures relationship (doesn’t matter which is response or explanatory variable)

  6. Mean y = ? Mean x = ?

  7. Correlation and Regression Applet http://bcs.whfreeman.com/ips5e/pages/bcs-main.asp?v=category&s=00010&n=99000&i=99010.01&o=|00510|00520|00530|00540|00550|00560|00570|00590|00PRS|00580|00600|00010|00020|00030|00040|00050|00060|00070|00080|00110|00090|00100|00120|00130|01000|02000|03000|040

  8. LSRL for Sanchez Family • Steps: (Data p.115) • x values in L1 • y values in L2 • STAT, CALC, LinReg (a + bx) L1, L2, Y1 • a= intercept, b=slope • y1= 1.0892 + .1890x

  9. Coefficient of Determination: r2 • Percent of the variation in the values of y that are explained by least-squares regression of y on x. • Tells how successful the regression was in explaining the response. • Example: r = ±1, r2 = 1; 100% of response is explained by LSRL. • If r = ±.8, r2 = .64; 64% of response is explained by LSRL.

More Related