A Zero-Maths Introduction to Bayesian Statistics

A Zero-Maths Introduction to Bayesian Statistics

Decoding the crusades of the statistics world — Bayesian vs Frequentism

This one doesn’t need much introduction. Thousands of articles, papers have been written and a few wars have been fought on Bayesian vs Frequentism. In my experience, most folks start with usual linear regression and work their way up to build more complex models and only a few get to dip their feet in the holy pool of Bayes and this lack of opportunity along with the terseness of the topic punches holes in the understanding, at least for me it did.

Image for post

Photo by Clay Banks on Unsplash

Building intuition for Bayesian processes

Let’s build an intuition for Bayesian analysis. I believe one time or the other you might have been sucked in the debate between Frequentism vs Bayesian. There is a lot of literature out there that can explain the difference between the two approaches of statistical inference.

Image for post

Image for post

How does the Bayesian approach include prior information?

Image for post

Image for post

Give yourself a pat on the back if you have made it this far! 🙂

Source: Giphy.com

Moment of truth through an example

Let’s see if we can understand what we learned above with some simple example to build our intuition.

Image for post

Non-Bayesian(Frequentist) = Bayesian with a uniform prior

Image for post

Uninformative prior gives the same results as the frequentist approach(Image by Author)
Image for post

Prior changed to a beta distribution and we see that it is doing better than frequentist(Image by Author)
Image for post

An opinionated prior which makes the results of the Bayesian approach mimick the real world as compared to frequentist(Image by Author)

Our existing knowledge about the coin had a major impact on the results and that makes sense. It is the polar opposite to the frequentist approach in which we assume that we know NOTHING about the coin and these 20 observations are the gospel.

Conclusion

So you see how through Bayesian, despite having a paucity of data, we were able to reach the approximately right conclusion when we included our initial beliefs in the model. Bayes’ rule is behind the intuition of Bayesian statistics(such an obvious statement to make) and it provides an alternative to frequentism.

Please understand that it doesn’t mean that Bayesian is the best approach for solving all data science problems; It is only one of the approaches and it would be fruitful to learn both Bayesian and Frequentist methods rather than fighting the crusades between these schools of thoughts.

Source: Giphy

Leave a Comment