Tag Archives: Matplotlib

Covid-19 Sweden: A summary

Sweden has been painted as the Black Sheep of the international community with respect to its ways to deal with the Covid-19 virus.  People and orginizations around the world were very quick to paint Sweden as the Sodom & Gomorra … Continue reading

Posted in Bayes, Data Analytics, Epidemics, MCMC, Pandas, Politik, Probability, PYMC, Python, Society, Statistics, Sverige | Tagged , , , , , , , , , , , | 4 Comments

Corona Sweden : Infection Fatality Rate

It’s been a while ago since I ran my MCMC-hack to estimate the Swedish Infection Fatality Rate, main reason being that each run takes an awful lot of computing time, around 10h, to get the MCMC to converge… and during … Continue reading

Posted in Bayes, Data Analytics, Epidemics, MCMC, Pandas, Probability, PYMC, Python, Statistics | Tagged , , , , , , , , , | Leave a comment

Corona : slowing down…?

Some further analysis on Corona, with data up and including yesterday. First, let’s look at the global spread: The first of these plots has linear (lin/lin) scale, and should be familiar from any of the many sites that post data … Continue reading

Posted in Bayes, Data Analytics, Epidemics, Numpy, Pandas, Probability, PYMC, Python, Research, Society, Statistics, Sverige | Tagged , , , , , , , , , , , | Leave a comment

Tour de Ski Final climb – does age matter for performance ?

In an earlier post, I analyzed data from the Marcialonga Ski race. Marcialonga is one of the classic long distance ski races, where both elite’ as well as amateurs compete together. In fact, the vast majority of the competitors in … Continue reading

Posted in Bayes, Data Analytics, Math, Numpy, Pandas, Probability, PYMC, Python, SNA, sports, Statistics | Tagged , , , , , , , , | Leave a comment

Bayesian Linear Regression with PYMC

Python, Pandas & PYMC example on Bayesian Linear Regression, adopted from Richard McElreath’s “Statistical Rethinking” class, where he uses R as modeling language instead of PYMC. Data in a csv-file describe various attributes such as weight, height, age, gender etc … Continue reading

Posted in Bayes, Data Analytics, Numpy, Pandas, Probability, PYMC, Python, Statistics | Tagged , , , , , , , | Leave a comment

Using Bayesian Inference to predict and bet on Italian Serie A Fotball

As my old timer readers know, I’be been using Bayesian Inference to predict and bet on various sporting events, such as FIFA World Cup, and IIHF World Championships. With some success. When the Italian premier division started for about a … Continue reading

Posted in Bayes, Data Analytics, Gambling, Machine Learning, Numpy, Probability, PYMC, Python, Simulation, Statistics | Tagged , , , , , , , , , , , , , | Leave a comment

Bayesian Multi-predictor Regression – Valet2018

[Continuing my exploration of the Swedish election results, but I thought this might be of interest also for those of you not very interested in the Swedish elections, simply because the potential MatStat’s  insights – thus, the text is in … Continue reading

Posted in Bayes, Big Data, Data Analytics, Data Driven Management, Numpy, Politik, Probability, PYMC, Python, Research, Society, Statistics, Sverige | Tagged , , , , , , , , , , | 1 Comment

PYMC – Markov Chain Monte Carlo regression – canonical example

Posted in Bayes, Data Analytics, Numpy, Probability, PYMC, Python, Statistics | Tagged , , , , , , , , | Leave a comment

Val2018 Bayesian Inference – sammanfattning

Nu är ju inte den slutgiltiga rösträkningen klar, men resultatet ur ett statistiskt / matematiskt perspektiv är ändå så stabilt att jag väljer att summera mina resultat redan nu. I graferna nedan har jag använt mig av samtliga opinionsinstituts prognoser … Continue reading

Posted in Bayes, Data Analytics, Functional Stupidity, Politik, Probability, PYMC, Society, Statistics, Sverige | Tagged , , , , , , , , , , , , | Leave a comment

Val2018 – sista prognosen

Första grafen: Bayesian Inference över samtliga opinionsinstituts mätningar augusti-september 2018. Andra grafen: samma rådata som ovan, obearbetat. Stora skuggade stapeln för respektive parti anger valresultatet 2014.  Svarta tunna staplarna är 89:e percentilen.

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