Doing linear regression the right way

This article was first published on Technical Posts Archives - TDS , and kindly contributed to python-bloggers. (You can report issue about the content on this page here)
Want to share your content on python-bloggers? click here.

Wanna become a data scientist within 3 months, and get a guaranteed job? Then you need to check this out !

Linear regression is without question the most famous statistical algorithm. It is often the first algorithm that is being taught in machine learning courses and it is surprisingly effective in a huge range of problems. It has a variety of nice properties, such as the fact that the coefficients have a clear interpretation.

However, linear regression is many times misused. The two most common problems I’ve seen in practice are:

  1. Not checking that the assumptions of the model are true.
  2. Not doing any kind of diagnostic checking.

This dashboard follows the ideas set out by my article on data science protocols. It conducts linear regression, along with various proven and trusted diagnostic tests in order to discover any issues with the model. This provides a safe way to run and use linear regression. The dashboard tests for:

Trending

The Positive Side of Technology: Leverage AI to Make Smarter Financial Business Decisions

  1. Multicollinearity
  2. Global assumptions (skewness, kurtosis, link function and heteroskedasticity).
  3. Outlier detection
  4. Model diagnostics

Let me know about any feedback which you might have.

Link to dashboard: https://stylianos-kampakis.shinyapps.io/linear_regression/

Wanna become a data scientist within 3 months, and get a guaranteed job? Then you need to check this out !

The Positive Side of Technology: Leverage AI to Make Smarter Financial Business Decisions

Power Skiving for Smaller Precise Robotics Machining

Unraveling the Key Techniques and Best Practices of Regression Testing for Ensuring Long-Term Quality Assurance

Unleashing the Power of ChatGPT: Revolutizing Communication and Streamlining Workflows

To leave a comment for the author, please follow the link and comment on their blog: Technical Posts Archives - TDS .

Want to share your content on python-bloggers? click here.