Image by author

What is a histogram?

A histogram is a representation of the probability distribution of a dataset. Given a bin width, the range of…

Let’s see if the unstoppable rising of the US index is actually going to stop.

S&P 500 monthly chart

Rise and fall of a perfect index

S&P 500 has proven to be the gold mine for every investor. An investor who bought an ETF on this…

Some thoughts about how the world is changing for 9–5 employees

Photo by Windows on Unsplash

Is 9–5 still the best choice?

I have a full-time job and I’ve been working in the same company for 11 years. I’ve seen the world changing around me…

A handy guide on how to calculate confidence intervals in Python

Photo by Edge2Edge Media on Unsplash

What is a confidence interval?

Imagine you ask me my height. I could say that…

A simple method to identify outliers

Photo by Isaac Smith on Unsplash

What is the Interquartile Range?

IQR (Interquartile Range) is the…

Let’s see how to estimate the maximum drawdown of an investment in Python

Image by author

What is maximum drawdown?

The maximum drawdown is the maximum…

Let’s see how to increase the stability of a model using bagging technique

Example of bagging. Image by author

Bias-variance tradeoff

In machine learning, the prediction error can be…

Gianluca Malato

Theoretical Physicists, Data Scientist and fiction author. I teach Data Science, statistics and SQL on

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store