Blog Archives

The Problem with Testing for Heteroskedasticity in Probit Models

February 12, 2013
By
The Problem with Testing for Heteroskedasticity in Probit Models

A friend recently asked whether I trusted the inferences from heteroskedastic probit models. I said no, because the heteroskedastic probit does not allow a researcher to distinguish between non-constant variance and a mis-specified mean function. In particular, my friend had a hypothesis that the variance of the latent outcome (commonly called "y-star") should increase with an

Read more »

Software Signals

January 7, 2013
By
Software Signals

This blog post by Sean Taylor generated quite a stir. He discussed the signals one sends by using certain software packages and seems to think that R users are more competent. The reactions ranged from amusement to bashing. In defense of hard to learn statistical tools, i.e. #rstats prsm.tc/gyTBRK <- pretty funny 'who uses what I encourage you...

Read more »

What Are Your Favorite Methodology and Statistics Blogs?

January 6, 2013
By

I recently searched for a list of the "top statistics blogs" or the "top methodology blogs" and I couldn't find a recent compilation. This contrasts with visualization blogs, which are relatively easily to find (e.g. top visualization blogs). I've decided to initiate the provision of this public good, but would like to draw on others'

Read more »

Packages v. Libraries in R

January 2, 2013
By
Packages v. Libraries in R

In the past I've used the terms "R library" and "R package" synonymously (e.g. this blog post and this paper), but a careful reader has called me out. Mark Sharp notes that there are differences between libraries and packages. Chapter one of the R Manual Writing R Extensions gives the details: A package is a directory of files which I encourage you...

Read more »

Top Posts of 2012

December 31, 2012
By
Top Posts of 2012

This has been a great year for my blog. I've seen tremendous growth in my subscribers. I look forward to engaging with and learning from my followers in 2013 and I plan to offer valuable content in return. If you're interested in following along, you can quickly subscribe via RSS or e-mail. I use Google I encourage you...

Read more »

How to Add an Extra Vertical Axis to R Plots

December 28, 2012
By
How to Add an Extra Vertical Axis to R Plots

Especially when analyzing time series, we often need plots with two vertical axes. Researchers often expect the two series to \"move together,\" but with different locations and scales. To show that the series move together, you should give each series its own scale. One vertical scale should appear on the left side of the plot I encourage you...

Read more »

Labeling the Vertical Axis in R Plots

December 24, 2012
By
Labeling the Vertical Axis in R Plots

I show how to position the vertical axis label of an R plot above the axis and orient it horizontally as suggested by Stephen Few. I encourage you to share this with others and contribute to the conversation at Labeling the Vertical Axis in R Plots, which first appeared at carlislerainey.com. For more of my thoughts and...

Read more »

Controlling Axes of R Plots

December 17, 2012
By
Controlling Axes of R Plots

In this post, I describe how to gain control over the axes in your R plots.

Read more »

Two Free Sets of Methods Lectures

July 23, 2012
By

I provide links to two (free, publicly available) graduate level political methodology classes by Justin Esarey (Rice University) and Gary King (Harvard University). Both classes focus on statistical theory and modeling in R.

Read more »

Best Books for Social Scientists on Bayesian Analysis

July 16, 2012
By

I list and discuss the three books on Bayesian analysis that I recommend to social scientists.

Read more »