London 2012 Olympics — medal statistics

August 14, 2012
By
London 2012 Olympics — medal statistics

The 2012 Olympic Games officially ended this Sunday in London. Although I missed most of the games, I was still entertaining myself with some hilarious news, such as Thomas’s re-diving. So much fun. I would remember this for years :) Games ended. … Continue reading →

Read more »

The essence of a handwritten digit

August 13, 2012
By
The essence of a handwritten digit

If you haven’t yet discovered the competitive machine learning site kaggle.com, please do so now. I’ll wait. Great – so, you checked it out, fell in love and have made it back. I recently downloaded the data for the getting started competition. It consists of 42000 labelled images (28×28) of hand written digits 0-9. The

Read more »

Adaptive Asset Allocation

August 13, 2012
By
Adaptive Asset Allocation

Today I want to highlight a whitepaper about Adaptive Asset Allocation by Butler, Philbrick and Gordillo and the discussion by David Varadi on the robustness of parameters of the Adaptive Asset Allocation algorithm. In this post I will follow the steps of the Adaptive Asset Allocation paper, and in the next post I will show

Read more »

RInside 0.2.7

August 13, 2012
By

A new version 0.2.7 of RInside is now available via CRAN. RInside provides a set of convenience classes which facilitate embedding of R inside of C++ applications and programs, using the classes and functions provided by the Rcpp R and C++ integrati...

Read more »

Missouri: Comparison of Registered Voter Counts to Census Voting Age Population

August 13, 2012
By
Missouri:  Comparison of Registered Voter Counts to Census Voting Age Population

By Earl F Glynn | Franklin Center A comparison of US Census voting age population data in Missouri to voter registration data shows a number of Missouri counties have bloated voter registration lists. Charts by county for the years 2000 to 2012 show how counties are maintaining their voter lists. Voter fraud potential is higher

Read more »

Cleaning sentences by recursively merging words using R

August 13, 2012
By

A question on StackOverflow really sparked my attention. The aim was to clean up a dataset of inappropriately spaced words. For example: My approach was to create what I call a wordpair object. The word pair object for the… See more ›

Read more »

Videos on Using R

August 13, 2012
By

In this post on his blog some months ago, Ethan Fosse drew attention to Anthony Damico's collection of over 90 videos on using the R software environment.Definitely worth looking at!© 2012, David E. Giles

Read more »

User Input using tcl/tk

August 13, 2012
By
User Input using tcl/tk

I was inspired by Kay Cichini  recent post on creating a a tcl/tk dialog box for users to enter variable values. I am going to have a use for this very soon so took some time to make it a bit more generic. What I wanted is a function that takes a vector (of variable names)

Read more »

Quick SAP HANA and R usecase

Quick SAP HANA and R usecase

DISCLAIMER: I'm not an SAP HANA expert or an R expert, not even a Python expert. I'm just a guy with a lot of ideas who loves to write blogs.The other day I was thinking about making some nice with SAP HANA and R, because people doesn't seem to be enou...

Read more »

New R User Groups in San Antonio, Milwaukee, Nicaragua

August 13, 2012
By

We have three new local R user groups to announce this month. The Alamo City R Users Group in San Antonio becomes the fifth R user group in Texas. The group's just getting started, and volunteers are always welcome. Although not a dedicated R group, the Milwaukee Chapter of the ASA hosts occasional R workshops. In May next year,...

Read more »

The fanplot package for R

August 13, 2012
By
The fanplot package for R

My fanplot package has gone up on CRAN. Here is a online version of the vignette. Introduction The fanplot package contains a collection of R (R Development Core Team, 2012) functions to effectively display plots of sequential distributions such as … Continue reading →

Read more »

Highlights of R in Finance 2012

August 13, 2012
By
Highlights of R in Finance 2012

I unfortunately was not there, but we can vicariously enjoy it via the presentations that are posted on the conference website. Below is my take on the highlights (in chronological order). Peter Carl and Brian Peterson “Constructing Strategic Hedge Fund Portfolios” is wonderful from my perspective.  Promoting random portfolios is sure to win my heart.  … Continue reading...

Read more »

User Input using tcl/tk

August 13, 2012
By
User Input using tcl/tk

I was inspired by Kay Cichini recent post on creating a a tcl/tk dialog box for users to enter variable values. I am going to have a use for this very soon so took some time to make it a bit more generic. What I wanted is a function that takes a vector...

Read more »

User Input using tcl/tk

August 13, 2012
By
User Input using tcl/tk

I was inspired by Kay Cichini recent post on creating a a tcl/tk dialog box for users to enter variable values. I am going to have a use for this very soon so took some time to make it a bit more generic. What I wanted is a function that takes a vector...

Read more »

googleVis 0.2.17 is released: Displaying earth quake data

