This is your work, valued

Oxford

CSAE Coders' Corner

Advanced
@csae-coders-corner

Having trouble with Stata or MATLAB? Looking for useful tips on handling your data, exporting graphs or writing code? Then you've come to the right place.

Local-Projections-using-R. Local Projections (Jordà 2005, AER) are a convenient and flexible way to estimate dynamic, causal effects of a policy of interest several time periods after it comes into effect.

2

Bootstrapped-SE-with-three-way-panels-in-Stata. Stata has excellent and flexible bootstrapping functions for cross-sectional, time series and panel data structures. However, it lacks automatic capability in dealing with three-way panel structures, that is, data structures indexed by i, j, t, where for every i there is every j and for every i, j there is every t.

1

Visualising-trade-flow-data-over-time-in-R-using-Chord-GIFs.

1

Automating-Stata-to-write-your-LaTeX-for-you. This post isn’t going to teach you how to make Stata write the words in your LaTeX file but it will show you how to automatically update tables, figures, and statistics.

1

What-to-do-when-you-have-many-fixed-effects. Using reghdfe to allows for two levels of fixed effects, interactions between fixed effects, and multi-way clustering in STATA

1

Large-data-sets-and-the-need-for-speed. Tricks on how to improve the speed of Stata jobs when handling large data sets

1

Flexible-code-for-balance-and-summary-tables-in-STATA. Flexibly create LATEX table using Stata

1

Calculating-road-distances-between-locations. The Stata command georoute is a great shortcut for reliably calculating routing distances and travel time between either two geographical coordinates or two addresses. This command is particularly useful as it calculates the driving distance and travel time (by car, under usual traffic conditions) as opposed to straight-line distances.

1

How-to-make-bar-charts-of-impacts-with-standard-errors. Previously creating a bar chart with standard error bars was a multistep process requiring you to create the standard error range yourself and overlay two charts on top of each other. The command cibar makes this process simple.

1

csae-coders-corner. Config files for my GitHub profile.

1

Staggered-Difference-in-difference. The Goodman-Bacon (2018) method for estimating treatment effects with differential timing.

1

Synthetic-control-method-in-Stata.

1