Blog Archives

Eight Christmas Gift Ideas for the Statistically Interested

December 1, 2014
By
Eight Christmas Gift Ideas for the Statistically Interested

Christmas is soon upon us and here are some gift ideas for your statistically inclined friends (or perhaps for you to put on your own wish list). If you have other suggestions please leave a comment! :) 1. Games of probability A recently released game where probability takes the main role is Pairs, an easy going press-your-luck game that can...

Read more »

How to Summarize a 2D Posterior Using a Highest Density Ellipse

November 13, 2014
By
How to Summarize a 2D Posterior Using a Highest Density Ellipse

Making a slight digression from last month’s Probable Points and Credible Intervals here is how to summarize a 2D posterior density using a highest density ellipse. This is a straight forward extension of the highest density interval to the situation where you have a two-dimensional posterior (say, represented as a two column matrix of samples) and you want...

Read more »

Tidbits from the Books that Defined S (and R)

November 5, 2014
By
Tidbits from the Books that Defined S (and R)

Why R? Because S! R is the open source implementation (and a pun!) of S, a language for statistical computing that was developed at Bell Labs in the late 1970s. After that, the implementation of S underwent a number of major revisions documented in a series of seminal books, often just referred to by the color of their cover: The...

Read more »

Probable Points and Credible Intervals, Part 1

October 26, 2014
By
Probable Points and Credible Intervals, Part 1

After having broken the Bayesian eggs and prepared your model in your statistical kitchen the main dish is the posterior. The posterior is the posterior is the posterior, given the model and the data it contains all the information you need and anything else will be a little bit less nourishing. However, taking in the posterior in one gulp...

Read more »

Tiny Data, Approximate Bayesian Computation and the Socks of Karl Broman

October 20, 2014
By
Tiny Data, Approximate Bayesian Computation and the Socks of Karl Broman

Big data is all the rage, but sometimes you don’t have big data. Sometimes you don’t even have average size data. Sometimes you only have eleven unique socks: Karl Broman is here putting forward a very interesting problem. Interesting, not only because it involves socks, but because it involves what I would like to call Tiny...

Read more »

Bayesian First Aid: Poisson Test

September 4, 2014
By
Bayesian First Aid: Poisson Test

As the normal distribution is sort of the default choice when modeling continuous data (but not necessarily the best choice), the Poisson distribution is the default when modeling counts of events. Indeed, when all you know is the number of events during a certain period it is hard to think of any other distribution, whether you are modeling the...

Read more »

drinkR: Estimate your Blood Alcohol Concentration using R and Shiny.

July 30, 2014
By
drinkR: Estimate your Blood Alcohol Concentration using R and Shiny.

Inspired by events that took place at UseR 2014 last month I decided to implement an app that estimates one’s blood alcohol concentration (BAC). Today I present to you drinkR, implemented using R and Shiny, Rstudio’s framework for building web apps using R. So, say that I had a good dinner, drinking a couple of glasses...

Read more »

Chillin’ at UseR! 2014

July 7, 2014
By
Chillin’ at UseR! 2014

This year’s UseR! conference was held at the University of California in Los Angeles. Despite the great weather and a nearby beach, most of the conference was spent in front of projector screens in 18° c (64° f) rooms because there were so many interesting presentations and tutorials going on. I was lucky to present my R package...

Read more »

beepr (former pingr) is on CRAN. It’s easier than ever to make R go beep!

June 30, 2014
By
beepr (former pingr) is on CRAN. It’s easier than ever to make R go beep!

Even though I said it would never happen, my silly package with the sole purpose of playing notification sounds is now on CRAN. Big thanks to the CRAN maintainers for their patience! For instant gratification run the following in R to install beepr and make R produce a notification sound: install.packages("beepr") library(beepr) beep() This package was previously called pingr and included...

Read more »

Bayesian First Aid: Test of Proportions

June 26, 2014
By
Bayesian First Aid: Test of Proportions

Does pill A or pill B save the most lives? Which web design results in the most clicks? Which in vitro fertilization technique results in the largest number of happy babies? A lot of questions out there involves estimating the proportion or relative frequency of success of two or more groups (where success could be a saved life, a...

Read more »