Another Year, Another rApache Release

January 11, 2012
By
Another Year, Another rApache Release

I’m feeling chancy, just like those two angels who took a chance on me so many years ago… So I decided to release rApache 1.1.15. You can grab the source from rapache.net. Notable change includes support for deploying Rook applications, which you

Read more »

Annual Average Retail Gas Prices (adjusted for inflation) – United States

January 11, 2012
By
Annual Average Retail Gas Prices (adjusted for inflation) – United States

Description:Annual retail gas prices since 1950, split by Leaded and Unleaded and adjusted for inflation.Data:http://www.eia.gov/totalenergy/data/annual/index.cfmAnalysis:Gas prices have spiked sharply twice since 1949.  Even though $3 per gallon ...

Read more »

Toying with Google Apps Script

January 11, 2012
By
Toying with Google Apps Script

Google offers an access to its services with Apps Scripts (JavaScript). That gives you a possibility to connect your spreadsheet to a fascinating variety of tools like geocoder, stock info, language translator, or email.My java-scri...

Read more »

R is a language

January 11, 2012
By

A commenter on this blog reminded me of one of the frustrating aspects faced by newbies, not only to R but to any other programming environment (I am thinking of typical students doing stats for the first time). The statement … Continue reading →

Read more »

Moving from blogger and wordpress to jekyll

January 11, 2012
By
Moving from blogger and wordpress to jekyll

Recology used to be hosted on Blogger, and my personal website was hosted on Wordpress. Neither platform was very satisfying. Blogger is very limited in their layouts, unless you use dynamic views, which suck because they don't allow javascript snipp...

Read more »

Running R through Stata on Mac OS

January 10, 2012
By
Running R through Stata on Mac OS

I’ve friends favouring Stata rather than R, while others do the inverse. However, few of them actually know that it is possible to work on both softwares, simultaneously inclusive. It is possible to integrate R and Stata, complementing so we can run almost all kind of analyses using them. Therefore, who prefers the Stata’s interface

Read more »

Looping through factor variables

January 10, 2012
By
Looping through factor variables

Today I was typing to a friend who is working on a Ph.D thesis about my favor issue on elections: campaign contributions. We discussed about analyzing probabilities of a particular group/category grasp more money than the others, in this case, male and female given a district. A preliminary approach should consider identify in the data

Read more »

Time Series Cointegration in R

January 10, 2012
By

Cointegration can be a valuable tool in determining the mean reverting properties of 2 time series. A full description of cointegration can be found on Wikipedia. Essentially, it seeks to find stationary linear combinations of the two vectors. The below R code, which has been modified from here, will test two series for integration and...

Read more »

Introduction to Kaggle Algorithmic Trading Challenge

January 10, 2012
By

I recently participated in the Kaggle Algorithmic Trading Competition under the username VikP. For those who do not know what Kaggle is, it is a web site where individuals and corporations can host data analysis competitions. This particular competit...

Read more »

Eisen and Elsevier have words over bill to end NIH Public Access Policy

January 10, 2012
By

This article linked below and the subsequent comments (some apparently from an Elsevier rep.) are interesting. It's not directly related to R, but is related to open source/science philosophy. Elsevier-funded NY Congresswoman Carolyn Maloney Wants to D...

Read more »

Statistical Methods for the Chain Ladder Technique Demo (CloudStat)

January 10, 2012
By
Statistical Methods for the Chain Ladder Technique Demo (CloudStat)

This demo will use a study case, how a general insurance company use CloudStat to estimate outstanding claims. Background Forecasting outstanding claims and setting up suitable reserves to meet these claims is an important part of the business of a gen...

Read more »

Using R in Ruby

January 10, 2012
By

Integrating R into more traditional programming languages can be incredibly rewarding due to R's powerful built-in statistical tools, but it can also be extremely frustrating at times. Thankfully, like much else to do with Ruby, integrating R and Ruby...

Read more »

Installing quantstrat from R-forge and source

January 10, 2012
By
Installing quantstrat from R-forge and source

R is used extensively in the financial industry; many of my recent clients have been working in or developing products for the financial sector. Some common applications are to use R to analyze market data and evaluate quantitative trading strategies. Custom solutions are almost always the best way to do this, but the quantstrat package The post Installing...

Read more »

Installing quantstrat from R-forge and source

January 10, 2012
By

R is used extensively in the financial industry; many of my recent clients have been working in or developing products for the financial sector. Some common applications are to use R to analyze market data and evaluate quantitative trading strategies. ...

Read more »

RStudio v0.95 Preview Available

January 10, 2012
By
RStudio v0.95 Preview Available

