Author: Pedro Pessoa

  • A primer on the normal distribution

    normal.md A primer on the normal distribution Introduction Why is the normal distribution so important? Where does the (68.3,95.4,99.7)(68.3, 95.4, 99.7)(68.3,95.4,99.7) rule comes from? Integrating the normal distribution The standard normal Error function Conclusion Introduction New students in science and mathematics may have seen a figure such as the one below. This figure illustrates the…

  • 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…