R

Blogs on the R software.

A short taxonomy of Bayes factors

November 21, 2014
By

[Update Oct 2014: Due to some changes to the Bayes factor calculator webpage, and as I understand BFs much better now, this post has been updated …] I started to familiarize myself with Bayesian statistics. In this post I’ll show some insig...

Read more »

rmarkdown: Alter Action Depending on Document

November 18, 2014
By
rmarkdown: Alter Action Depending on Document

Can I see a show of hands for those who love rmarkdown? Yeah me too. One nifty feature is the ability to specify various document prettifications in the YAML of a .Rmd document and then use: The Problem Have you … Continue reading →

Read more »

First steps with ChainLadder: Import triangle from Excel into R

November 18, 2014
By
First steps with ChainLadder: Import triangle from Excel into R

Taking the first step is often the hardest: getting data from Excel into R. Suppose you would like to use the ChainLadder package to forecast future claims payments for a run-off triangle that you have stored in Excel.How do you get the triangle into R...

Read more »

A Letter of Recommendation for Nan Xiao

November 18, 2014
By
A Letter of Recommendation for Nan Xiao

I hope my letter could boost this guy up like: I'm not sure if I'm a good observer, but time and time again I feel some people are undervalued, or they were not given better opportunities to show their value. Not surprisingly, I know quite...

Read more »

Example 2014.13: Statistics doesn’t have to be so hard! Resampling in R and SAS

November 17, 2014
By
Example 2014.13: Statistics doesn’t have to be so hard! Resampling in R and SAS

A recent post pointed us to a great talk that elegantly described how inferences from a trial could be analyzed with a purely resampling-based approach. The talk uses data from a paper that considered the association between beer consumption and mosqu...

Read more »

SAS PROC MCMC example in R; Poisson Regression

November 16, 2014
By

In this post I will try to copy the calculations of SAS's PROC MCMC example 61.5 (Poisson Regression) into the various R solutions. In this post Jags, RStan, MCMCpack, LaplacesDemon solutions are shown. Compared to the first post in this series, rcppbu...

Read more »

Le Monde puzzle [#887bis]

November 15, 2014
By
Le Monde puzzle [#887bis]

As mentioned in the previous post, an alternative consists in finding the permutation of {1,…,N} by “adding” squares left and right until the permutation is complete or no solution is available. While this sounds like the dual of the initial solution, it brings a considerable improvement in computing time, as shown below. I thus redefined […]

Read more »

Sending text messages at random times using python

November 15, 2014
By
Sending text messages at random times using python

Given my interest for applying statistics and analytics to most (if not all of the) quantifiable aspects of my life, when I learned about self-tracking, and the associated 'Quantified Self' movement, it should come as no surprise to anyone that knows me that I wanted to get started right away. And... Given my interest in »more

Read more »

Le Monde puzzle [#887]

November 14, 2014
By
Le Monde puzzle [#887]

A simple combinatorics Le Monde mathematical puzzle: N is a golden number if the sequence {1,2,…,N} can be reordered so that the sum of any consecutive pair is a perfect square. What are the golden numbers between 1 and 25? Indeed, from an R programming point of view, all I have to do is to […]

Read more »

AusDM 2014 Conference Program

November 12, 2014
By
AusDM 2014 Conference Program

The Program of AusDM 2014 Conference is now available at http://ausdm14.ausdm.org/program. It features two keynote talks, one on Learning in Sequential Decision Problems by Prof Peter Bartlett from UC Berkeley, and the other on Making Sense of a Random World through … Continue reading →

Read more »


Subscribe

Email:

  Subscribe