Articles by Rasmus Bååth

Easy Bayesian Bootstrap in R

July 14, 2015 | Rasmus Bååth

A while back I wrote about how the classical non-parametric bootstrap can be seen as a special case of the Bayesian bootstrap. Well, one difference between the two methods is that, while it is straightforward to roll a classical bootstrap in R, there is no easy way to do a ... [Read more...]

Hygge at UseR! 2015, Aalborg

July 6, 2015 | Rasmus Bååth

hygge A Danish word (pronounced HU-guh) meaning social coziness. I.e. the feeling of a good social atmosphere. – Urban Dictionary Yes, there was plenty of hygge to go around this year’s UseR! that took place last week in Aalborg, Denmark. Everybody I’ve spoken with agrees that it was ... [Read more...]

The Non-parametric Bootstrap as a Bayesian Model

April 17, 2015 | Rasmus Bååth

The non-parametric bootstrap was my first love. I was lost in a muddy swamp of zs, ts and ps when I first saw her. Conceptually beautiful, simple to implement, easy to understand (I thought back then, at least). And when she whispered in my ear, “I make no assumptions regarding ... [Read more...]

Peter Norvig’s Spell Checker in Two Lines of Base R

December 16, 2014 | Rasmus Bååth

Peter Norvig, the director of research at Google, wrote a nice essay on How to Write a Spelling Corrector a couple of years ago. That essay explains and implements a simple but effective spelling correction function in just 21 lines of Python. Highly recommended reading! I was wondering how many lines ... [Read more...]

Tidbits from the Books that Defined S (and R)

November 5, 2014 | Rasmus Bååth

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 ... [Read more...]

Probable Points and Credible Intervals, Part 1

October 26, 2014 | Rasmus Bååth

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 ... [Read more...]

Bayesian First Aid: Poisson Test

September 4, 2014 | Rasmus Bååth

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 ... [Read more...]

Chillin’ at UseR! 2014

July 7, 2014 | Rasmus Bååth

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 ... [Read more...]

Bayesian First Aid: Test of Proportions

June 26, 2014 | Rasmus Bååth

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 ... [Read more...]
1 2 3 4

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)