August 13, 2012
By
googleVis 0.2.17 is released: Displaying earth quake data

The next version of the googleVis package has been released on the project site and CRAN. This version provides updates to the package vignette and a new example for the gvisMerge function. The new sections of the vignette have been featured on this ...

Read more »

Zzzzzz….. – Quantified Self Toronto #14

August 12, 2012
By
Zzzzzz….. – Quantified Self Toronto #14

Sleep is another one of those things like diet, where I feel if you asked anyone if they wanted to improve that area of their life most would say yes.I remember hearing a quote that sleep is like sex; no one is quite sure how much everyone else is getting, but they are pretty sure it is more than...

Read more »

Rgdal Package: R crash during "writeGDAL" solved

August 12, 2012
By

Lost entire day fighting this ridicules crash during export of raster created in R to GeoTiff (other "rgdal" functions worked fine). This option worked well several months ago when I last time used it, so I wondered what happened. I searched ...

Read more »

The Social Dynamics of the R Core Team

August 12, 2012
By
The Social Dynamics of the R Core Team

Recently a few members of R Core have indicated that part of what slows down the development of R as a language is that it has become increasingly difficult over the years to achieve consensus among the core developers of the language. Inspired by these claims, I decided to look into this issue quantitatively by

Read more »

Zurich, Jul 2012 – Advanced Portfolio eBook

August 12, 2012
By

(This article was first published on Rmetrics blogs, and kindly contributed to R-bloggers) To leave a comment for the author, please follow the link and comment on his blog: Rmetrics blogs. R-bloggers.com offers daily e-mail updates about R news and tutorials on topics such as: visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web...

Read more »

Now That We Live in Seattle

August 11, 2012
By

It has been just a few weeks since my wife, my son, and I moved to Seattle so that I could begin my postdoc at The Hutch. Now that we have been here a short time and are settled, we intend to start exploring Seattle, doing typical touristy things as we...

Read more »

What have I been doing all these years?!

August 11, 2012
By
What have I been doing all these years?!

In which Mo Farah et al show James that he's got a nasty heel-strike

Read more »

Tcl/Tk GUI Example with Variable Input by User

August 11, 2012
By
Tcl/Tk GUI Example with Variable Input by User

I recently used R with GUI-elements for the first time and browsed through the available online resources, but I didn't quite find what I was searching for: The user should be able to put in some variables and call a function with a button. In the end ...

Read more »

Universal portfolio, part 10

August 10, 2012
By
Universal portfolio, part 10

Part 9 compared the wealth of Universal against other portfolio selection algorithms by using the experimental cumulative distribution function of the relative wealth.  This leads to a very compact representation, but it completely hides the ...

Read more »

RcppExamples 0.1.4

August 10, 2012
By

An updated version 0.1.4 of the RcppExamples package is now on on CRAN. RcppExamples contains a few illustrations of how to use Rcpp. The NEWS entry is below: a new example was added illustrating use of the (vectorised) random-number generators...

Read more »

Animated GIF Annual Correlation of 48 Industries for 50 Years

August 10, 2012
By
Animated GIF Annual Correlation of 48 Industries for 50 Years

Inspired by http://blogs.reuters.com/felix-salmon/2012/08/06/chart-of-the-day-hft-edition/, I thought I would build on 48 Industries (Dendrogram Ordered) Over 50 Years, “Trend is Not Your Friend” Applied to 48 Industries, and 48 Industries Since 19...

Read more »

In case you missed it: July 2012 Roundup

August 10, 2012
By

In case you missed them, here are some articles from June of particular interest to R users. The Environmental Performance Index website uses R to rank countries by measures like environmental health and ecosystem vitality. A log-linear regression in R predicted the gold-winning Olympic 100m sprint time to be 9.68 seconds (it was actually 9.63 seconds). Some R-related talks...

Read more »

Trends in run scoring – comparing the leagues

August 10, 2012
By

My previous two posts have looked a using R to create trend lines for the run scoring environments in the American and National leagues.  This time around, I'll plot the two against each other to allow for some comparisons. (The code below assumes that you've read the data into your workspace and calculated the LOESS...

Read more »

RStudio server through ssh

August 10, 2012
By

R language has numerous IDEs – RStudio, Vim plugin, Eclipse plugin. RStudio really shines for R language, nevertheless Vim plugin might be well adapted for R if you are Vim guru. Eclipse? Who needs such behemoth? Turns out a student in Ljubljana badly needs it. Most of the time I use remote server for R

Read more »

Why we are teaching massive open online courses (MOOCs) in R/statistics for Coursera

August 10, 2012
By

Editor’s Note: This post written by Roger Peng and Jeff Leek.  A couple of weeks ago, we announced that we would be teaching free courses in Computing for Data Analysis and Data Analysis on the Coursera platform. At the same time, a number of ot...

Read more »