Analyzing Nike+ using R

Analyzing Nike+ using R

A couple of weeks ago, I finally took up running seriously. To keep myself motivated -- especially on dark winter nights -- I bought the Nike+ iPod sports kit. The sports kit was developed by a partnership of Nike and Apple, and consists of a tiny acce...

Read more »

Error Bars in R (& other R stuff)

January 14, 2009
By
Error Bars in R (& other R stuff)

I came across a useful post showing how to generate error bars on plots in R Note that for bar plots with error bars, you can use the function barplot2 which is associated with the gplots package (click [ here … Continue reading →

Read more »

R resources for psychologists

January 12, 2009
By
R resources for psychologists

As a quick follow-up to my previous post, I'll quickly note some R links specifically aimed at psychologists. Jonathan Baron and Yuelin Li have a excellent set of notes that cover ground from R basics to ANOVA (including repeated measures ANOVA) and beyond. Jonathan Baron also maintains a general set of R links. William Revelle's R guide for...

Read more »

R gets some -E-S-P-E-C-T

January 12, 2009
By
R gets some -E-S-P-E-C-T

NEW YORK TIMES STORY ON THE APPEAL OF R (click to view movie) It is no secret that Decision Science News is crazy about the R language for statistical computing. Find out why R is so great in this New York Times article. Then start to teach yourself R with our short series of video

Read more »

TextWrangler and R

TextWrangler and R

R is an environment for statistical computing (see also ‘Data Analysts Captivated by R's Power’ in the New York Times) which I use on an almost daily basis. However, the included text editor is not all that great, and that is why I use Text...

Read more »

Rcpp 0.6.3

January 9, 2009
By

I just pushed Rcpp 0.6.3 out to CRAN and Debian. This version adds a fix to the OS X installation (thanks to Simon Urbanek), adds some 'view-only' classes for R vectors, matrices and string vectors (kindly suggested/provided by David Reiss) as well two shorter helper functions to derive compilation and linker flags for packages using Rcpp.

Read more »

Review of R in NYT and GDAT

January 8, 2009
By
Review of R in NYT and GDAT

GDAT instructor, Jim Holtman, pointed me at this review of R in yesterday's New York Times. It definitely puts SAS on the defensive.Update: Another piece in the tech section of NYT.If you want to know how to apply R to performance data, sign up for th...

Read more »

R in the New York Times (updated)

January 8, 2009
By
R in the New York Times (updated)

There’s an article in the New York Times about R: An excerpt from the article: To some people R is just the 18th letter of the alphabet. To others, it’s the rating on racy movies, a … Continue reading →

Read more »

R-Sessions 30: Visualizing missing values

January 8, 2009
By
R-Sessions 30: Visualizing missing values

It always takes some time to get a grip on a new dataset, especially large ones. The code-books are often as indispensable as they are massive, and not always as clear as one would want. Routings, and resulting and strange patterns of missing values are at times difficult to find. I found a...

Read more »

Google Summer of Code 2009

January 7, 2009
By

Word is out that there will be a 2009 edition of the Google Summer of Code. I have some follow-up ideas based on last year's mentoring for both Debian and R, but there will be a better time and place to discuss possible project ideas.

Read more »

R featured in New York Times article

January 7, 2009
By

Today's New York Times carries a decent article about R. Predictably, this lead to one (short), two (longest), three (short) threads on the main R mailing list. One aspect merits further highlighting. The reporter asked whether R would pose a threat to SAS: "I think it addresses a niche market for high-end data analysts that want free, readily...

Read more »

Forecasting Presidential Elections

January 7, 2009
By
Forecasting Presidential Elections

Because of Andrew Gelman’s strong, repeated recommendations, I’ve been reading “Forecasting Presidential Elections” by Steven J. Rosenstone for the last two days. It’s quite a remarkable book and complex enough that I’m sure I’ll return t...

Read more »

New York Times on R

January 7, 2009
By
New York Times on R

This article by New York Times surely shows that R is one of mainstream statistical packages.Update: See also a followup article.

Read more »

Combining R and LaTeX with Sweave

January 6, 2009
By

Today I did some experiments to learn how to combine R and LaTeX to create reproducible research reports. Here are my first results:First Demo ...

Read more »

Combining R and LaTeX with Sweave

January 6, 2009
By

Today I did some experiments to learn how to combine R and LaTeX to create reproducible research reports. Here are my first results:First Demo ...

Read more »

Multiseat setup via Userful

January 3, 2009
By

As I had blogged a while back, multiseat use broke following the normal upgrade to Ubuntu 8.10. I had also suggested a fix but it turns out that the fix didn't work. So we had a clear regression -- multiseat use of a single Ubuntu workstation with two screens, two keyboards and two mice no longer worked. Consequently, the kids ended...

Read more »

RWinEdt and Windows Vista/Window 7

January 1, 2009
By

As a R user, I like to use RWinEdt as the text editor. I write code on it and send code to R by clicking buttons.I had a spare laptop from Jennifer. It does not have a working screen. I use that to test all kinds of software and OS systems. Recentl...

Read more »

RWinEdt and Windows Vista/Window 7

January 1, 2009
By

As a R user, I like to use RWinEdt as the text editor. I write code on it and send code to R by clicking buttons.I had a spare laptop from Jennifer. It does not have a working screen. I use that to test all kinds of software and OS systems. Recentl...

Read more »

R/Finance conference in Chicago in April: Call for Papers

January 1, 2009
By

The following went out to the R-announce and R-SIG-Finance mailing lists a few days ago. The conference already has a very strong lineup of invited speakers, and we are now asking R / Finance users from both academia and industry to submit suitable one-page abstracts: Call for Papers ...

Read more »

R/Finance 2009: Applied Finance with R

December 30, 2008
By
R/Finance 2009: Applied Finance with R

Call for PapersThe Finance Department of the University of Illinois at Chicago (UIC),the International Center for Futures and Derivatives at UIC, andmembers of the R finance community are pleased to announceR/Finance 2009: Applied Finance with Ron Apri...

Read more »

New stuff in the gdata R package

December 30, 2008
By
New stuff in the gdata R package

I have moved quite some functions from my "testing/playground" R package ggmisc to the gdata package. Bellow is the relevant text from the NEWS file. Here are the links:SVNSource packageWindows ZIP packageNEWS:New function .runRUnitTestsGdata that enab...

Read more »

RQuantLib 0.2.10

December 29, 2008
By

Earlier this month and following the release of QuantLib 0.9.7, I updated RQuantLib to version 0.2.10. For once, there were no changes required to keep up with QuantLib. Rather, changes were internal as Rcpp had been spun off into its own package. As Rcpp is now in Debian, RQuantLib itself was also updated in Debian...

Read more »

Rcpp now in Debian

December 25, 2008
By

Rcpp is an interface package that makes it easier to add C++ code to GNU R. It had started as a part of my RQuantLib project but has now come into its own as blogged here and here. As of today, Rcpp is now also available as a Debian package.

Read more »

High-Performance Computing with R

December 25, 2008
By
High-Performance Computing with R

Dirk has posted a new version of slides for a tutorial "Introduction to High-Performance Computing with R".

Read more »

Very flattering

December 24, 2008
By

Good friend and fellow Oak Park / River Forest runner Paul Oppenheim used his column in the local weekly for some very flattering words about the marathon runners in our informal running group and even highlighting my personal World Marathon Majors adventure. I may just have to keep a copy for my epitaph.

Read more »

Statistics for Neuroscience (Neuroscience 9506b)

December 23, 2008
By
Statistics for Neuroscience (Neuroscience 9506b)

This coming winter term (Jan-Apr, 2009) I will be teaching my graduate seminar in the Graduate Program in Neuroscience, Statistics for Neuroscience (Neuroscience 9506b). The course webpage can be found . I will be doing two things differently this … Continue reading →

Read more »

gdata gains trimSum function

December 20, 2008
By
gdata gains trimSum function

I was doing some drawing in R and I needed to trim some values to keep the data (x axis) in reasonable limits, but I did not want to loose that info. Therefore, I summed the values that would be trimmed. Since I was repeating this, I wrote a function a...

Read more »

Rtools and Cygwin on MS Windows

December 20, 2008
By
Rtools and Cygwin on MS Windows

Duncan Murdoch provides Rtools which ease the installation of tools that are needed to do R package development/testing on MS Windows. The Rtools is a collection of various tools. However, if you also use Cygwin on MS Windows, you can expect problems s...

Read more »

Extra moments measure

December 16, 2008
By

The following functions are intended to replicate calculations for taking higher moments of hedge fund returns into account in analyzing particular investments.  Most of the formulae are taken from various EDHEC research papers.# All returns...

Read more »