Skip to content

lmaragon/RegressionAnalysis

Repository files navigation

Using Linear Regression to Predict Happiness Score

Authors

Andrew Hong, Luis Aragon

Date

August 2018

View Project

To view the project, please refer to the FinalProject.pdf file for the written summary, code output, and appendix. For a closer look at each step of the code, refer to the Project.md file.

Description

The World Happiness Report is a survey that ranks 155 countries based on their happiness. The score is calculated by asking people the question of how happy they are on a scale of 1-10. This data set contains information from the 2015 survey including factors such as each country’s average happiness score, GDP per capita, average life expectancy, freedom index, etc. Our first question involves using the survey factors to quantitatively understand the effect they have on the response (happiness score) by building and choosing the best model and also seeing if the GDP per capita has interaction with any other variable. Our second question involves using the previous model to predict the happiness scores for hypothetical countries with minimal, average, and maximum variable values.

Questions of Interest

  1. Which is the best set of predictors for performing linear regression and predicting happiness score? Does the effect of GDP per capita on Happiness Score depend on any other predictors (Are there interaction terms involving Economy/GDP)?
  2. What happiness score would a country with minimum, average, or maximum values on all predictors have?

Tools

RStudio: R and RMarkdown

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published