Skip to main content

Research


Book



Reproducible Research with R and RStudio, 2nd Edition

Chapman and Hall/CRC Press. ISBN 978-1498715379. 2015.

Website with sample chapters.

Source files on GitHub.

Review in The American Statistician:

... advanced undergraduate students in mathematics, statistics, and similar fields as well as students just beginning their graduate studies would benefit the most from reading this book. Many more experienced R users or second-year graduate students might find themselves thinking, ‘I wish I’d read this book at the start of my studies, when I was first learning R!’ … a good text for beginning graduate students or advanced undergraduate students who are just starting to do technical research...

Review by the Mathematical Association of America:

I entered the world of data computing with great reluctance, and only because I saw the benefits of teaching statistics with R, even for elementary students. The first edition of Reproducible Research with R and RStudio was an invaluable companion in the early stages of my journey, and I trust that the second edition will be equally useful to aspiring data analysts.


Peer reviewed journal articles



Explaining Variation and Change in Supervisory Confidentiality in the European Union

with Mark Hallerberg

Accepted at the West European Politics.


The Measurement of Real-Time Perceptions of Financial Stress: Implications for political science

with Mark Hallerberg

Forthcoming at the British Journal of Political Science.

Download earlier working draft PDF.


Financial Regulatory Transparency, International Institutions, and Sovereign Borrowing Costs

with Mark Copelovitch and Mark Hallerberg

Accepted at International Studies Quarterly.

Download PDF.

Download the Financial Data Transparency Index and replication code.

Interpreting Fiscal Accounting Rules in the European Union

with Mark Hallerberg

Journal of European Public Policy.

Download PDF.


Information and Financial Crisis Policymaking

with Mícheál O'Keeffe

Journal of European Public Policy. 2017. 24(3): 386-405.

Download PDF.



Statistical Agencies and Responses to Financial Crises: Eurostat, Bad Banks, and the ESM

West European Politics. 2016. 39(3): 545-564.

with Mark Hallerberg

Download publication PDF.



Two Sword Lengths Apart: Credible commitment problems and physical violence in democratic national legislatures

Journal of Peace Research. 2016. 53(1): 130-145.

Download publication PDF or pre-publication PDF.

Write up on the Monkey Cage with Emily Beaulieu.

Applied to understanding violence in the Ukrainian Parliament in VoxUkraine.


Does Banking Union Worsen the EU’s Democratic Deficit?
The need for greater supervisory data transparency

with Mark Hallerberg

Journal of Common Market Studies. 2015. 53(4): 769-785.

Download publication PDF.

When All is Said and Done: Updating 'Elections, Special Interests, and Financial Crisis'

with Mark Hallerberg

Research and Politics. 2015. 2(3): 1-9.

Download PDF.



Inflated Expectations: How government partisanship shapes bureaucrats' inflation expectations

with Cassandra Grafström

Political Science Research and Methods. 2015. 3(2): 353-380.

Download publication PDF or pre-publication PDF.

Write up on the Monkey Cage.

simPH: An R Package for Illustrating Estimates for Interactive and Nonlinear Effects from Cox Proportional Hazard Models

Journal of Statistical Software. 2015. 65(3): 1-20.

Download PDF.

R package simPH.

Letting German Banks Fail: Federalism and the decision to close troubled banks

with Sahil Deo, Christian Franz, and Mark Hallerberg

Politische Vierteljahresschrift (PVS). 2015. 56(2): 159-181.

Download publication PDF or pre-publication PDF.

Write up at the World Economic Forum.

Competing Risks and Deposit Insurance Governance Convergence

International Political Science Review. 2014. 35(2): 197-217.

Download: publication PDF or PDF proofs

Website with data, source code, and ancillary tables.



The Diffusion of Financial Supervisory Governance Ideas

Review of International Political Economy. 2013. 20(4): 881-916.

Download: publication PDF or pre-print PDF.

Download data and source code.


Other academic/policy publications



How not to create zombie banks: Lessons for Italy from Japan

with Mark Hallerberg

Bruegel Policy Contribution. March 2017.

Download PDF


Visualize Dynamic Simulations of Autoregressive Relationships in R

with Laron K Williams and Guy D Whitten

Download PDF.

The Political Methodologist. 2016. 23(2): 6-10.


Financial regulatory transparency: new data and implications for EU policy

