## Another Bernoulli factory

February 13, 2011
By

The paper “Exact sampling for intractable probability distributions via a Bernoulli factory” by James Flegal and Radu Herbei got posted on arXiv without me noticing, presumably because it came out just between Larry Brown’s conference in Philadelphia and my skiing vacations! I became aware of it only yesterday and find it quite interesting in that

## Visualize NHL Play-by-Play using Tableau Public and R

February 13, 2011
By

Nothing like a little Sunday morning data hacking before a big game!  I have been wanting to play with the NHL play-by-play event files for some time now.  The JSON datasets provide a wealth of information about each event in the game including the location, as defined by the fields xcoord and ycoord. I am

## The cranky guide to trying R packages

February 13, 2011
By

This is a tutorial on how to try out a new package in R. The summary is: expect errors, search out errors and don’t start with the built in examples or real data. Suppose you want to try out a novel statistical technique? A good fraction of the time R is your best bet for Related posts:

## What is the optimal strategy to marry the best one ?

February 13, 2011
By

Valentine's day is a nice opportunity to post on hot and sexy topics... Well, it's also an important day that I should not miss, probably as much as Saint Patrick's my wife's birthday. And as I mentioned last week (here), it is difficult to get the...

## sab-R-metrics: Displaying Line Plots and Time Series Data

February 13, 2011
By

It's been a while since I've had the chance to add anything here, but last time I left everyone with some scatter plots and some customization tools for your graphics. This week will be a little more brief than the last few tutorials and what I'd like to do is show you how to display line graphs for...

## sab-R-metrics: Displaying Line Plots and Time Series Data

February 13, 2011
By

It's been a while since I've had the chance to add anything here, but last time I left everyone with some scatter plots and some customization tools for your graphics. This week will be a little more brief than the last few tutorials and what I'd like to do is show you how to display line graphs for...

## Installing R on Amazon Linux

February 13, 2011
By

