Relationships Between Two Measurement Variables - PowerPoint PPT Presentation

1 / 29
About This Presentation
Title:

Relationships Between Two Measurement Variables

Description:

Line predicts average value of y for a given value of x. ... Increase in pulse rate appears to be greater in females (b = 0.87) than males (b ... – PowerPoint PPT presentation

Number of Views:39
Avg rating:3.0/5.0
Slides: 30
Provided by: patqbu
Category:

less

Transcript and Presenter's Notes

Title: Relationships Between Two Measurement Variables


1
Relationships Between Two Measurement Variables
  • Correlation and Linear Regression

2
Examples
  • Relationship between degrees Celsius and degrees
    Fahrenheit?
  • Relationship between left foot size and right
    foot size?
  • Relationship between Eric McCoos rushing yards
    and PSUs total points?
  • Relationship between SAT score and GPA?

3
Types of Relationships
  • Deterministic if we know the value of one
    variable, we can determine the exact value of the
    second variable. A perfect relationship.
  • Statistical If we know the value of one
    variable, we can estimate the typical, or
    average, value of the second variable. An
    approximate or not-so-perfect relationship.

4
A Deterministic Relationship
5
A Statistical Relationship
6
Three Methods
  • Graphical description using scatter plots
  • Numerical description using correlation
  • Numerical description using linear regression

7
Scatter Plots
  • Summarizes the relationship between two
    measurement variables.
  • Horizontal axis represents one variable and
    vertical axis represents second variable.
  • Plot one point for each pair of measurements.

8
Scatter plot
(63,28)
9
Scatter plot
10
Scatter plot
11
Correlation coefficient (r)
  • A number, between -1 and 1, that measures how
    closely the values of two measurement variables
    fall on a straight line.
  • Not appropriate for summarizing nonlinear
    relationships.

12
Interpretation of r
  • r 1 a perfect line with both variables
    increasingly simultaneously
  • r -1 a perfect line with one variable
    decreasing as the other variable increases
  • r 0 no linear relationship
  • r gt 0 variables increase together in less than
    perfect line
  • r lt 0 as one variable increases, the other
    decreases in less than perfect line.

13
r 1
14
r 0
15
r 0.17
16
r 0.91
17
Correlation not appropriate
But r 0.71, deceivingly smaller than r for
females.
18
r 0.50
With this game removed, r 0.28. One point can
greatly impact r.
19
r - 0.84
Norway Finland
U.S.
Italy
France
20
Linear Regression
  • Procedure used to determine the formula for the
    line that best describes the relationship between
    the two measurement variables.
  • The estimated line is called the least squares
    line, and has the form y a bx

21
Least Squares Estimation
Deaths 260.5 - 23 liters
22
Least Squares Line
  • The line, y a bx, that minimizes the sum of
    the squared distances between all of the points
    and the line.
  • Let statistical software find the line for you.

23
Interpretation of Line
  • Deaths 260.5 - 23 Liters
  • Slope -23 For every additional liter of wine
    consumed per person, country reduces, on average,
    number of heart disease deaths by 23.
  • Intercept 260.5 If number of liters of wine
    consumed per person is 0, country will have 260.5
    heart disease deaths.

24
Use of Line for Prediction
  • Deaths 260.5 - 23 Liters
  • Line predicts average value of y for a given
    value of x.
  • If 8 liters consumed, predict that country will
    have average of 260.5-23 8, or 76.5 deaths per
    100,000 people.

25
Do not extrapolate!
  • Do not use the least squares line to predict
    values outside of the range of the original data.
    The relationship may not hold outside of this
    range.
  • Deaths 260.5 - 23 Liters
  • If 15 liters of wine consumed per person, heart
    disease deaths is 260.5 - (23 15), or -85
    deaths per 100,000 ?!?

26
Least Squares Estimation
After 23.6 0.87 Before
r 0.69
27
Least Squares Estimation
After 23 0.80 Before
r 0.84
28
Comparison of Pulse Rates
  • Mens relationship (r0.84) appears to be
    stronger than female relationship (r0.69).
  • Increase in pulse rate appears to be greater in
    females (b 0.87) than males (b 0.80)
  • Before pulse rate of 70
  • Predicted After Pulse for Males 79
  • Predicted After Pulse for Females 84.5

29
Cautionary Notes
  • We have only studied how to describe sample data.
    We did not learn how to test to see if the
    relationships hold in the population.
  • Correlation does not mean causation!
Write a Comment
User Comments (0)
About PowerShow.com