Scatterplots

Explanatory Variable NetMBA.com

Explanatory Driver 1 Driver 30 18 32 55 82 Response Distance 510 410
 420 360

Interpreting Scatterplots

  • Direction: Positive or Negative

    SCATTER PLOT EXAMPLES O Positive Correlat•on O x Negative
Correlat•on O x No Corre ation

  • Form: Linear or Non-linear

    Linear No linear relationship

  • Strength: Weak, Moderate or Strong

    strong positive linear association weak positive linear association

  • Example

    ht Tor ♂ 18 120 140 1 ♂ Horsepower

  • Positive, linear, strong relationship between horsepower and weight in tons.

Correlation Coefficient (r)

Correlation Coefficient Shows Strengtl & Directim of Correlation
 Strong Weak Weak Strong -1.0 -0.5 Negative Correlation 0.0 Zero +0.5
 positive Correlation

-0.90 -0.70 -0.50 -0.30 0.40 -020 0.50 -0.10 060 0.00 0.70 0.10 0.80
0.20 0.90 0.30 1.00

Least Squares Regression Line

È•bi- 200 160 140 120 200 Distance 1200 1400 1600 Sum of 4310

  • A regression line is a line that describes how y changes as x changes

  • Can be used to predict the value of y for a given value of x

  • Called the Least Squares regression line because it make the smallest sum of squares

  • LSRL will always run through the point (mean of x, mean of y)

  • Formulas (hat = predicted)

    C:\\6432CA65\\FE01530B-89BD-4F8B-A3E1-55F12080AD12\_files\\image050.png

    C:\\6432CA65\\FE01530B-89BD-4F8B-A3E1-55F12080AD12\_files\\image051.png

    C:\\6432CA65\\FE01530B-89BD-4F8B-A3E1-55F12080AD12\_files\\image052.png

    C:\\6432CA65\\FE01530B-89BD-4F8B-A3E1-55F12080AD12\_files\\image053.png

    х

  • Remember to note what x and y are

  • Calculation

    • Input data

    Tl-84 Pius Silver Ecfitjm TEXAS INSTRUMENTS FORMAT n

  • STAT➡️CALC➡️ 4:LinReg(ax+b)

  • LinReg(ax+b) L1, L2

    гоямдтп ац: а п

  • Catalog (2ND + 0) ➡️ DiagnosticOn

    • rl 4PiusS E t 1

  • Do LinReg again to display r

    ![ТИ-84 PIus S'tver Editj(n ф TEns [NSTRUMENTS гоамдтп сам: а ](./media/image58.png)

Coefficient of Determination

  • R^2=r^2

  • Coefficient of Determination = (Correlation Coefficient)^2

  • Percent of the change in y that is explained by the change by the change in x / least squares regression line

  • From the previous example, 41.9% of the change in y can be explained by the change in x

Residuals (≈error)

  • Residuals = observed/actual y - predicted y

  • Resid = y - y hat

  • Resid < 0: Overpredicted

  • Resid > 0: Underpredicted

    C:\\6432CA65\\FE01530B-89BD-4F8B-A3E1-55F12080AD12\_files\\image059.png

  • Residual Plot

Predicted vs Actual 35 15 . Predicted values for Revenue Residuals
Predicted values for Revenue

  • no pattern = good fit
  • Example
X 3 1 1.5 6 2
Y 10 3 14 15 6
Y hat 10.1 6.76 7.60 15.11 8.43
Residuals -0.1 -3.76 6.4 -0.11 -2.43
  • Calculator

    • Type the regression equation in L3 (y hat)

    Tl-B4 Pius Silver Ecfitjm TEXAS INSTRUMENTS STAT CALC V4

  • L4 = L2 - L3

    Tl-B4 mus Silver Ecfitjm TEXAS INSTRUMENTS FORMAT n

  • Graph L1, L4 (Residuals)

    に 01 ・ 第 ー 、 0 に 10 ・ 当 1 に 10 一 - 、 IS L 菱 】 山 ・ 新 08 ー - ト

Examples

  • At the summer school, one of Sarah's teachers told her that you can determine air temperature from the number of cricket chirps
  1. What is the explanatory variable, and what it the response variable

    • Explanatory/independent variable: cricket chirps

    • Response/dependent variable: air temperature

  2. To determine a formula, Sarah collected data on temperature and number of chirps per minute on 14 occasions. She entered the data into her calculator and did 2-Var Stats. Here are some results. Use this information to find the equation of the least-squares regression line

Xbar 165.8
Sx 32.0
Ybar 76.83
Sy 9.23
r 0.361
  • b= r * Sy / Sx = 0.104

  • Ybar = a + b*Xbar

  • a = Ybar - b*Xbar = 59.57

  • Yhat = 59.57 + 0.14 * x

  • Where y = air temperature, and x = cricket chirps

  1. One of Sarah's data points was recorded on a particularly hot day (95F). She counted 2432 cricket chirps in one minute. What is the residual for this data point?

    • Residual = Y - Yhat = 95 - (59.57 + 0.104 * 2432) = -217.498

results matching ""

    No results matching ""