ABC [PhD] course

January 25, 2012
By
ABC [PhD] course

As mentioned in the latest post on ABC, I am giving a short doctoral course on ABC methods and convergence at CREST next week. I have now made a preliminary collection of my slides (plus a few from Jean-Michel Marin’s), available on slideshare (as ABC in Roma, because I am also giving the course in

Read more »

ESPN Prediction Performance for the NFL

January 25, 2012
By
ESPN Prediction Performance for the NFL

Description:ESPN 'experts' predict the National Football League wins/losses each week.  The above chart shows the percentage of their correct guesses and an overall trend, week by week.Data:http://espn.go.com/nfl/picksAnalysis:The graph shows an i...

Read more »

RStudio v0.95 Released

January 25, 2012
By
RStudio v0.95 Released

The final version of RStudio v0.95 is now available for download from our website (thanks to everyone who put the preview release through its paces over the last couple of weeks!). Highlights of the new release include: Projects — A new system for managing R projects that enables easy switching between working directories and per-project contexts

Read more »

RStudio does not start when using a R version built from source

January 25, 2012
By

Because I do not have root privileges on some of the machines I use, I build part of my software from source and install it into my own homedirectory. Doing that requires one to download R from CRAN, e.g. R… See more ›

Read more »

A wordcloud comparison of the 2011 and 2012 #SOTU

January 24, 2012
By
A wordcloud comparison of the 2011 and 2012 #SOTU

I wrote a quick (and very dirty) R script for creating a comparison cloud and a commonality cloud for President Obama’s 2011 and 2012 State of the Union speeches*. The cloud on the left shows words that have different frequencies between the two spe...

Read more »

Project Euler in R: Problem 25

January 24, 2012
By

Solutions in R to Project Euler problems are generally hard to find, so I've recently started posting R solutions on this site.  Here are the previous problems: problem 22, problem 23 and problem 24Now let's...

Read more »

R Appears Among Top 20 Programming Languages

January 24, 2012
By
R Appears Among Top 20 Programming Languages

Speaking of R… On the 16th, TIOBE Software released the Tiobe Index of the most popular programming languages. For the first time ever, R is in the Top 20. The top spots are, no surprise, occupied by Java and C respectively. More after the jump. The way this index is assembled is…interesting. The full way

Read more »

Geocode your data using, R, JSON and Google Maps’ Geocoding APIs

January 24, 2012
By

Over the last year and half, I have faced numerous challenges with geocoding the data that I have used to showcase my passion for location analytics.  In 2012, I decided to take thing in my control and turned to R.  Here, I am sharing a simpl...

Read more »

BBBT Podcast with David Smith

January 24, 2012
By

Last Friday I was fortunate enough to have the opportunity to travel to Boulder, CO and present R and Revolution Analytics to about 20 analysts as part of the Boulder BI Brain Trust (BBBT). It was a great pleasure to describe the vision for Revolution R Enterprise and got some great feedback from the particpants. During the event, I...

Read more »

It is "simply" the average value

January 24, 2012
By
It is "simply" the average value

for some obscure reasons, simple things are usually supposed to be simple. Recently, on the internet, I saw a lot of posts on the "average time in which you hold a stock", and two rather different values are mentioned "Take any stock in the United ...

Read more »

CBC Reviews: Revolution R (in which this doesn’t go well)

January 24, 2012
By
CBC Reviews: Revolution R (in which this doesn’t go well)

Update!: The latest version of Revolution R, which added support for RHEL 6, appears to work (it appears to at least install, run, and perform basic tasks). See this post for more details. I’ve come to enjoy using R. I had dabbled with it in the past, but found it painfully opaque, and the Effort:Reward

Read more »

Announcing boolean3 (beta)

January 24, 2012
By

After entirely too long, I am happy to announce the beta release of boolean3, an R package for modeling causal complexity. The package can be downloaded at the following links: Unix/Linux: boolean3_3.0.20.tar.gz Windows: boolean3_3.0.20.zip (Please let me know if you have any … Continue reading →

Read more »

Interactive Graphics with the iplots Package (from “R in Action”)

January 24, 2012
By
Interactive Graphics with the iplots Package (from “R in Action”)

(This article was first published on R-statistics blog » R, and kindly contributed to R-bloggers) The followings introductory post is intended for new users of R.  It deals with interactive visualization using R through the iplots package. This is a guest article by Dr. Robert I. Kabacoff, the founder of (one of) the first online R tutorials websites: Quick-R. Kabacoff has...

Read more »

Analyzing US Government Contract Awards in R

January 23, 2012
By
Analyzing US Government Contract Awards in R

As I was exploring open data sources, I came across USA spending. This site contains information on US government contract awards and other disbursements, such as grants and loans. In this post, we will look at data on contracts awarded in the state of Maryland in the fiscal year 2011, which is available by selecting "Maryland"...

Read more »

ACT to SAT M+V Concordance Chart in R

January 23, 2012
By

For those of who work in Enrollment Management and routinely analyze higher ed data, I wanted to share an easy way to convert ACT to equivalent SAT M+V scores in R. I am dynamically building a dataset that uses the concordance chart located here. Simply, use this data frame and merge it onto your existing

Read more »

New R User Group in Belgium

January 23, 2012
By

RBelgium is the latest local R user group to join the R community. Led by R user Jean-Baptiste Poullet, the group will host meetings on the first Friday of each month at the Alfot Hotel in Brussels, as well as weekly coffee get-togethers. The group also provides an on-line discussion forum on statistics and applications with R. You can...

Read more »

Flight mapping in R

January 23, 2012
By
Flight mapping in R

This map has been produced before (and much better) by others but who cares. This effort was achieved purely via the standard R plot function*. I believe the only departure from predecessor maps has been to order the list by … Continue reading →

Read more »

My first R package: parallel differential evolution

January 23, 2012
By
My first R package: parallel differential evolution

Last night I was working on a difficult optimization problems, using the wonderful DEoptim package for R. Unfortunately, the optimization was taking a long time, so I thought I'd speed it up using a foreach loop, which resulted in the fo...

Read more »

Marketing Mix Lab: Visualising The Correlation Matrix

January 23, 2012
By
Marketing Mix Lab: Visualising The Correlation Matrix

Following on from the previous post here is an R function for visualising correlations between the explanatory variables in your data set. An interesting example is the North Carolina Crime data set that comes with the plm package. This has the following continuous variables: crmrte crimes committed per person prbarr probability of arrest prbarr probability … Continue reading...

Read more »

The distribution of financial returns made simple

January 23, 2012
By
The distribution of financial returns made simple

Why returns have a stable distribution As “A tale of two returns” points out, the log return of a long period of time is the sum of the log returns of the shorter periods within the long period. The log return over a year is the sum of the daily log returns in the year.  … Continue reading...

Read more »

RNetLogo – A package for running NetLogo from R

January 23, 2012
By

Described in a new Methods in Ecology and Evolution paper here, a new R package RNetLogo allows you to use NetLogo from R. NetLogo is software is a "multi-agent programmable modeling environment". NetLogo can be used in individual- and agent-based mod...

Read more »

Starburst in R

January 22, 2012
By

> starburst('Matrices!') M M M a a a t t t rrr Matrices! ccc e e e s s s ! ! ! wrathematic led me FibBuzz, which led me to 

Read more »

Even odds

January 22, 2012
By
Even odds

This evening, I found a nice probabilistic puzzle on http://www.futilitycloset.com/ "A bag contains 16 billiard balls, some white and some black. You draw two balls at the same time. It is equally likely that the two will be the same color as diff...

Read more »

Some Rcpp benchmarks

January 22, 2012
By

I ran the Fibonacci number example from the Rcpp package on a number of computers and operating systems. Here are the results:A. On my main computer (Core 2 Extreme 3.06GHz, 8 GB memory) running Ubuntu 10.04 (g++ 4.4.3):        test...

Read more »

Simulating average height of a random binary search tree

January 22, 2012
By
Simulating average height of a random binary search tree

Recently on Stack Overflow I have found a discussion on Average height of a binary search tree. The problem has been solved analytically, see for example Reed (2003). However, I was intrigued by one of the answers that presented a simulation ...

Read more »

Cluster your Facebook friends

January 22, 2012
By
Cluster your Facebook friends

Last week, I came across two interesting posts by Romain François and Petr Simecek: Crawling Facebook with R, in which Romain explains how to connect to the Facebook Graph API Mining Facebook Data: Most “Liked” Status and Friendship Network, in which Petr use Romain’s function to visualize your friend’s network. As coincidence would have it, I also came across an...

Read more »

Time Series Intervention Analysis wih R and SAS

January 21, 2012
By
Time Series Intervention Analysis wih R and SAS

In a previous post, I worked through the theory behind intervention analysis. In his time series course, University of Georgia political science professor Jamie Monogan demonstrates how to implement intervention analysis in R.  The following examp...

Read more »

Lessons learned from a recent R package submission

January 21, 2012
By
Lessons learned from a recent R package submission

R has zillions of packages, and people are submitting new ones each day. The volunteers who keep R going are doing an incredibly useful service to the profession, and they’re busy. A colleague sends in some suugestions based on a recent experience with a package update: 1. Always use the R dev version to write The post Lessons...

Read more »

Ten reasons to love the cloud

January 21, 2012
By

Ten reasons to love the cloud: The names on Heroku. empty-moon-9726. Suddenly the cloud seems prosaic when you can have the moon. Being reunited with putty. It’s like catching up with an old friend. At first the conversation is a little stilted, but then you soon remember just how well you got on and what brought you together in the first...

Read more »