Monthly Archives: February 2018

Olympics 2018 – Medals

As per 20180224.

Posted in development, Statistics | Tagged , | Leave a comment

2018 Olympics – Medals per capita (thus far)

  [Update 20180224: updated per capita, plus a graph showing “Total Points”, where Gold gives 3p, Silver 2p, Bronze 1p]

Posted in Data Analytics, Statistics | Tagged , | Leave a comment

Distribution of distributions in 3D

Just a quick add-on to my previous post on yet another way to present multidimensional data: To recap, we have a “distribution of distributions”, where each distribution has two dimensions, mu and sigma. In the previous post, I chose to present … Continue reading

Posted in Bayes, Data Analytics, Data Driven Management, Math, Numpy, Probability, Python, Simulation, Statistics | Tagged , , , , , , , | Leave a comment

Homicide by firearms – statistics country by country

I wanted to experiment a bit with a for me previously unknown Python library, “Beautiful Soup”, which is an html and xml parser. So I used the Soup to grab data from a Wikipedia page, and massaged it a bit … Continue reading

Posted in Data Analytics, Python, Society, Statistics | Tagged , , , | Leave a comment

Tiny Data – Bayesian dirty socks – but how many were there in the laundry machine…?

I found this very illuminating short tutorial video on Approximate Bayesian Computation, by Rasmus Bååth, on youtube, and since Rasmus example uses R as the implementation language, I decided to implement the example in Python. The problem at hand is … Continue reading

Posted in Bayes, Data Analytics, Data Driven Management, Numpy, Probability, Python, Simulation, Statistics | Tagged , , , , , , | Leave a comment

Size Matters, particularly in prediction

A follow-up on my previous post on statistical significance and hypothesis-testing: Let’s say we pull a number of samples, as in the previous post, from both a control group and a test group. Let’s also say that for the samples from … Continue reading

Posted in A/B Testing, Bayes, Data Analytics, Data Driven Management, Probability, Simulation, Statistics | Tagged , , , , , | Leave a comment

Lies,damn lies, statistics,predictions – the world is more random than you might think…

For a number of years ago, John Ionnidis published a paper claiming to prove that most research papers are in fact wrong.  That is, the findings of many/most research papers can actually not be reproduced by other, independent teams. According … Continue reading

Posted in A/B Testing, Bayes, Data Driven Management, Numpy, Probability, Python, Research, Simulation, Statistics | Tagged , , , , , , , , , | Leave a comment

Val 2018 – KD ramlar ur Riksdagen

Har nu uppdaterat både datat och min Bayesian Inferencemodell, datat genom att lägga till siffrorna från samtliga övriga opinionsinstitut, och modellen körs numera i Stan, ett domänspecifikt språk för statistiska analyser. Efter en körning av samtliga publicerade opinionsundersökningar sedan valet … Continue reading

Posted in Bayes, Data Analytics, Numpy, Politik, Probability, Pystan, Python, Society, STAN, Statistics, Sverige | Tagged , , , , , , , | Leave a comment

Bayesian Inference av kommande resultat i Kommunalvalet i min hemkommun

Såg just att i en Facebook-grupp finns en poll “Vilket parti skulle du rösta på i kommunalvalet idag?” Eftersom den politiska situationen i min hemkommun är “lätt” turbulent, så tänkte jag att det kunde vara kul att köra en Bayesian … Continue reading

Posted in Bayes, Data Analytics, Politik, Probability, Python, Statistics, Sverige | Tagged , , , , , | Leave a comment

A/B-testing on trendline data using Bayesian Inference

Asume we are in the process of doing evidence based testing of two competing strategies, “A” and “B”, and we want to evaluate these competing strategies over several days, weeks, months or whatever timespan we have decided upon. That is, … Continue reading

Posted in A/B Testing, Bayes, Data Analytics, Data Driven Management, Numpy, Probability, Python, Simulation, Statistics | Tagged , , , , | Leave a comment