Correlation of continuous variables: Pearson’s test

0.0(0)
Studied by 4 people
call kaiCall Kai
Locked
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/18

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 4:50 PM on 8/4/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

19 Terms

1
New cards

What is the correlation of 2 continuous variables called?

Bivariate data

E.g. rate constant and temp

E.g. height and mass

2
New cards

What do we use to summarise quantitative bivariate data?

Scatter diagram

3
New cards

What does the scatter diagram show us?

  • Distribution of the data

  • Relationship between the 2 variables

4
New cards

Pearson’s correlation coefficient

Used for continuous variables from a normal distribution

5
New cards

r =

sample value correlation coefficient

(Correlation in the sample size measured)

6
New cards

ρ =

Population value

(Correlation in the whole population)

7
New cards

Sxx =

Syy =

Sxy =

knowt flashcard image
8
New cards

equation for r

knowt flashcard image
9
New cards

What values can r be?

r can take values from -1 to +1

10
New cards

r = +1

  • Increase in x = increase in y

  • Perfect positive correlation

<ul><li><p>Increase in x = increase in y</p></li><li><p>Perfect positive correlation</p></li></ul><p></p>
11
New cards

r = -1

  • perfect negative correlation

  • Increase in x = decrease in y

<ul><li><p>perfect negative correlation</p></li><li><p>Increase in x = decrease in y</p></li></ul><p></p>
12
New cards

r = 0

no correlation

<p>no correlation</p>
13
New cards

If Sxy is positive…

r will also be positive

14
New cards
<p>Example:</p><p>Calculate the Pearson’s correlation coefficient for the height (y) / mass (x) data</p>

Example:

Calculate the Pearson’s correlation coefficient for the height (y) / mass (x) data

  1. Calculate Sxx, Syy and Sxy

  1. Calculate r

r = 211.0 / √386.0 × 150.83

r = 0.874

  1. Correlation

  • r is close to 1

  • So we know there is a positive correlation

  1. Evaluation

  • Small sample size, so how significant is this positive correlation?

  • So should conduct a hypothesis test to calculate the Pearson’s population correlation coefficient

<ol><li><p>Calculate S<sub>xx</sub>, S<sub>yy</sub> and S<sub>xy</sub></p></li></ol><p></p><ol start="2"><li><p>Calculate <strong>r</strong></p></li></ol><p>r = 211.0 / √386.0 × 150.83</p><p>r = 0.874</p><p></p><ol start="3"><li><p><strong>Correlation</strong></p></li></ol><ul><li><p>r is close to 1</p></li><li><p>So we know there is a positive correlation</p></li></ul><p></p><ol start="4"><li><p><strong>Evaluation</strong></p></li></ol><ul><li><p>Small sample size, so <mark data-color="yellow" style="background-color: yellow; color: inherit;">how significant is this positive correlation?</mark></p></li><li><p>So should conduct a <strong><mark data-color="purple" style="background-color: purple; color: inherit;">hypothesis test</mark></strong> to calculate the Pearson’s <u>population</u> correlation coefficient </p></li></ul><p></p>
15
New cards

Why do we conduct the hypothesis test?

To assess correlation in the whole population (ρ) » Pearson’s population correlation coefficient

16
New cards

Formula for t values in hypothesis test for population correlation coefficient

knowt flashcard image
17
New cards

Degrees of freedom in hypothesis test

number of pairs of data - 2

18
New cards

Example: Hypothesis Test to calculate Pearson’s population correlation coefficient

Mass / height data, r = 0.874

Is there a significant positive correlation?

  1. State hypotheses

H0: there is no relationship between the 2 variables

H1: there is a significant positive correlation between the 2 variables

  1. Calculate t value

t = 0.874 x √(6 - 2 / 1- 0.8742)

t = 3.597

  1. Look up critical t value in table

  • 5% significance level

  • One-sided test

  • Degrees of freedom: 4

  • t = 2.13

  1. If calculate t > tabulated t, reject H0 and accept H1

  1. Conclusion and assumptions made

  • There is good evidence to suggest at the 5% significance level that there is a positive correlation between mass and height

  • Assumption: mass and height are normally distributed

19
New cards

Interpretations of r / ρ

knowt flashcard image