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/
“So let’s start with the fact that the study had only 100 people, which isn’t nearly enough to be able to make any determinations like this. That’s very small power. Secondly, it was alre...
https://statisticsblog.com/2014/12/11/can-pregnant-women-intuit-the-sex-of-their-children/
VIDEO TRANSCRIPT: Hello, this is Matt Asher from StatisticsBlog.com. I’m going to be reviewing Mathematica 9, from Wolfram Research. In particular, I’ll be focusing on using it with R and to ...
https://statisticsblog.com/2013/03/18/review-of-mathematica-9-and-r-link/
Over the past couple weeks, I’ve been considering alternatives to R. I’d heard Python was much faster, so I translated a piece of R code with several nested loops into Python (it ran an order...
https://statisticsblog.com/2013/02/28/statistical-computation-in-javascript-am-i-nuts/
A couple days ago I noticed a fun piece of R code by Allan Roberts, which lets you create a digital snowflake by cutting out virtual triangles. Go give it a try. Roberts inspired me to create a w...
Let’s say your goal is to observe all known species in a particular biological category. Once a week you go out and collect specimens to identify, or maybe you just bring your binoculars to do ...
Noted without comment, visit Biostatistics Ryan Gosling !!! for more gems like the one above.
Shown above is a queueing simulation. Each diamond represents a person. The vertical line up is the queue; at the bottom are 5 slots where the people are attended to. The size of each diamond is ...
https://statisticsblog.com/2011/10/20/queueing-up-in-r-continued/
I should state right away that I know almost nothing about queuing theory. That’s one of the reasons I wanted to do some queuing simulations. Another reason: when I’m waiting in line at the b...
https://statisticsblog.com/2011/10/13/waiting-in-line-waiting-on-r/
In their book “Complex Adaptive Systems”, authors Miller and Page create a theoretic model for bee attacks, based on the real, flying, honey-making, photogenic stingers. Suppose the hive is t...
https://statisticsblog.com/2011/01/12/r-attack-of-the-hair-trigger-bees/