The next version of RStudio (v0.95) is now available as a preview release. Highlights include: Projects — A new system for managing R projects that enables easy switching between working directories, running multiple instances of RStudio with different projects, and per-project contexts for source documents, workspaces, and history. Code Navigation — Typeahead navigation by file

Read more »

Time Series Cointegration in R

January 10, 2012
By

Cointegration can be a valuable tool in determining the mean reverting properties of 2 time series. A full description of cointegration can be found on Wikipedia. Essentially, it seeks to find stationary linear combinations of the two vectors. The below R code, which has been modified from here, will test two series for integration and return the...

Read more »

How big is my dog going to get? A regression analysis with R

January 10, 2012
By
How big is my dog going to get? A regression analysis with R

The dog on the left is named Maya. She is a labrador retriever (field line), weighs 18 kilograms and is currently eight months old. My girlfriend and I carry the dog several times a day high in the fourth floor. … Weiterlesen →

Read more »

Introduction to Kaggle Algorithmic Trading Challenge

January 10, 2012
By

I recently participated in the Kaggle Algorithmic Trading Competition under the username VikP. For those who do not know what Kaggle is, it is a web site where individuals and corporations can host data analysis competitions. This particular competiti...

Read more »

Using R in Ruby

January 10, 2012
By

Integrating R into more traditional programming languages can be incredibly rewarding due to R's powerful built-in statistical tools, but it can also be extremely frustrating at times. Thankfully, like much else to do with Ruby, integrating R and Ruby...

Read more »

Revolution Analytics 2012 R User Group Sponsorship Program

January 10, 2012
By

On of Revolution Analytics' main missions is to support and foster the growth of the R community, and in 2011 we sponsored more than 25 local R user groups and meetings with cash donations for for venue hire, meetup.com dues, refreshments, and other group needs. We also sent hundreds of "I love R" T-shirts and stickers to group members...

Read more »

Suicide vs Divorce rates by country using ggplot

January 10, 2012
By
Suicide vs Divorce rates by country using ggplot

I was looking for data I could use with the geom_text() object in ggplot2 and came across this data from the World Health Organization about the suicide rates by country which I found very handy for my example. I used the scale_colour_gradient2() with 3 colors, red, gray and black but it only picked up gray and

Read more »

Coming of Age: R and Spatial Data Visualisation

January 10, 2012
By
Coming of Age: R and Spatial Data Visualisation

I have been using R (a free statistics and graphics sof

Read more »

Presenting results of logistic regression

January 10, 2012
By
Presenting results of logistic regression

So my advisor pointed out this 'new' (well, 2004), way of plotting results of logistic regression results. The idea was presented in a 2004 Bulletin of the Ecological Society of America issue (here). I tried to come up with a solution using, what el...

Read more »

Presenting results of logistic regression

January 10, 2012
By
Presenting results of logistic regression

So my advisor pointed out this 'new' (well, 2004), way of plotting results of logistic regression results. The idea was presented in a 2004 Bulletin of the Ecological Society of America issue (here). I tried to come up with a solution using, what el...

Read more »

Words in Politics: Some extensions of the word cloud

January 10, 2012
By
Words in Politics: Some extensions of the word cloud

The word cloud is a commonly used plot to visualize a speech or set of documents in a succinct way. I really like them. They can be extremely visually pleasing, and you can spend a lot of time perusing over the words gaining new insights. That said, they don't convey a great deal of information. From a

Read more »

Aggregation and Restructuring data (from “R in Action”)

January 9, 2012
By
Aggregation and Restructuring data (from “R in Action”)

The followings introductory post is intended for new users of R.  It deals with the restructuring of data: what it is and how to perform it using base R functions and the {reshape} 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 Read more...

Read more »

Honing Your R Skills for Job Interviews

January 9, 2012
By
Honing Your R Skills for Job Interviews

My time as a grad student will soon draw to a close. With this comes the terrifying realisation that I'm going to start applying for jobs and, hopefully, interviewing soon, forever leaving my comfortable security blanket of academia. With that horrible thought in mind, I've been doing some poking around to see what various kinds of technical interviews are...

Read more »

Harmonic means, again again

January 9, 2012
By
Harmonic means, again again

Another arXiv posting I had had no time to comment is Nial Friel’s and Jason Wyse’s “Estimating the model evidence: a review“. This is a review in the spirit of two of our papers, “Importance sampling methods for Bayesian discrimination between embedded models” with Jean-Michel Marin (published in Jim Berger Feitschrift, Frontiers of Statistical Decision

Read more »

R in Axys (Impossible Dream)

January 9, 2012
By
R in Axys (Impossible Dream)

It has always been a dream of mine to incorporate R graphs and analysis in an Advent Axys report.  The unbelievable work from the guys at Statconn http://rcom.univie.ac.at/ make this dream possible.  If we use the same perhstsp.rep created fo...

Read more »