As one of my two research agendas involves improving the tools we use to study peace and conflict, a good deal of my time is spent using statistical software. Below you’ll find software for working with estimates from Bayesian models and some code that I’ve written to save time on tasks that I find myself doing over and over again.
I am a developer of the
BayesPostEst R package for generating postestimation quantities of interest from Bayesian models. The package contains functions for producing regression tables, plotting predicted probabilities, calculating first differences, creating coefficient plots, and many other quantities. You can view the Journal of Open Source Software article for the package here.
To install the latest release on CRAN:
The latest development version on GitHub can be installed with:
I’ve collected convenience functions that I’ve written to address issues I frequently confront in my work into a personal R package called
RWmisc. It includes:
- Managing multiple different projections for cross-national spatial data
- Correcting for overlapping polygons when aggregating raster data to polygons
- My custom minimal ggplot2 theme
You can install the current version with :
I also have a number of other software resources focused on making computation and academic life easier:
- The template I use for my academic job market materials
- Fill in school/position information in one file and it populates to all statements
- Generate summary statistics from teaching evaluations and integrate into statements
- Combine multiple teaching evaluations into a single portfolio document
- Do all of this programmatically with GNU Make!
- The template I used for my dissertation
- This satisfied the formatting requirements at UNC in 2019
- Some tweaking likely required to use at another institution or in the future
- Scripts that I use to save time on various teaching-related tasks like grading
- Functions for extracting still frames from videos and information from images in Python using OpenCV
- Compiling OpenCV from source for Anaconda virtual environments instead of Homebrew ones or system Python installations