Monthly Archives: June 2009

Analysis of Iran absentee votes

June 20, 2009
By
Analysis of Iran absentee votes

On http://www.presstv.com/detail.aspx?id=98206&sectionid=351020101 the official Iranian election results outside of Iran are posted. Here is a bit of exploration of the results.The graph shows the number of votes for Ahmadinejad (x-axis) vs. the nu...

Read more »

R: Function to create tables in LaTex or Lyx to display regression model results

June 19, 2009
By
R: Function to create tables in LaTex or Lyx to display regression model results

Most people using LaTex feel that creating tables is no fun. Some days ago I stumbled across a neat function written by Paul Johnson that produces LaTex code as well as LaTex code that can be used within Lyx. The output can be used for regression models and looks like output from the Stata outreg

Read more »

Iran Election analyzed with R

June 19, 2009
By
Iran Election analyzed with R

Here you can find a very interesting post depicting the R strengths in 'real-time statistics'. I'd like to use the occasion to thank David Smith for hosting the best, imho, blog on R!  Follow Him on Twitter: @revodavid .

Read more »

bugsparallel

June 18, 2009
By

bugsparallel is a Metrum Institute project to run BUGS (via R2WinBUGS) in parallel - McMC is an application, where parallel runs can be used very efficientlly. Here is the code for one example using bugsparallel.Some usefull links:Rosenthal, Parallel c...

Read more »

bugsparallel

June 18, 2009
By

bugsparallel is a Metrum Institute project to run BUGS (via R2WinBUGS) in parallel - McMC is an application, where parallel runs can be used very efficientlly. Here is the code for one example using bugsparallel.Some usefull links:Rosenthal, Parallel c...

Read more »

open-source campaign finance analysis with R and MySQL

June 18, 2009
By
open-source campaign finance analysis with R and MySQL

Introduction In Part 1 of this tutorial we introduced the fechell library by extracting all itemized contributions from individuals made to the Obama For America campaign in 2007 and 2008. In Part 2 of the tutorial we will summarize that data set by importing it into a MySQL database and aggregating contributions by week and

Read more »

The Second Coming

June 18, 2009
By

Pew Research has found that 79% of Americans believe in The Second Coming of Jesus. What worries me more is not that 4 out of 5 Americans believe in The Second Coming, but that 1 out of 5 believes it will happen in their lifetime. It seems inevitable that such a belief will grossly warp

Read more »

The Second Coming

June 18, 2009
By

Pew Research has found that 79% of Americans believe in The Second Coming of Jesus. What worries me more is not that 4 out of 5 Americans believe in The Second Coming, but that 1 out of 5 believes it will happen in their lifetime. It seems inevitable t...

Read more »

Influence.ME: don’t specify the intercept

June 18, 2009
By

Just recently, I was contacted by a researcher who wanted to use influence.ME to obtain model estimates from which iteratively some data was deleted. In his case, observations were nested within an area, but there were very unequal numbers of ...

Read more »

Hierarchical Clustering in R

June 16, 2009
By

Hierarchical clustering is a technique for grouping samples/data points into categories and subcategories based on a similarity measure. Being the powerful statistical package it is, R has several routines for doing hierarchical clustering. The basic command for doing HC ishclust(d, method = "complete", members=NULL)Nearly all clustering approaches use a concept of distance. Data points

Read more »