# Monthly Archives: June 2012

## R and theater

June 3, 2012
By

You might ask what R has to do with theater. I assure you it has. I act in the theater group ‘ndescenze. We will soon present (actually, we just performed) a show based on the Marx Brothers Radio Shows. We shuffle actors and characters during the show (we like it complicated!) and we needed to

## Visualizing car brand choices in ggplot2

June 2, 2012
By

Visualizing car brand choices in ggplot2:

## Fama-MacBeth and Cluster-Robust (by Firm and Time) Standard Errors in R

June 2, 2012
By

Ever wondered how to estimate Fama-MacBeth or cluster-robust standard errors in R? It can actually be very easy. First, for some background information read Kevin Goulding’s blog post, Mitchell Petersen’s programming advice, Mahmood Arai’s paper/note and code (there is an earlier version of the code with some more comments in it). For more formal references you may want to

## Pasting Excel data into R on a Mac

June 2, 2012
By

When starting out with R, getting data in and out can be a bit of a pain. It should take long to work out a convenient method – depending on what OS you use and what other packages you work with. In my case I prefer to work with Excel spreadsheets (which are versatile and

## Project Euler — problem 6

June 2, 2012
By

It’s midnight officially. Let me solve the sixth problem before bed. This is a quick one. The sum of the squares of the first ten natural numbers is, 12 + 22 + … + 102 = 385. The square of … Continue reading →

## 11 Million Yellow Slips – City of Toronto Parking Tickets, 2008-2011

June 2, 2012
By

IntroductionI don't know about you, but I really hate getting parking tickets. Sometimes I feel like it's all just a giant cash grab. Really? I can't park there between the hours of 11 and 3, but every other time is okay? Well, why the hell not?Bu...

## Visualizing car brand choices in ggplot2

June 2, 2012
By

I always like to read new posts at chartsnthings as they always inspire me with new ideas for data visualization. Yesterday I have read an article on choices of car brands by members of parliament in Poland in Gazeta.pl. It contains a simple ...

## Calling R from SAS IML Studio

June 1, 2012
By

I am playing around with SAS IML Studio 3.4.  For those that do not know, IML (Interactive Matrix Language) is the Matlab-esk language from SAS.  It opperates from normal SAS code through the PROC IML procedure.  A new (to me at least) UI has been developed for analysts called IML Studio.  IML Studio uses a superset of the IML...

## Double Release: Rook 1.0-5 and rApache 1.1.21

June 1, 2012
By

I wanted to get these releases out the door before the useR conference, especially since I’m giving a tutorial on Rook! There were two bugs found in Rook, not by me, but by users! This is a fantastic step in the right direction as it’s an ...

## System from Trend Following Factors

June 1, 2012
By

As I thought more about Trend Following Factors from Hsieh and Fung, I thought that the trend following factors might indicate a state/regime for the equity markets that could potentially offer momentum-style timing signals for a system on the S&P ...