These files allow replication of the Roodman extreme value theory analysis of the Dst time series.

"powerlaw.ado" is a module for fitting the powerlaw. Run it once in a session to make it available to subsequent code.
"Dst analysis.do" performs all the analysis and produces all graphs.

"World Data Center for Geomagnetism Dst.dta" contains the primary data set. Source: http://wdc.kugi.kyoto-u.ac.jp/dstdir/
"USGS hourly Dst.dta" contains the USGS variant of Dst. source: ftp://ftpext.usgs.gov/pub/cr/co/golden/jlove/models/5807-4SH

A global variable in "Dst analysis.do" controls which data set is used.

The code also requires installation of the "extreme" package for Stata: type "ssc install extreme".