with Mark Copelovitch and Mark Hallerberg

Bruegel Policy Contribution. December 2015.

Download PDF


Corrections and Refinements to the Database of Political Institutions’ yrcurnt Election Timing Variable

The Political Methodologist. 2015. 22(2):2-4.

Download PDF



Bad Banks in the EU: The impact of Eurostat rules

with Mark Hallerberg

Bruegel Working Paper. 2014/15.

Download PDF

Supervisory transparency in the European banking union

with Mark Hallerberg

Bruegel Policy Contribution. January 2014.

Download PDF

Media mentions: Der Standard (Austria)



Who Decides? Resolving Failed Banks in a European Framework

with Mark Hallerberg

Bruegel Policy Contribution. November 2013.

Download PDF

Also published in Nowa Europa (Poland).


GitHub: A tool for social data set development and verification in the cloud

The Political Methodologist. 2013. 20(2): 2-7.

Download the published PDF.

An updated PDF is available at SSRN.

Associated R package repmis.


Working Papers/Under Review



Speaking Under Stress: An Analysis of Federal Reserve Speeches

with Kevin Young

Download PDF.

Abstract


Predicting Self-Fulfilling Financial Crises

with Thomas Pepinsky

Download PDF.

Abstract


Creating Scrutiny Indicators: A Change Point Exploration of Congressional Scrutiny of the US Federal Reserve

with Kevin Young

Download PDF.

Abstract


Bad Banks as a Response to Crises:
When Do Governments Use Them, and Why Does Their Governance Differ?

with Mark Hallerberg

Download PDF.

The project website.

Abstract


Clearing the Benches: How institutional incentives shape legislative brawls

with Emily Beaulieu

Abstract


Automating R Package Citations in Reproducible Research Documents

Download PDF.

Abstract


Other



Knowing the unknowns: financial policymaking in uncertainty

London School of Economics PhD Thesis. 2012.



Popular posts from this blog

Dropbox & R Data

I'm always looking for ways to download data from the internet into R. Though I prefer to host and access plain-text data sets (CSV is my personal favourite) from GitHub (see my short paper on the topic) sometimes it's convenient to get data stored on Dropbox . There has been a change in the way Dropbox URLs work and I just added some functionality to the repmis R package. So I though that I'ld write a quick post on how to directly download data from Dropbox into R. The download method is different depending on whether or not your plain-text data is in a Dropbox Public folder or not. Dropbox Public Folder Dropbox is trying to do away with its public folders. New users need to actively create a Public folder. Regardless, sometimes you may want to download data from one. It used to be that files in Public folders were accessible through non-secure (http) URLs. It's easy to download these into R, just use the read.table command, where the URL is the file name...

Slide: one function for lag/lead variables in data frames, including time-series cross-sectional data

I often want to quickly create a lag or lead variable in an R data frame. Sometimes I also want to create the lag or lead variable for different groups in a data frame, for example, if I want to lag GDP for each country in a data frame. I've found the various R methods for doing this hard to remember and usually need to look at old blog posts . Any time we find ourselves using the same series of codes over and over, it's probably time to put them into a function. So, I added a new command– slide –to the DataCombine R package (v0.1.5). Building on the shift function TszKin Julian posted on his blog , slide allows you to slide a variable up by any time unit to create a lead or down to create a lag. It returns the lag/lead variable to a new column in your data frame. It works with both data that has one observed unit and with time-series cross-sectional data. Note: your data needs to be in ascending time order with equally spaced time increments. For example 199...

A Link Between topicmodels LDA and LDAvis

Carson Sievert and Kenny Shirley have put together the really nice LDAvis R package. It provides a Shiny-based interactive interface for exploring the output from Latent Dirichlet Allocation topic models. If you've never used it, I highly recommend checking out their XKCD example (this paper also has some nice background). LDAvis doesn't fit topic models, it just visualises the output. As such it is agnostic about what package you use to fit your LDA topic model. They have a useful example of how to use output from the lda package. I wanted to use LDAvis with output from the topicmodels package. It works really nicely with texts preprocessed using the tm package. The trick is extracting the information LDAvis requires from the model and placing it into a specifically structured JSON formatted object. To make the conversion from topicmodels output to LDAvis JSON input easier, I created a linking function called topicmodels_json_ldavis . The full function is below. To...