Monthly Archives: July 2011

Index decomposition with R

July 9, 2011
By
Index decomposition with R

Few days ago, I finally finished a small package ida. It enables you to analyse contributions of underlying factors to the change in an aggregate, using methods based on index number theory. These methods have become popular by, but are not restricted to, investigating the change of CO2 emissions.Here is a chart that shows what the change of population,...

Read more »

R on the cloud

July 9, 2011
By

Just as scientists should never really have to think much about statistics, I feel that, in an ideal world, statisticians would never have to worry about computing. In the real world, though, we have to spend a lot of time building our own tools.It would be great if we could routinely run R with speed and memory limitations...

Read more »

Notes on Engineering Data Analysis (with R and ggplot2)

July 8, 2011
By
Notes on Engineering Data Analysis (with R and ggplot2)

Hadley Wickham gave a Google Tech Talk a couple weeks back titled Engineering Data Analysis (with R and ggplot2). These are my notes. The data analysis cycle is to iteratively transform, visualize and model. Leading into the cycle is data access an...

Read more »

Blog in motion

July 8, 2011
By

In the next few days we’ll be changing the format of the blog and moving it to a new server. If you have difficulty posting comments, just wait and post them in a few days when all should be working well. (But if you can post a comment, go for it. All the old entries

Read more »

The Road to Default: Let’s Look at the Damage with a Rant.

July 8, 2011
By
The Road to Default: Let’s Look at the Damage with a Rant.

The following graph shows Real GDP as a percentage of the Gross Federal Debt.  FRED is the resource I frequently use for United States financial data and it serves us well here.  What is Gross Federal Debt? Well, its total government debt out...

Read more »

NYT on the importance of reproducible research

July 8, 2011
By
NYT on the importance of reproducible research

Yesterday's New York Times includes a great article on the failure of some genetic tests for cancer detection, and the flaws in the research that led to them. The article features quotes from Keith Baggerly of MD Anderson Cancer Center, and includes a photo of him and colleague Kevin Coombes in front of a page of R code: The...

Read more »

The Rebirth

July 8, 2011
By
The Rebirth

Hey guys, I know that I have been gone for awhile now.  I just came back from a month long euro adventure so have no fear, I have plenty of time to devote to blogging now.  From this day forward, X.U. Economics will be known as The Dancing Ec...

Read more »

Censoring on one end, “outliers” on the other, what can we do with the middle?

July 8, 2011
By

This post was written by Phil. A medical company is testing a cancer drug. They get a 16 genetically identical (or nearly identical) rats that all have the same kind of tumor, give 8 of them the drug and leave 8 untreated…or maybe they give them a placebo, I don’t know; is there a placebo

Read more »

installing R 2.13.1 on Amazon EC2′s “Amazon Linux” AMI #rstats

July 8, 2011
By
installing R 2.13.1 on Amazon EC2′s “Amazon Linux” AMI #rstats

Condensed from this post (and comments) on David Chudzicki’s blog, tweaked, and updated for R-2.13.1. Assumes you’re starting with a virgin “Amazon Linux” AMI. I picked “Basic 64-bit Amazon Linux AMI 2011.02.1 Beta” (AMI Id: ami-8e1fece7) because it was marked as free tier eligible on the “Quick Start” tab of AWS’s “Launch Instance” dialog box:

Read more »

The virtues of incoherence?

July 8, 2011
By

Kent Osband writes:

Read more »