1 / 16

STAT E100

STAT E100. Section Week 3 - Regression. Review Descriptive Statistics versus Hypothesis Testing Outliers Sample vs. Population Residual Plots. Key Equations and Graphs: Residual = observed value (y) - predicted value ( ŷ). Key Concepts : Correlation ≠ Causation

urban
Télécharger la présentation

STAT E100

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. STAT E100 Section Week 3 - Regression

  2. Review • Descriptive Statistics versus Hypothesis Testing • Outliers • Sample vs. Population • Residual Plots

  3. Key Equations and Graphs: Residual = observed value (y) - predicted value (ŷ)

  4. Key Concepts: • Correlation ≠ Causation • R2 is the coefficient of determination that tells the proportion of variability in y that can be explained by x. • Leverage refers to data points whose x-values stand away from the mean of x. These points are said to exert leverage on a linear model. High-leverage points pull the line close to them, and so they can have a large effect on the line.

  5. Homework Tips: from http://stattrek.com/statistics/charts/boxplot.aspx

  6. Sample Question #1 1) Data comes from: http://www.cbssports.com/mlb/salaries/teams. Data was collected on the opening day payroll (in millions of $) and the number of wins that year for the 30 major league baseball (MLB) teams in 2010. Below are the histograms of the 2 variables: a) Based on these histograms, describe the distribution of each of these variables. The scatterplot of y = wins vs. x = payroll is on the next slide.

  7. Sample Question #1

  8. Sample Question #1 1) Data comes from: http://www.cbssports.com/mlb/salaries/teams. Data was collected on the opening day payroll (in millions of $) and the number of wins that year for the 30 major league baseball (MLB) teams in 2010. Below are the histograms of the 2 variables: Based on these histograms, describe the distribution of each of these variables. The scatterplot of y = wins vs. x = payroll is on the next slide. It seems that the distributions are more or less symmetrical (although there is a slight skewness in the variable wins). Also, note the isolated point on the payroll histogram.

  9. Sample Question #1 Data comes from: http://www.cbssports.com/mlb/salaries/teams. b) What do you think the correlation coefficient is between these 2 variables? Here is some more SPSS output:

  10. Sample Question #1 Data comes from: http://www.cbssports.com/mlb/salaries/teams. b) What do you think the correlation coefficient is between these 2 variables? Here is some more SPSS output: Correlation coefficient = 0.536

  11. Sample Question #1 Data comes from: http://www.cbssports.com/mlb/salaries/teams. c) What is the equation for the best fit line for this data? For your reference (probably should show how to run the regression and correlation in SPSS): d) What is the estimated number of wins for a team with a payroll of $120.1 million (the Red Sox)? How would this be predicted to change if it increased by $10 million?

  12. Sample Question #1 Data comes from: http://www.cbssports.com/mlb/salaries/teams. c) What is the equation for the best fit line for this data? For your reference (probably should show how to run the regression and correlation in SPSS): d) What is the estimated number of wins for a team with a payroll of $120.1 million (the Red Sox)? How would this be predicted to change if it increased by $10 million?

  13. Sample Question #1 Data comes from: http://www.cbssports.com/mlb/salaries/teams. c) What is the equation for the best fit line for this data? ywins = 0.167 xpayroll + 67.982 For your reference (probably should show how to run the regression and correlation in SPSS): d) What is the estimated number of wins for a team with a payroll of $120.1 million (the Red Sox)? How would this be predicted to change if it increased by $10 million?

  14. Sample Question #1 Data comes from: http://www.cbssports.com/mlb/salaries/teams. c) What is the equation for the best fit line for this data? ywins = 0.167 xpayroll + 67.982 For your reference (probably should show how to run the regression and correlation in SPSS): d) What is the estimated number of wins for a team with a payroll of $120.1 million (the Red Sox)? How would this be predicted to change if it increased by $10 million? ywins = 0.167 (120.1) + 67.982 = 88.0387 88 wins If increased by 10 million, then the numbers of wins would increase becase the slope is positive.

  15. Sample Question #1 Data comes from: http://www.cbssports.com/mlb/salaries/teams. e) The Red Sox actually won 86 games in 2010. Calculate their residual. f) What is R2 for this model? What is its interpretation? g) Based on the scatterplot, do you have any concerns for the using this regression model? h) How the regression line change if the Yankees were removed (payroll = $194.66 million, wins = 97)?

  16. Sample Question #1 Data comes from: http://www.cbssports.com/mlb/salaries/teams. e) The Red Sox actually won 86 games in 2010. Calculate their residual. Residual = 88.0387 2 wins f) What is R2 for this model? What is its interpretation? R2 = (0.536) 2 = 0.287 The regression line explains 28.7% of the variability in wins. g) Based on the scatterplot, do you have any concerns for using this regression model? There may be a point with high residual. h) How would the regression line change if the Yankees were removed (payroll = $194.66 million, wins = 97)? This point may have high residual.

More Related