Skip to content

Multivariable regression model that predicts life expectancy based on several variables.

License

Notifications You must be signed in to change notification settings

TheDigitalScribe/PredictLifeExpectancy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

A Multivariable Regression model that predicts life expectancy given other variables. Used a Kaggle dataset that has data on many countries, regarding GDP, population, infant/adult mortality, life expectancy etc. It was an attempt to try out the machine learning knowledge that I have been teaching myself. Some variables seemed to have very high P-Values so I removed some from the model and compared the BIC and R-Squared values to the original full model and got a better BIC result with a slightly lower R-Squared value.

BIC and R-Squared

For original full model:

BIC: 7204.271948131657

R-Squared: 0.8375967031163584

For reduced model:

BIC: 7164.046187986783

R-Squared: 0.8372414639834214

Screenshots

P-Values

pvalues list

Actual vs Predicted Life Expectancy

Life Expectancy Graph

Actual and Predicted Values

Actual and Predicted Values

About

Multivariable regression model that predicts life expectancy based on several variables.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published