Blog Archives

Dynamic Content with RStudio, Markdown, and Marked.

May 15, 2012
By
Dynamic Content with RStudio, Markdown, and Marked.

As Markus Gesmann recently pointed out, the new version of RStudio (0.96) has some really nice features for creating dynamic reports with Yihui Xie’s knitr. You can integrate not just R and LaTeX, but also R and Markdown (as well as some other fo...

Read more »

Graphing Predicted Legislative Violence with Zelig & ggplot2

April 25, 2012
By
Graphing Predicted Legislative Violence with Zelig & ggplot2

In my previous post I briefly mentioned an early draft of a working paper (HERE) I've written that looks into the possible causes of violence between legislators (like the violence shown in this picture from the Turkish Parliament).  From The GuardianIn this...

Read more »

Disproportionality Data

March 25, 2012
By
Disproportionality Data

So I was hunting around for some data on disproportional electoral outcomes (when the proportion of voters cast for political parties is not close to the proportion of legislative seats that they win).Michael Gallagher keeps an updated version of his L...

Read more »

How-to Extract Text From Multiple Websites with R

February 18, 2012
By
How-to Extract Text From Multiple Websites with R

I have been meaning to post this slideshow for awhile now. It gives a brief introduction to using R for scraping text from multiple websites. It includes some basic debugging, because R sometimes misses a website.Just click the arrows to change the sli...

Read more »

OpenCPU, R in the Cloud

February 8, 2012
By
OpenCPU, R in the Cloud

I ran across OpenCPU today. If you have any intest in R and reproducible research this is definitely worth checking out. Also, it looks like I might want to explore the potential of embedding functions in websites. Hm . . . .

Read more »

Update to Partisan Bias in Fed Inflation Forecasts

February 7, 2012
By
Update to Partisan Bias in Fed Inflation Forecasts

Since I'm in the depths of PhD thesis revisions I haven't had much time to do much other than update previous posts (see my Stata Country Standardizer Update).Here is an update of an earlier post about possible partisan biases in US Federal Reserve sta...

Read more »

Japan Stagnation Myth?

December 28, 2011
By
Japan Stagnation Myth?

I came across this piece on The Atlantic website by Eamonn Fingleton arguing that Japan's two decade long stagnation is largely a myth. I'm not willing, just yet, to completely go along with his thesis that this myth has been stoked by the Japanes...

Read more »

Partisan Bias in Fed Inflation Forecasts?

December 22, 2011
By
Partisan Bias in Fed Inflation Forecasts?

Following on from my previous post about US Federal Reserve inflation forecast errors, I decided to put together a descriptive graph to see if there might be a partisan bias to these forecast erros. Also, given all of the work in the political eco...

Read more »