Category Archives: Probability

More Mindbending Probability

In a previous post, I discussed the seemingly unintuitive logic of the famous Monty Hall Problem. However, with some careful thinking, even without resorting to Monte Carlo Simulation, I’m able to make sense of that apparent paradox. However, the paradox … Continue reading

Posted in Math, Numpy, Pandas, Probability, Python | Tagged , | 2 Comments

Covid Sweden – status 2020-08-03

SCB.se just released their weekly preliminary stat’s on deaths all causes. However, before looking at that data, let’s take a look at how Covid has evolved in Sweden, based on the numbers from Johns Hopkins University: Something remarkable seems to … Continue reading

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

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 – Latitude matters (!)

I was pointed towards looking into the possible impact of Latitude – yes, that’s right! – on Corona related deaths by Ivor Cummins, twitter handle @FatEmperor, who is very much involved in clearing up the pseudo-scientific mess the world has … Continue reading

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

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 Sweden – Herd Immunity matters

Sweden, and particularily the Swedish chief epidemiologist Anders Tegnell, as well as his predecessor/mentor Johan Giesecke, have received huge amounts of critizism for the “Swedish Strategy” fighting Corona. A key component of Tegnell’s & Giesecke’s rationale for not recommending Lockdown … Continue reading

Posted in Epidemics, Probability, Python, Simulation | Tagged , , , | Leave a comment

Bayes rule illustrated by a table

I just found this excellent illustration of Bayes Rule, in a book “Bayes’ Rule with Python, by James V. Stone, and thought I’d share it here, as a follow-up to earlier posts on Bayes rule, e.g. this one. Assume we … Continue reading

Posted in Bayes, Math, Probability | Tagged , , | Leave a comment

MCMC “Internals” – fitting the data

Lately, I’ve been puzzling over how exactly MCMC fits the data of the likelihood, that is, how exactly is that fitting done by the various tools implementing MCMC. So, this post is maily about MCMC Internals, not about how to … Continue reading

Posted in Bayes, Math, MCMC, Probability, Simulation | Tagged , , , , , | Leave a comment

Bayes Rule for Poets and other Mathematical Virgins* :-)

[ * The title alludes to a book titled “Higher Mathematics for Poets & other Mathematical Virgins” by Tönis Tönisson, a book that for many many moons ago got me to appreciate mathematics in depth] If you are anything like … Continue reading

Posted in Bayes, Epidemics, Math, Probability | Tagged , , , | Leave a comment

Gender Bias – but not the way you’d think : Simpson’s Paradox strikes again!

I’ve previously touched upon Simpson’s Paradox and the (for statisticians!) famous example fromUniversity of California Berkeley, where it indeed looked like that the admission board favored men over women: while 44% of male applicants got admitted, only 35% of the … Continue reading

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