For a JavaScript-based project I’m working on, I need to be able to sample from a variety of probability distributions. There are ways to call R from JavaScript, but they depend on the server r...
https://statisticsblog.com/2015/10/15/random-samples-in-js-using-r-functions/
Just added to my Big Bright Green Manifesto Machine. You might need to read this through a couple times; it’s a difficult concept since it lives in a collective blind spot for us: Doing ethics ...
https://statisticsblog.com/2013/07/01/morality-needs-probability-manifesto-addendum/
We often speak implicitly of different types of randomness but neglect to name or categorize them. Consider this post to be a kind of white paper or rough draft on the division of randomness into...
https://statisticsblog.com/2012/02/23/a-classification-scheme-for-types-of-randomness/
Toss one hundred different balls into your basket. Shuffle them up and select one with equal probability amongst the balls. That ball you just selected, it’s special. Before you put it back, in...
The standard, textbook way to represent a density function looks like this: Perhaps you have seen this before? (Plot created in R, all source code from this post is included at the end). Not only...
https://statisticsblog.com/2010/06/12/a-different-way-to-view-probability-densities/
I found this interesting question over here at mathoverflow.net. Here’s the question: If you have a country where every family will continue to have children until they get a boy, then they wil...
https://statisticsblog.com/2010/04/30/how-many-boys-how-many-girls/