Find the Pearson r(correlation coefficient value r) for the correlation between the number of hours student slept the night before a test and their test score. Round your answer up to two decimal places. Hours Test |slept(X) |Score(Y) 8 83 7 86 7 74 8 88 6 76 5 7 4 9 7 63 90 60 89 81 Use the formula :r = ΣΧ2 = 482 ΣΥ N Σ XY-(Σ X)(ΣΥ) [N Σ Χ -(Σ X)][N ΣΥ-(ΣΥ)] and Σ XY = 5, 497 = 63, 432 given Σ X = 68 ΣΥ = 790

MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
icon
Related questions
Question
**Calculation of Pearson Correlation Coefficient**

To find the Pearson correlation coefficient \( r \) for the correlation between the number of hours students slept the night before a test and their test score, follow the formula provided. Round your answer to two decimal places.

### Data Table
| Hours Slept (X) | Test Score (Y) |
|-----------------|----------------|
| 8               | 83             |
| 7               | 86             |
| 7               | 74             |
| 8               | 88             |
| 6               | 76             |
| 5               | 63             |
| 7               | 90             |
| 4               | 60             |
| 9               | 89             |
| 7               | 81             |

### Formula
\[ 
r = \frac{N \sum XY - (\sum X)(\sum Y)}{\sqrt{[N \sum X^2 - (\sum X)^2][N \sum Y^2 - (\sum Y)^2]}} 
\]

### Given Values
- \( \sum X = 68 \)
- \( \sum Y = 790 \)
- \( \sum X^2 = 482 \)
- \( \sum Y^2 = 63,432 \)
- \( \sum XY = 5,497 \)

### Explanation
- \( N \) is the number of data points (students).
- \( \sum X \) and \( \sum Y \) are the sums of the hours slept and test scores respectively.
- \( \sum X^2 \) and \( \sum Y^2 \) are the sums of squares of the hours slept and test scores respectively.
- \( \sum XY \) is the sum of the product of each pair of x and y values.

Use these values to calculate the Pearson correlation coefficient \( r \) using the formula above.
Transcribed Image Text:**Calculation of Pearson Correlation Coefficient** To find the Pearson correlation coefficient \( r \) for the correlation between the number of hours students slept the night before a test and their test score, follow the formula provided. Round your answer to two decimal places. ### Data Table | Hours Slept (X) | Test Score (Y) | |-----------------|----------------| | 8 | 83 | | 7 | 86 | | 7 | 74 | | 8 | 88 | | 6 | 76 | | 5 | 63 | | 7 | 90 | | 4 | 60 | | 9 | 89 | | 7 | 81 | ### Formula \[ r = \frac{N \sum XY - (\sum X)(\sum Y)}{\sqrt{[N \sum X^2 - (\sum X)^2][N \sum Y^2 - (\sum Y)^2]}} \] ### Given Values - \( \sum X = 68 \) - \( \sum Y = 790 \) - \( \sum X^2 = 482 \) - \( \sum Y^2 = 63,432 \) - \( \sum XY = 5,497 \) ### Explanation - \( N \) is the number of data points (students). - \( \sum X \) and \( \sum Y \) are the sums of the hours slept and test scores respectively. - \( \sum X^2 \) and \( \sum Y^2 \) are the sums of squares of the hours slept and test scores respectively. - \( \sum XY \) is the sum of the product of each pair of x and y values. Use these values to calculate the Pearson correlation coefficient \( r \) using the formula above.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Similar questions
Recommended textbooks for you
MATLAB: An Introduction with Applications
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
Probability and Statistics for Engineering and th…
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
Statistics for The Behavioral Sciences (MindTap C…
Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
Elementary Statistics: Picturing the World (7th E…
Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON
The Basic Practice of Statistics
The Basic Practice of Statistics
Statistics
ISBN:
9781319042578
Author:
David S. Moore, William I. Notz, Michael A. Fligner
Publisher:
W. H. Freeman
Introduction to the Practice of Statistics
Introduction to the Practice of Statistics
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman