Tag: python

  • Which method should I use? – A guide to benchmarking

    time_benchmark.md Which method should I use? – a tutorial on benchmarking Introduction The five methods to reverse a list in Python Measuring time Measuring scaling Conclusion Introduction Last week LinkedIn has shown me the following post The LinkedIn post left out the original source which, after some reverse image search, I found to be the…

  • Why do we need Bayesian statistics? Part III – Learning multivariate distributions (tutorial)

    Lighthouse2.md Why do we need Bayesian statistics? Part III – Learning multivariate distributions (tutorial) Introduction The likelihood Prior Posterior Inference Marginal posterior distribution Conclusion Introduction In the previous entry of this tutorial series, we studied the lighthouse problem. The goal was to infer (or learn) the position of the lighthouse from observations of where the…

  • Why do we need Bayesian statistics? Part II — The lighthouse problem (tutorial)

    Lighthouse.md Why do we need Bayesian statistics? Part II – The lighthouse problem (tutorial) Introduction Generating (synthetic) data Mean and standard deviation Bayesian Cauchy distribution Likelihood Prior Posterior Credible intervals Conclusion Introduction The lighthouse problem serves as a deceptively simple but captivating challenge in the field of statistics. As we shall explore, it subverts our…