This data set is from the kaggle webiste and is based on heart disease. The variables are Age (in years) and Chloesterol (mg/dl).
May 8, 2019
This data set is from the kaggle webiste and is based on heart disease. The variables are Age (in years) and Chloesterol (mg/dl).
The data contains 100 observations and is from the Cleveland Heart disease database. The plot correlates age and cholesterol. Age<-c(63,37,41,56,57,57,56,44,52,57,54,48,49,64,58,50,58,66,43,69,59,44,42,61,40,71,59,51,65, 53,41,65,44,54,51,46,54,54,65,65,51,48,45,53,39,52,44,47,53,53,51,66,62,44,63,52,48,45,34,57, 71,54,52,41,58,35,51,45,44,62,54,51,29,51,43,55,51,59,52,58,41,45,60,52,42,67,68,46,54,58,48, 57,52,54,45,53,62,52,43,53) Cholesterol<-c(233,250,204,236,354,192,294,263,199,168,239,275,266,211,283,219,340,226,247,239,234,233,226,243,199,302,212,175,417,197,198,177,219,273,213,177,304,232,269,360,308,245,208, 264,321,325,235,257,216,234,256,302,231,141,252,201,222,260,182,303,265,309,186,203,211,183, 222,234,220,209,258,227,204,261,213,250,245,221,205,240,250,308,318,298,265,564,277,197,214, 248,255,207,223,288,160,226,394,233,315,246)
dat<-as.data.frame(cbiind(Age,Cholesterol))
cor(Age,Cholesterol)
.35
The correlation coefficient between Age and Cholesterol was .35. This would suggest that there is not a strong relationship between the Age and Cholesterol of a patient. I expected there to be a relationship between the two variables in the case that the older someone gets, the higher their cholesterol.