Posts Tagged ‘ Rstats ’

Comparing R to smoking

February 29, 2012
By

Francois Pinard comparing the R programming language to smoking: Using R is a bit akin to smoking. The beginning is difficult, one may get headaches and even gag the first few times. But in the long run, it becomes pleasurable and even addictive. Yet, deep down, for those willing to be honest, there is something not [...]

Read more »

R in Action

January 2, 2012
By
R in Action

No Starch Press sent me a copy of The Art of R Programming last Fall and I wrote a review of it here. Then a couple weeks ago, Manning sent me a copy of R in Action. Here I’ll give a quick comparison of the two books, then focus specifically on R in Action. Comparing R [...]

Read more »

Parallel particle filtering and pMCMC using R and multicore

December 29, 2011
By
Parallel particle filtering and pMCMC using R and multicore

Introduction In a previous post I showed how to construct a PMMH pMCMC algorithm for parameter estimation with partially observed Markov processes. The inner loop of a pMCMC algorithm consists of running a particle filter to construct an unbiased estimate of marginal likelihood. This inner loop is the place where the code spends almost all […]

Read more »

Lexical scope and function closures in R

November 23, 2011
By
Lexical scope and function closures in R

Introduction R is different to many “easy to use” statistical software packages – it expects to be given commands at the R command prompt. This can be intimidating for new users, but is at the heart of its power. Most powerful software tools have an underlying scripting language. This is because scriptable tools are typically [...]

Read more »

Review of “Parallel R” by McCallum and Weston

November 16, 2011
By
Review of “Parallel R” by McCallum and Weston

Introduction This is the first book review I’ve done on this blog, and I don’t intend to make it a regular feature, but I ordered a copy of “Parallel R” a few days ago. It arrived today, and I’m quite disappointed with it, so I wanted to write a quick review to provide some additional [...]

Read more »

Particle filtering and pMCMC using R

November 12, 2011
By
Particle filtering and pMCMC using R

In the previous post I gave a quick introduction to the CRAN R package smfsb, and how it can be used for simulation of Markov processes determined by stochastic kinetic networks. In this post I’ll show how to use data and particle MCMC techniques in order to carry out Bayesian inference for the parameters of [...]

Read more »

Stochastic Modelling for Systems Biology, second edition

November 9, 2011
By
Stochastic Modelling for Systems Biology, second edition

The second edition of my textbook, Stochastic Modelling for Systems Biology was published on 7th November, 2011. One of the new features introduced into the new edition is an R package called smfsb which contains all of the code examples discussed in the text, which allow modelling, simulation and inference for stochastic kinetic models. The [...]

Read more »

Faster Gibbs sampling MCMC from within R

July 31, 2011
By
Faster Gibbs sampling MCMC from within R

Introduction This post follows on from the previous post on Gibbs sampling in various languages. In that post a simple Gibbs sampler was implemented in various languages, and speeds were compared. It was seen that R is very slow for iterative simulation algorithms characteristic of MCMC methods such as the Gibbs sampler. Statically typed languages [...]

Read more »

Subscribe

Email:

  Subscribe