Monthly Archives: January 2012

The top 7 portfolio optimization problems

January 5, 2012
By
The top 7 portfolio optimization problems

Stumbling blocks on the trek from theory to practical optimization in fund management. Problem 1: portfolio optimization is too hard If you are using a spreadsheet, then this is indeed a problem. Spreadsheets are dangerous when given a complex task.  Portfolio optimization qualifies as complex in this context (complex in data requirements). If you are … Continue reading...

Read more »

MLB Year by Year Total Annual Payroll

January 4, 2012
By
MLB Year by Year Total Annual Payroll

Description:Year by year total annual payroll for Major League Baseball.Data: http://www.nsf.gov/about/congress/112/highlights/cu11_0523.jsphttp://www.baseball-databank.org/Analysis:The entire yearly budget for the National Science Foundation is c...

Read more »

Revolution Analytics named Startup to Watch in 2012

January 4, 2012
By

While we were out over the holiday break, Silicon Angle selected five open-source startups that are commercializing and contributing to open source projects as "Startups to Watch in 2012". Revolution Analytics was #2 on the list: This was a busy year for Revolution. The company released Revolution R 5.0, which included Hadoop integration, allowing users to create map/reduce jobs...

Read more »

Scraping R-Bloggers with Python

January 4, 2012
By

In this post I promised to show how I use Python with the BeautifulSoup and Mechanize modules to scrape information from different websites. As a fun exercise, and something that should interest the readers of R-bloggers, I thought it would be interest...

Read more »

A Quick Demo of SoilProfileCollection Methods and Plotting Functions

January 4, 2012
By
A Quick Demo of SoilProfileCollection Methods and Plotting Functions

Here is a quick demo of some of the new functionality in AQP as of version 0.99-9.2. The demos below are based on soil profiles from an archive described in (Carre and Girard, 2002) available on the OSACA page. A condensed version of the collection is ...

Read more »

Iowa: Was the fix in? (a statistical analysis of the results)

January 4, 2012
By
Iowa: Was the fix in? (a statistical analysis of the results)

Summary/TL;DR Either the first precincts to report were widely unrepresentative of Iowa as a whole, or something screwy happened. Background Yesterday was the first primary for the 2012 U.S. presidential elections. When I logged off the internet last night, the results in Iowa showed a dead heat between Ron Paul, Mitt Romney, and Rick Santorum.

Read more »

Mapping the Iowa GOP 2012 Caucus Results

January 4, 2012
By
Mapping the Iowa GOP 2012 Caucus Results

Introduction On Tuesday January 3rd 2012 the Iowa Republican party held it’s presidential caucuses, with Mitt Romney beating Rick Santorum by 8 votes as of noon on Jan 4th. This was an exciting race with multiple lead changes and entrance polling showing many late undecideds and large gaps in candidate support by age and income.

Read more »

Long running R commands: unix screen, nohup and R

January 4, 2012
By

I wanted to write a quick post about a useful linux tool for using R. I sometimes have long running R sessions for model training. One solution that I have alluded to is to call your script with Rscript. The nohup command in linux with push this to the...

Read more »

New York Journalism Data Camp in February

January 4, 2012
By

New York Journalism Data Camp in February: ScraperWiki’s first US two dayJournalism Data Camp event in conjunction with the Tow Center for Digital Journalism at Columbia University and supported by the Knight Foundation on February 3rd and 4th 2012.

Read more »

Memoization in R : Illustrative example

January 4, 2012
By

I came across a nice problem at project euler that gave me sense of satisfaction that was unusual, I think that because I don't usually get the solutions right the first time as I did in this case. Anyhow, I shall try and decode the R codes that I...

Read more »