1 / 26

Scatter Plot

Scatter Plot. MINITAB Graph >> Plot. Scatter Plot. Which Line?. Linear Relationship and Error. y. y = b 0 + b 1 x. y i. x. x i. Least Square (LS) Line. Line:. Error:. Sum of Squares of Error:.

binette
Télécharger la présentation

Scatter Plot

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. Scatter Plot • MINITAB Graph >> Plot

  2. Scatter Plot

  3. Which Line?

  4. Linear Relationship and Error y y = b0 + b1 x yi x xi

  5. Least Square (LS) Line • Line: • Error: • Sum of Squares of Error: • LS intercept and slope are obtained by minimizing SS Error with respect to b0 and b1

  6. Facts About the LS Line • LS slope: Slopeb1 and correlation rhave the same sign • LS intercept:

  7. More Facts About the LS • LS line passes through the averages • The average of LS fits is • The average of LS residuals is

  8. Example of LS Line • MINITAB Stat >> Regression >> Fitted line plot

  9. Another Example of LS Line • MINITAB Stat >> Regression >> Fitted line plot

  10. Positive Association • Lines of averages INCOME

  11. Negative Association • Lines of averages RENT PER SQFT FOOTAGE

  12. Covariance, Cov(x,y) • Expected value of the cross-productterms of deviations from the means: sx,y= E [(x - mx)(y - my)] • Sample covariance

  13. Some Remarks about Covariance • Cov(x,y) = Cov(y,x) • Covis a measure of linear relationship between x and y • No linear relationship, Cov(x,y) = 0 • Positive slope, Cov(x,y) > 0 • Negative slope, Cov(x,y) < 0 • Covdepends on the units of measurement of the two variables • Cov(x,x) = Var(x)

  14. Correlation Coefficient, Corr(x,y) • Correlation coefficient • Sample correlation coefficient • An average of the cross-product of the standardize values of the two variables

  15. Example of Positive Association Cov(x,y) = 92073109 Corr(x,y) = 0.875 INCOME

  16. Example of Negative Association RENT PER SQFT Cov(x,y) = -16.242 Corr(x,y) = -0.456 FOOTAGE

  17. Bivariate Data • Pair of variables: x =Explanatory, predictor, or independent variable • income of an individual y =Response variable or dependent variable • price of an item purchased by the individual • Data: (x1,y1), (x2,y2), . . . , (xn,yn) individual 1 individual 2 individual n

  18. Near Zero and Strong Correlations

  19. Examples of Positive Correlations

  20. Perfect Positive Correlation r = 1 y = 5 + 3x

  21. Perfect Negative Correlation r = -1 y = 5 - 2x

  22. Perfect Linear Relationships, r2 = 1 Corr = - 1 Corr = 1

  23. A Measure of Fit of the Line to Data • 0 < R2< 1 • R2 = 1 implies the perfect fit of data to LS line • R2 = 0 indicates no fit • Percent of variation of yiexplained by xi

  24. Perfect Relationship, But Zero Correlation Corr = 0 y = (x - 3)2

  25. Remarks about Correlation Coef. • Corr(x,y) is a unit free index of linear relationship between the two variables • Corr(x,y) = Corr(y,x) • Corrdoes not change when: • any of the two variables is multiplied by a positiveconstant • both variables are multiplied by negative constants • a constant is added to each variable • The sign of Corrchanges if oneof the variables is multiplied by a negative constant

  26. Computation in MINITAB • Stat >> Basic Statistics >> Covariance INCOME PRICE INCOME 435696626 PRICE 92073109 25405637 Variances Covariance • Stat >> Basic Statistics >> Correlation Correlations (Pearson) Correlation of INCOME and PRICE = 0.875

More Related