1 / 9

Summarizing a scatterplot trend

Summarizing a scatterplot trend. A scatterplot is messy. It can be hard to interpret. One way to summarize the trend in a scatterplot is to draw a straight line through the plot. Let’s take a look at a simple data set. Summarizing a scatterplot trend.

morgan
Télécharger la présentation

Summarizing a scatterplot trend

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. Summarizing a scatterplot trend • A scatterplot is messy. • It can be hard to interpret. • One way to summarize the trend in a scatterplot is to draw a straight line through the plot. • Let’s take a look at a simple data set.

  2. Summarizing a scatterplot trend • Graph this data set on your calculator. • How should we draw a line through this set of points? • What is the BEST line to fit this data set? • Try something!

  3. Summarizing a scatterplot trend • There are many ways to do this… • Statisticians tend to rely on a line-fitting method called Least Squares Regression.

  4. Important features of least-squares regression lines (LSRL)

  5. Background There is a lot of theoretical math behind the derivation of this linear function. We will leave that for a later math course. For now, it is enough to know that the slope and y-intercept of the LSRL minimizes this quantity:

  6. Some notation first The mean x coordinate: The mean y coordinate: The standard deviation of the x’s: The standard deviation of the y’s: An important fact – the point is ALWAYS on the LSRL.

  7. Now the y-intercept is… And the slope is…

  8. How do you decide when a linear model is appropriate? We look at the residual plots. That will involve making a scatterplotafter we have run linreg(ax + b) When a linear model is appropriate, the residual plot will NOT show any pattern.

  9. Residual plots This is a residual plot with a definite pattern. This is what you are looking for. So is this. Linear models are NOT appropriate here

More Related