Predicting the Life Expectancy of a Different Countries — Multiple Linear Regression

This image was taken from retireneenew.org

Introduction

Technical Description

Exploratory Data Analysis (EDA)

Fig. 1. Correlation heat map
Fig. 2. Two histograms showing the distribution of observations before log transformation (left graph), and after (right graph)

Modeling

Fig. 3. Model summary
Fig. 4. The residual error histogram (left) and residual error scatter plot (right).
Fig. 5. The model’s prediction versus the actual life expectancy. MSE = 3.022
Fig. 5 The inclusive of all predictors model predictions versus the actual life expectancy. MSE = 2.995

Take-Home Message

Summary

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store