When I wanted to run R (statistical software) on the Amazon "cloud", the first thing I found was this post explaining how to launch an Amazon EC2 "instance" (virtual machine) and pointing to an "image" (contains operating system and whatever else you w...

## Installing R on Amazon Linux

February 13, 2011
By

When I wanted to run R (statistical software) on the Amazon "cloud", the first thing I found was this post explaining how to launch an Amazon EC2 "instance" (virtual machine) and pointing to an "image" (contains operating system and whatever else you w...

## Statistical Analysis with R, a Review

February 12, 2011
By

Long Version: I have a Bachelor’s degree in Computer Science.  I’m pretty handy when it comes to

## Parallel computation [back]

February 12, 2011
By

We have now received reports back from JCGS for our parallel MCMC paper and they all are very nice and supportive! The reviewers essentially all like the Rao-Blackwellisation concept we developed in the paper and ask for additions towards a more concrete feeling for the practical consequences of the method. We should thus be able

## Enhancing R Graphic packages

February 12, 2011
By

This will be the last thing I’ll post prior starting to connect R with Metatrader. Indeed, as you may suspect already I use this blog as my lab-book. The following might be quite general, but it fits in my overall ambition to build a personal quant-trading architecture as professional as I can. Graphic visualization is

## Algorithmic Trading in R: Available Information

February 12, 2011
By

After digging through different blogs and info on the web I found an amazingly strong and developping community supporting R for specific applications in algorithmic trading. Thereafter I present some of the major information that I believe are essenti...

## Simulating second difference using Zelig

February 11, 2011
By

I am trying to simulate second difference using Zelig, here is my code:--------------------------------------------------------data(turnout)# estimationz.out <- zelig(vote ~ race*age + educate + income,            ...

## Simulating second difference using Zelig

February 11, 2011
By

I am trying to simulate second difference using Zelig, here is my code:--------------------------------------------------------data(turnout)# estimationz.out <- zelig(vote ~ race*age + educate + income,            ...

## Where should you publish that next paper?

February 11, 2011
By

Like many academics, Arthur Charpentier thinks a lot about publishing papers in journals. Specifically, we wondered if there was a way to figure out which journal was the best place to publish his next paper and have it accepted: I was wondering if there were clusters of journals, i.e. journals that publish almost the same kind of articles (so...

## UseR Meetup at Google San Francisco

February 11, 2011
By

Earlier this week, Google hosted the Bay Area useR Group at our San Francisco office. Over 40 attendees showed up to hear Dylan Beaudette from UC Davis give a presentation about investigating soil genesis and geography with R (PDF). Dylan has been using...

## UseR Meetup at Google San Francisco

February 11, 2011
By

Earlier this week, Google hosted the Bay Area useR Group at our San Francisco office. Over 40 attendees showed up to hear Dylan Beaudette from UC Davis give a presentation about investigating soil genesis and geography with R (PDF). Dylan has been using...

## Rounded Corners in ggplot2 Graphics

February 11, 2011
By

Last night, while working on something else that I want to finish, I ended up indulging in a bit of "yak shaving". I wondered how easy it would be to generate graphics in ggplot2 with rounded corners. I don't think that there is any nativ...

## Rounded Corners in ggplot2 Graphics

February 11, 2011
By

Last night, while working on something else that I want to finish, I ended up indulging in a bit of "yak shaving". I wondered how easy it would be to generate graphics in ggplot2 with rounded corners. I don't think that there is any nativ...

## Le Monde puzzle [#5]

February 10, 2011
By

Another Sudoku-like puzzle from the weekend edition of Le Monde. The object it starts with is a 9×9 table where each entry is an integer and where neighbours take adjacent values. (Neighbours are defined as north, west, south and east of an entry.) The question is about whether or not it is possible to find

## R overtakes SAS and Matlab in programming language popularity

February 10, 2011
By

Tiobe Software ranks the popularity of programming languages based on references in search engines. While the methodology might be debated in terms of the absolute rankings it produces, it is quite interesting to see how the rankings fluctuate over time: Tiobe has produced a monthly report of rankings based on this methodology since 2001. In the Tiobe Programming Community...

## Stata or R

February 10, 2011
By

Recently I came across a complex model written in Access with complex SQL queries all over the place. The engineer who was maintaining it and I did some analysis and agreed that the model was using SQL in an unnatural way (things SQL isn't good at) - c...

## Stata or R

February 10, 2011
By

Recently I came across a complex model written in Access with complex SQL queries all over the place. The engineer who was maintaining it and I did some analysis and agreed that the model was using SQL in an unnatural way (things SQL isn't good at) - c...

## When will my papers appear as references (if they do…) ?

February 10, 2011
By

Following my post on citations in academic journals, I wanted to go one step further in the understanding of the dynamic of citations. So here, the dataset looks like that: for each article, we have the name of the journal, the year of publicatio...

## Model weights for model choice

February 9, 2011
By
$Model weights for model choice$

An ‘Og reader. Emmanuel Charpentier, sent me the following email about model choice: I read with great interest your critique of Peter Congdon’s 2006 paper (CSDA, 50(2):346-357) proposing a method of estimation of posterior model probabilities based on improper distributions for parameters not present in the model inder examination, as well as a more general

## Stationarity

February 9, 2011
By

In time series work you often run into difficulties in modeling processes where the overall level of one variable (an input, for example) changes over time but the levels of another variable (an output) do not change. For instance if … Continue reading →

## New R User Groups in Europe

February 9, 2011
By

It's great to see the growth in R user groups around the world, and now there are three new ones in western Europe: In Amsterdam, a new R user group has just formed, called amst-R-dam. They are just scheduling their first meeting now (vote here for a date) which will be in the next 3-4 weeks; In Geneva, the...

## Merci taxi!

February 9, 2011
By

I am in Montpellier today for a general meeting of our EMILE ANR grant bi-yearly meeting, discussing ABC model choice and new applications of simulation methods in population genetics, including an upgrade of DIYABC into the 2.0 version. (The above is a picture comparing “true” Bayes factors with ABC versions, commented in my Zürich talk