Help finding the covariance

User Generated

yxq887

Mathematics

Description

A nurse is interested in whether there is a relationship between daily levels of stress and likelihood of a heart attack. The stress scores (predictor variable) and risk of heart attack values (criterion variable) from a small sample of participants are depicted below

Stress Score- 5,2,0,1

Risk of Heart Attack- 1,8,2,5,

What is the covariance?

User generated content is uploaded by users for the purposes of learning and should be used following Studypool's honor code & terms of service.

Explanation & Answer

The covariance is -1.5

This is actually a really bad example because there are so few data points (you would never use a sample size n=4). But, here is the formula:

1/(n-1)Sum(xi-xavg)(yi-yavg), where x=stress and y=risk of heart attack, and n=3 (4-1).

So the means are: 8/4=2; 16/4=4.

1/(3)[(5-2)(1-4)+(2-2)(8-4)+etc]



Anonymous
I use Studypool every time I need help studying, and it never disappoints.

Studypool
4.7
Trustpilot
4.5
Sitejabber
4.4

Related Tags