Monthly Archives: September 2011

Go vector or go home

September 21, 2011
By

My programming experience progressed mostly along the lines of: C, C++, shell, Java, Java, Ruby, Python, Java, Java. Only recently have I started exploring the likes of Haskell, Erlang and R. Well that evolution bit me a little while back when I tried ...

Read more »

digest 0.5.1

September 21, 2011
By

A new version of the digest package (which generates hash function summaries for arbitrary (and possibly nested) R objects using any of the standard md5, sha-1, sha-256 or crc32 algorithms) is now on CRAN. Bryan Lewis, who is doing very stuff with ...

Read more »

Strangeloop 2011 Day 2

September 21, 2011
By
Strangeloop 2011 Day 2

I’m headed back home from Strangeloop 2011 this morning. Once again I booked an early flight so was up at 4:45 to get to the airport (when will I learn?) The conference was a smashing success as far as I am concerned. It was extremely well run and the talks were full of solid content.

Read more »

Handbook of Markov chain Monte Carlo

September 21, 2011
By
Handbook of Markov chain Monte Carlo

At JSM, John Kimmel gave me a copy of the Handbook of Markov chain Monte Carlo, as I had not (yet?!) received it. This handbook is edited by Steve Brooks, Andrew Gelman, Galin Jones, and Xiao-Li Meng, all first-class jedis of the MCMC galaxy. I had not had a chance to get a look at

Read more »

More facebook and google plus on the Graph Gallery

September 21, 2011
By
More facebook and google plus on the Graph Gallery

Following up on yesterday's post about facebook like box, I've added some more social things into the gallery. The main page gains a google plus "plus one" button, and each graph page now has a +1 button, a facebook like button, and a facebook comm...

Read more »

Simple plot using R

September 21, 2011
By
Simple plot using R

As a task for my Financial eco assignment I had to plot a simple time series of the overnight MIBOR(Mumbai interbank offer rates) for the past one year . The job could very well have been done easily in MS-Excel but I choose to plot it in R instea...

Read more »

Project Euler: problem 3

September 21, 2011
By
Project Euler: problem 3

The prime factors of 13195 are 5, 7, 13 and 29.What is the largest prime factor of the number 600851475143 ?This one was quite easy, and much easier in R as it turns out.The GNU Multi-Precision Library (GMP) is available as a package in R. So the only ...

Read more »

Variogram fit with RPanel

September 21, 2011
By
Variogram fit with RPanel

During the UseR 2011 conference I saw lots of examples of the use of RPanel to create a GUI in R. Yesterday, because I was a bit bored of the work I was doing I started thinking about this and I decided to try this package.My objective was to create a new panel with all the main setting for...

Read more »

A Note on Antoniak’s Approximation for Dirichlet Processes

September 21, 2011
By
A Note on Antoniak’s Approximation for Dirichlet Processes

Antoniak's 1974 article titled Mixtures of Dirichlet Processes with Applications to Bayesian Nonparametric Problems (Annals of Statistics 2(6):1152-1174) is a fundamental work for most modern developments in this area. The article gives two expressions for the expected number of distinct values in a sample of size n, drawn from a Dirichlet process-distributed probability distribution with

Read more »

Solvency 2 WordCloud

September 21, 2011
By

Slow day at PSY headquarters: Click see wordleWe grabbed the Solvency II directive text from the EC website (© European Union, http://eur-lex.europa.eu/) and ran it through a couple of lines of R code to draw up wordcount frequencies. Then we plotted the text in Wordlehttp://www.wordle.net/show/wrdl/4111834/Solvency_2We're not convinced about the utility of WordClouds, but they look cool....

Read more »