1 / 48

Chapter 10 Section 1: Scatter Diagrams & Linear Correlation

Chapter 10 Section 1: Scatter Diagrams & Linear Correlation. Created by: Mrs. Lowery. Scatter Diagram. X & Y Plot X – Explanatory Variable Y – Response Variable Looking for a Linear Relationship. Lab. Heart Rate Hours exercise per week. Line of “Best-fit”.

jerod
Télécharger la présentation

Chapter 10 Section 1: Scatter Diagrams & Linear Correlation

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. Chapter 10 Section 1: Scatter Diagrams & Linear Correlation Created by: Mrs. Lowery

  2. Scatter Diagram • X & Y Plot • X – Explanatory Variable • Y – Response Variable • Looking for a Linear Relationship

  3. Lab • Heart Rate • Hours exercise per week

  4. Line of “Best-fit” • 1 line the best-fits the points of the scatter diagram • More coming soon!

  5. Correlation (r) • Perfect Linear • Positive (little x with little y & big x with big y) • Negative (little x with big y & big x with little y) • No Correlation • NO UNIT MEASURE

  6. Computing Pearson’s r – correlation coefficient or

  7. Cautions about Correlation • r = SAMPLE correlation coefficient computed from SAMPLE DATA • p (row) = Population correlation coefficient computed from ALL population data pairs • Correlation coefficient is a mathematical tool for measuring the strength of a linear relationship between 2 variables – No CAUSE AND EFFECT

  8. Continued…. • NO CAUSE AND EFFECT • Lurking variables – it is neither part of the explanatory (x) or response (y) , but may be responsible for changes in both x and y.

  9. Technology • Calculator – • Go the Catalog and turn Diagnostics On • Stat – Calc – 8: LinReg(a+bx) • Minitab • Stat- Basic Statistics - Correlation

  10. Ch10 Sec 2: Linear Regression & Coefficient of Regression Created by: Mrs. Lowery

  11. “Best” Linear Equation • Least-Square Criterion • Sum of the squares of the vertical distances from the data points (x,y) to the line is made as small as possible • See pg 603

  12. Least Square Line • - estimate • a = y-intercept • b = slope • How many units the response variable is expected to change for each unit change in the explanatory variable (Marginal Change)

  13. How To • b is with the x because in stats only 1 explanatory variable • See AP Formula Packet

  14. Application • Making predictions • How Good of a prediction? - r

  15. Problems • Interpolation • Predicting values between observed x values. • Extrapolation • Predicting values beyond the observed x values. • Do not do this • Height example • Note – there are confidence intervals for predictions • Note – You can only predict y from x not the other way around using this equation!

  16. Technology • Calculator • Input data in lists • Stat – calc – 8:LinReg(a+bx) • Y= - vars – 5:Statistics – EQ – 1:RegEQ • Turn on Stat Plot • Zoom – 9:ZoomStat

  17. Technology • Minitab • Input data • Stat – Regression – Fitted Line Plot

  18. Coefficient of Determination • Answers: How good is the line as a instrument of regression? • The square of the sample correlation coefficient r

  19. - Coefficient of Determination Total Deviation Explained Deviation Unexplained Deviation

  20. Meaning of • ___ % of the (variation) behavior of the y variable can be explained by the corresponding (variation) behavior of the x variable if we use the least-square equation ________. • The remaining variation 1- __ = due to chance or lurking variables.

  21. Ch10 Sec 3: Inferences for Correlation and Regression Created by: Mrs. Lowery

  22. Sample Population

  23. Musts to make inferences for population! • (x,y) are all random samples from the entire population • x and y are normally distributed • Variances are approximately equal • Their means lie on the least-square line

  24. Hypothesis Testing: • Null – no correlation • Alternative • Set alpha level (.1, .05, .01)

  25. Converting r into t-test n = number of sample data pairs Find p-value!

  26. Interpretation • Reject Null • Fail to Reject Null • State your conclusion is context! • Remember NO CAUSE AND EFFECT

  27. 3 Measures of Scatter Diagram Spread: • Coefficient of Correlation • Coefficient of Determination • Standard Error of Estimate AND

  28. Interpretation of SE • 0 = points all on line • Low value means --- Data points close • Higher values mean --- More Scattered

  29. How to Find SE • Obtain a random sample of more than 3 pairs • Find the equation • Computation Formula for Standard Error of Estimate: (do not round too much)

  30. Technology • Calculator • Put data in lists • Stat-Test-E:LinRegTTest • Minitab • Stat-Regression-Regression • The value of the standard error is displayed as s.

  31. Confidence Interval • Sample = error • How to Calculate • Obtain sample of 3 or more • Find

  32. More How To: • Find c – confidence interval for y for a specified x • c = Confidence Level (0 < c < 1) • n = Number of data pairs (at least 3) • = Critical value using d.f.=n - 2 • = Standard error of estimate

  33. Interpret Confidence Interval I am ___% sure that the interval between ___ and ___ is one that contains the predicted amount of _________ that will _______ at (x-value).

  34. Note: Confidence Band • The closer the interval is to the sample mean the tighter the confidence interval • Another reason for not extrapolating data.

  35. Technology • Minitab – • Stat – Regression – Regression • Options • Enter observed x • Set Confidence Level • In Output – see %PI

  36. Confidence Interval for Population Slope d.f.= n-2 Standard Error for b

  37. How To: • State Null • State Alternative • State Confidence Level • Find test statistic • d.f = n-2 • Find the corresponding p-value • Conclusion • Context

  38. Confidence Interval for • c = Confidence Level (0 < c < 1) • n = Number of data pairs (at least 3) • = Critical value using d.f.=n - 2 • = Standard error of estimate

  39. Technology • Calculator • Stat • Test • E:LinRegTTest • Note: s – is standard error of measurement • Minitab • Stat • Regression • Regression • Note: s – is standard error of measurement • Gives results as 2-tailed – if 1-tailed divide p by 2

  40. Ch10 Sec 4: Multiple Regression Created by: Mrs. Lowery

  41. Multiple Regression • Predict “y” based on more than 1 x Response Variable Explanatory Variable(s) Coefficients from Least-square Regression We will only calculate using Minitab!

  42. Regression Model • Identify Variables • One Response • All others = Explanatory • Collect Data for all variables • Find Equation • Check “goodness of fit” • Use Equation for prediction • Construct Confidence Intervals

  43. How To: • Find Summary Statistics for each variable • Stat – Basic Statistic – Display Descriptive Statistic • Find correlation between variables • Stat – Basic Statistic – Correlation • Looking for r close to 1 thus more explained variability • Least – square equation • Choose 1 response variable • The rest are explanatory • Stat – regression – regression • In dialogues box select Response Variable • All other variables in other area

  44. How well does our equation fit? • Examine coefficient of multiple determination • R-Sq = ___ % • % is the amount of explained variation that can be explained by the equation ____ and the joint variables (explanatory variables) together.

  45. Prediction • Stat – Regression – Regression • Options: • List new observations (explanatory variables) • Check fit intercept • Value predicted for response variable • The output %PI - % Confidence Interval for Prediction • A confidence interval for a sample

  46. Testing a Coefficient for Significance • Is every explanatory variable necessary??? Explanatory variable DOES Contribute Explanatory variable does NOT contribute

  47. Interpret • Reject Null • Keep variable • Fail to Reject Null • Get Rid of Variable

  48. Confidence interval for Coefficients Degrees of Freedom = n – k - 1 Coefficient t-critical from chart Standard Error/Deviation

More Related