File
-
Download PSDA Project 2_ Loh Yew Chong_A19EC0076.zip
PSDA Project 2_ Loh Yew Chong_A19EC0076.zip Details
- Sunday, 28 June 2020 [263.4KB]
Report
-
Download Psda Project2 Report ( Loh yew chong_A19EC0076).pdf
Psda Project2 Report ( Loh yew chong_A19EC0076).pdf Details
- Sunday, 28 June 2020 [292.8KB]
R- programming code
-
Download Psda Project2( Loh Yew Chong).R
Psda Project2( Loh Yew Chong).R Details
- Sunday, 28 June 2020 [2.5KB]
Dataset
-
Download Heart-Attack-Dataset.xlsx
Heart-Attack-Dataset.xlsx Details
- Sunday, 28 June 2020 [18.9KB]
Prediction and Study of factors causing Heart Attack Video's
Introduction
This study is for the prediction of the heart attack. According to an internet article entitled “Heart attack” by MAYO CLINIC , it states that the men with the age of 45 or older and women with the age of 55 or older are more likely to have a heart attack than are younger men and women. Hence , I would like to test whether the age for men to get heart attack is 45 or older and the mean age for women to get heart attack is 55 or older . Besides that , I would like to study how the serum cholesterol in mg/dl ( chol ) affects the trestbps(resting blood pressure ) which is by correlation analysis. Undeniably , I would also like to study the relationship between the resting blood pressure( trestbps ) with the thalach maximum heart rate achieved ( thalach ) which is by regression analysis . On top of that , I would also like to determine whether there is a significant relationship between chest pain type ( Cp ) and resting electrocardiographic results ( Restecg ) resting electrocardiographic results using Chi Square test of independence .
Reflection
In this project , i learn how to do the inferential analysis. I did one sample testing , correlation analysis , regression analysis and chi square test of independence. I I get the chance to really like doing or analysis issue that i like . Its not exactly like the question that been ask in exam or in class. This like we apply it in real life that we doing it our own.
The biggest problem in the r programming is that i faced is the part i do the chi-square test. I hesitate for a long time whether my method is correct not . In the note , it got mention about the method used might come out warning message hence we need to merge the cells in the contingency table once and run again the test statistic method. After that, there will be no warning message appear. But this is not the case for me . After some consideration, i decide plan to to merge twice and it is working.
It is very interesting because after we analyse the variable or issues that we want to analysis , we can know more about it and determine its true or not and are there dependent and even their relationship between each other. In my view , this inferential statistic may use for business purposes. This project and this subject able to prepare my self for analysis work.