» Home

  » CV

  » Research

  » Software

Code modules

This page documents various modules I have written. All Stata modules are also available by automated download via Boston College's Statistical Software Comonents (SSC) archive. For example, type ssc install regsave, replace at your Stata prompt to install the latest version of my regsave command.

ModuleLanguageDescription
TextFileLoadC++TextFileLoad is an ANSI-compliant class that enables programs to import data from text files in a user-friendly manner. Data can be loaded by column name or number and are automatically converted to the appropriate data types.
appendfileStataappendfile appends a text file to another text file.
autorenameStataautorename renames variables according to values stored in a particular row. This can be useful when trying to insheet certain oddly formatted datasets.
regsaveStataregsave stores regression output into a Stata-formatted dataset.
sortobsStatasortobs allows the user to sort observations by either (1) a variable's specific values or (2) observation numbers. Observations that are not specified in the command retain their original, respective sort orders.
strgroupStatastrgroup matches strings based on their Levenshtein edit distance.
svretStatasvret replaces the dataset in memory with the scalars and macros stored in e(), r(), and s().
texsaveStatatexsave outputs the dataset currently in memory to a file in LaTeX format. It includes macro code that can be read by Scientific Word (SW) so that full SW functionality is retained.
wyoungStatawyoung controls the family-wise error rate when performing multiple hypothesis tests by estimating adjusted p-values using the free step-down resampling methodology of Westfall and Young (1993).

Supplementary materials for wyoung

Detailed documentation for the wyoung Stata command is available here. The accompanying Stata code for the simulations reported in the documentation is available here.



























© Copyright Julian Reif. All rights reserved
Steve's free web templates