tsti

The tsti Stata command implements the three-sided testing procedure (Goeman, Solari, and Stijnen 2010). The command repository, along with download instructions in Stata, can be found here.