Skip to content

This repository helps figuring out the best univariate linear model

Notifications You must be signed in to change notification settings

bjoernbos/linear_model_selection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ShinyApp to figure out the best univariate linear model

This repository contains the ShinyApp of my Medium article on "How to select the best performing linear regression for univariate models".

screencast

Live Version

How to use it

Use this app as a companion to my article on "How to select the best performing linear regression for univariate models". In addition, you can use it as a framework to evaluate your own dataset or models.

Features

Different performance indicator indicate how well your model performs. I personally use the following for univariate models:

Adjusted R2

The adjusted R2 indicate, how much variation is explained by your model. Instead of the simple R2, the adjusted R2 takes the number of input factors into consideration. It penalises too many input factors in order to favor parsimonious models.

Residuals

The residuals should be equally distributed around zero. Otherwise, the model has an upward or downward bias in certain areas. Use them also to examine whether your dataset exhibits heteroscedacity. Finally, the residuals indicate the bandwidth in which your model errors are.

Build With

Author

About

This repository helps figuring out the best univariate linear model

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published