Docsity

Correlation in Introduction to Statistics | STAT 2, Study notes of Statistics

Toggle sidebar
bg1
1
Correlation
Measuring Relationships between
Variables
2
Associations Between Variables
• How strongly is a child’s birthwe ight related to his
mother’s weight? Father’s weight? Ges tation?
• What are the relationships among n utritional contents
of breakfast cereals: calories, fiber, fat, sugar,
carbohydrates?
• How is a person’s weight related to his height?
• How strongly is income related to educ ation?
3
56 58 60 62 64 66 68
56
58
60
62
64
66
68
Father’s Height
Son’s Height
Father Son
58 60
62 58
66 64
Constructing a Scatter Diagram
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff

Partial preview of the text

Download Correlation in Introduction to Statistics | STAT 2 and more Study notes Statistics in PDF only on Docsity!

1

Correlation

Measuring Relationships between

Variables

2

Associations Between Variables

  • How strongly is a child’s birthweight related to his

mother’s weight? Father’s weight? Gestation?

  • What are the relationships among nutritional contents

of breakfast cereals: calories, fiber, fat, sugar,

carbohydrates?

  • How is a person’s weight related to his height?
  • How strongly is income related to education?

Father’s Height

Son’s Height

Father Son 58 60 62 58 66 64

Constructing a Scatter Diagram

4

What Relationships Are Shown in These

Scatter Diagrams?

Variable A Variable B

5

Depicting Relationships with Scatter

Diagrams: The Challenger Disaster

In January 1986, engineers opposed a decision to launch

a space shuttle because they were worried that rubber O-

rings would not seal at the cold temperature forecast for

the launch day. NASA officials pressured them to reverse

their recommendation. Challenger was launched the next

day, it exploded, and seven astronauts died because two

O-rings leaked.

The Presentations Engineers Faxed

to NASA

10

Height and GPA??

GPA

Height 5’ 2’’ 5’ 6’’ 5’ 10’’

11

Breakfast Cereals

What are the relationships among nutritional contents of

breakfast cereals: calories, fiber, fat, sugar,

carbohydrates?

Calories and Carbohydrates

13

Sugar and Fat

14

Complex Carbohydrates and Fiber

Babies’ Birthweights

How strongly is a child’s birthweight related to

his mother’s weight? Father’s weight?

Gestation?

19

Birthweight and Mom’s Weight

20

Birthweight and Gestation Age

Birthweight and Gestation Age

22

Time Sequence Plots: A Type of

Scatter Diagram

Sports Records

23

The Correlation Coefficient: r

A Numerical Summary of the

Strength of a Linear

Relationship between Two

Variables

Positive

Correlation

28

r =.

29

Win Money and Fame!

Guess the Correlation

The Recipe for a Correlation

Coefficient

1. Convert each variable to

standard units

2. Calculate the average value of

the products

31

Weight Height Weight Height Product

Pounds & Inches Standard Units

# # # x # =

# # # x # =

# # # x # =

# # # x # =

# # # x # =

correlation = average

Standard units

add

32

Implications: The Correlation

Coefficient Is Not Affected by

  • Interchanging the variables. (r only

depends on products.)

  • Adding a constant to the values of one

variable. (Adding a constant does not

change their values measured in

standard units.)

  • Multiplying the values of one variable by

a constant. (When the values are

multiplied by a constant, so are the

Average and SD, and the standard units

are unchanged.)

Standard Unit =

Value - Average

SD

37

But the scatter plots differ

non-linear association

outliers

38

Ecological (aggregate) correlation: GPA and income by

ZIP code at Berkeley High School (r=.87)

Correlations of averages are usually bigger than

correlations of individuals

40

Correlations of averages are usually bigger than

correlations of individuals

41

Correlation and Causation

There is strong correlation between

•The number of teachers in a school district and the

number of failing students.

•The number of automobiles in California per year

and the number of homicides.

•Kids’ feet lengths and reading ability

Correlation does not imply causation.

Summary

  • Scatter diagrams show relationships between variables
  • The correlation coefficient measures the strength of a linear relationship
  • It measures clustering about a line
  • It ranges between -1 and 1
  • It is calculated as the average of products of standard units

Suppose the thermometer used in the study consistently

gave readings that were two degrees too high. Explain

briefly, how the thermometer’s bias would affect the

following numbers:

The average daily temperature

The standard deviation of the average daily temperature.

The correlation coefficient of the average daily

temperature and the rainfall.