Project

Project 2

Happiness is what everyone wants to get. It will make us happy and help us forget our worries and pains. Everyone has different definitions of happiness. Some people say that eating delicious food is a kind of happiness; others say that family reunion is a kind of happiness; others say that the birth of a new life is a kind of happiness; some people even say that being praised by others is a kind of happiness.

Introduction

My group has decided to use the 2019 World Happiness Report dataset for our project which is about the score of happiness in 156 countries. In the dataset, there are six factors that affect happiness such as  social support, healthy life expectancy and generosity. We chose this data because we find it interesting as it is a foreign concept for us since we never knew there were happiness scores for each country. Apart from that, we are eager to find the relationship between all of the factors with the happiness score given. The datasets can be seen on the right:

Project 2 PDF

Dataset

ANOVA Test

WhatsApp Image 2021-07-02 at 7.38.58 PM.jpeg.2

 

ANOVA SUMMARY

SOURCE

DEGREE OF FREEDOM, DF

SUM OF SQUARES,

SS

MEAN SQUARE, MS

F-STAT

P-VALUE

Between Groups

    k-1= 

    3-1= 

    2

91.4128

45.7064

1150.9317

    0

Within Groups

    N-k =

    468 - 3=

   465

18.4663

0.0397

   

Total:

   467

109.8792

     

F Distribution Graph

WhatsApp Image 2021-07-03 at 12.36.02 AM.jpeg

F critical value = 3.238

 

Conclusion: 

Since the F (Test statistic) > F (Critical value) (1150.93 > 3.0054) and the P-value = 0 < 0.00001, the null hypothesis, H0 is rejected at the significance level of 0.05. There is enough evidence that at least one means for social support, freedom to make life choices and generosity for different countries are different. . 

Reflection RSS

Project 2 Reflections

          During this project, I was assigned to do the optional analysis where I could choose between three test which are goodness-of-fit test, Chi Square test of independence test and lastly the ANOVA test. Before choosing the test, I try to do some research for each test to compare what is the best test for the dataset that my group has chosen which was the ‘2019 World Happiness Report’ by exploring the internet and also by rewatching the lecture videos in E-Learning. By doing these researches, I was able to get a better and deeper understanding between the three tests. At first, I have chosen to do the Chi Square Test of Independence however after making some calculations, I discovered that my calculations looked strange. With that, I tried contacting my groupmates to help and assist me which helped me in developing communication and teamwork skills.  After deciding to use ANOVA test, I did more research on ways to do the calculations in Rstudio and also on generating the graph.

            By conducting this project, I not only was able to get a better grasp of understanding in the various tests that has been taught throughout the semester but I also managed to gain different skills such as using the Rstudio and Excel where I learned the ways to utilize these two softwares to help making the process of analysing and plotting graph easier by watching Youtube videos and reading explanations and examples in different sites. I also was able to enhancie my communication skills and others which is very useful for me in the near future. By learning the importance of doing all the tests such as the hypothesis testing, ANOVA test, correlation test and regression test, I will apply this new learned skill and knowledge in my future studies and career.

Details