Monthly Archives: June 2012

NBA Playoff Predictions Update 2 and Results (3-1)

June 3, 2012
By
NBA Playoff Predictions Update 2 and Results (3-1)

This is my second follow-up to my previous two posts which were about predicting NBA games with an algorithm, and my first update to the algorithm. The algorithm's record is now 3-1, as it correctly predicted Boston and Oklahoma City as winners of the...

Read more »

Posts about ggplot2 on r-bloggers

June 3, 2012
By

You can also get your fix of ggplot2 on r-bloggers (where this blog is also syndicated): http://www.r-bloggers.com/search/ggplot

Read more »

Removing "Y" outliers from the "Validation Set"

June 3, 2012
By
Removing "Y" outliers from the "Validation Set"

This is a new video about how to monitor and interpret statistics and graphics for validation. Removing "Y" outliers from Validation SetPrevious videos about the Monitor function  for validation:Should I adjust the Bias?Monitor: Adding "RER" and "...

Read more »

Making interactive slides with Org mode and googleVis in R

June 3, 2012
By
Making interactive slides with Org mode and googleVis in R

There’s been a lot of justifiable excitement in the R community about Yihui Xie’s great work, and most recently the incorporation of his knitr package into the RStudio software. Knitr is seen, justifiably, as a worthy successor to SWeave for … Continue reading →

Read more »

Coding a dynamic systems and controlling it via a graphical user interface

June 3, 2012
By
Coding a dynamic systems and controlling it via a graphical user interface

My work, in the past year, has consisted mostly of coding dynamic models in R, models which I will soon be exporting to a server-based R implementation, possibly thanks to rApache.I ususally run my models through an input file where I specify all param...

Read more »

R script to manipulate health data

June 3, 2012
By

Here is the code that fixed up the World Bank data export for use in Tableau. The databank spits out everything in an untidy format for grouping and aggregating. The reshape2 and plyr packages  make it easy to manipulate the whole set … Continue reading →

Read more »

NBA Playoff Predictions Update 2 and Results (3-1)

June 3, 2012
By
NBA Playoff Predictions Update 2 and Results (3-1)

This is my second follow-up to my previous two posts which were about predicting NBA games with an algorithm, and my first update to the algorithm. The algorithm's record is now 3-1, as it correctly predicted Boston and Oklahoma City as winners of the...

Read more »

R and theater

June 3, 2012
By
R and theater

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

Read more »

Visualizing car brand choices in ggplot2

June 2, 2012
By
Visualizing car brand choices in ggplot2

Visualizing car brand choices in ggplot2:

Read more »

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

June 2, 2012
By
Fama-MacBeth and Cluster-Robust (by Firm and Time) Standard Errors in R

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

Read more »