A simple pipeline to access SENNA NLP toolkit through R

For my paper Social Insurance and Conflict : Evidence from India, I was using the SENNA Natural Language processing toolkit to automatically generate a conflict dataset at the district level, based on raw newspaper clippings collected from the SATP (South Asia Terrorism Portal) daily listings.  SENNA is a standalone solution written in C, that uses a …

Using R To Estimate Spatial HAC Errors Per Conley

Darin Christensen and Thiemo Fetzer tl;dr: Fast computation of standard errors that allows for serial and spatial auto-correlation. Economists and political scientists often employ panel data that track units (e.g., firms or villages) over time. When estimating regression models using such data, we often need to be concerned about two forms of auto-correlation: serial (within …

Conley Spatial HAC standard errors for models with Fixed Effects

When estimating Spatial HAC errors as discussed in Conley (1999) and Conley (2008), I usually relied on code by Solomon Hsiang. He and others have made some code available that estimates standard errors that allow for spatial correlation along a smooth running variable (distance) and temporal correlation. The code runs quite smoothly, but typically, when you …