Discover your happiness potential - a quiz
We want to generate an individual happiness score. For this we modified the original questions of the world happiness report a little bit and used the output datasets of our regression notebook.
Source of the original world happiness questions: https://worldhappiness.report/ed/2019/changing-world-happiness/
In the original world happiness report the answer posibilities are only 'Yes' or 'No'. To calucluate a better individual happiness score we used percentages as answers.
Load required packages and datasets
Welcome and Start
Part 1: Generic quiz
Question 1: In which country are you interested?
Question 2: What do you think, how happy were the people in your country in the last years on a scale from one (=lowest) to ten (=highest)?
Question 3: What do you think - was the happiness score stable over the past years in your country?
Question 4: Based on the prior knowledge - how good does the country rank in average? The range goes from rank 1 to 93.
Part 2: Calculation of Individual Happiness Score:
For the calculation of the individual happiness score we use a base score (see column score_base in the dataset score.csv) for the country the user lives in and an individual question score:
individual happiness score = base score + individual question score
The base score is defined by the GDP per capita, the life expectancy and a dystopia value for the chosen country.
The individual question score is defined by answering seven questions for six values (social support, freedom, generosity, corruption, positive and negative affect).
Question 5: In which country do you live?
Determine the base score
Question 6 (Social Support): If you were in trouble, in how many cases you can count on relatives or friends to help you whenever you need them?
Question 7 (Freedom): How many times were you satisfied with your freedom to choose what you do with your life?
Question 8 (Generosity): How often do you donated money to a charity on a scale from 0 (=never) to 10 (=always)? Please enter a whole number, e.g. '5'.
Question 9 (Corruption): What do you think: How widespread is corruption throughout the government?
Question 10 (Corruption): What do you think: How widespread is corruption within businesses?
Question 11 (Positive affect): Think about your last ten days. On how many of those days did you experience happiness, enjoyment and laughter?
Question 12 (Negative affect): Think about your last ten days. On how many of those days did you experience worry, sadness and anger?
Calculate individual score
Part 3: Further information for the user
Which are the countries closest to the indivdual score?
The importance of the country:
In which aspects of our calculation can the user improve the most?