# Boston College Department of Economics

# Statistical Software Components

Phone: 617-552-3670

Fax: +1-617-552-2308

Web page: http://fmwww.bc.edu/EC/

Email:

More information through EDIRC

**Order information:**

Web: http://repec.org/docs/ssc.php

**Editor:**

Additional information is available for the following
registered editor(s): Christopher F Baum
**For corrections or technical questions regarding this series, please contact
(Christopher F Baum)**

**Series handle:**repec:boc:bocode

**Citations RSS feed:**at CitEc

### Impact factors

- Simple (last 10 years)
- Recursive (10)
- Discounted (10)
- Recursive discounted (10)
- H-Index (10)
- Aggregate (10)

**Access and download statistics**

**Top item:**

- By downloads (last 12 months)

### 2004

**ERET2: Stata module to save results in e()***by*Ben Jann**RC_SPLINE: Stata module to generate restricted cubic splines***by*William D. Dupont & W. Dale Plummer, Jr.**TOLERANCE: Stata module to generate tolerance intervals from input data***by*Peter Lachenbruch**MODELDIAG: Stata module to generate graphics after regression***by*Nicholas J. Cox**PROFHAP: Stata module to construct profile likelihood confidence intervals for haplotype analysis***by*Adrian Mander**NSPLIT: Stata module to split numeric variable into components***by*Dan Blanchette**HLM: Stata module to invoke and run HLM v6 software from within Stata***by*Sean F. Reardon**FIELLER: Stata module to calculate confidence intervals of quotients of normal variates***by*Joseph Coveney**XTFISHER: Stata module to compute Fisher type unit root test for panel data***by*Scott Merryman**MATWRITE: Stata module to write Stata variables as MATLAB matrices***by*Andrew Shephard**USMAPS: Stata module to provide US state map coordinates for tmap***by*Scott Merryman**SSCSUBMIT: Stata module -- some notes on SSC Archive use for Stata users***by*Christopher F Baum**GDECOMP: Stata module to compute decomposition of outcome differentials after nonlinear models***by*Tamas Bartus

### 2003

**ELLIP6: Stata module to plot confidence ellipses (version 6)***by*Anders Alexandersson**ELLIP7: Stata module to plot confidence ellipses (version 7)***by*Anders Alexandersson**QHAPIPF: Stata module to perform analysis of quantitative traits using regression and log-linear modelling when PHASE is unknown***by*Adrian Mander**SLIST: Stata module to "smart list" variables in compact format***by*Svend Juul & Jens M. Lauritsen & John Luke Gallup**NEAREST: Stata module to calculate nearest neighbours from point coordinates***by*Nicholas J. Cox**FEDIT: Stata module to find and edit text file from within Stata***by*Nicholas J. Cox**EXTREMES: Stata module to list extreme values of a variable***by*Nicholas J. Cox**MYPKG: Stata module to inform on packages installed over net***by*Nicholas J. Cox**PAIRPLOT: Stata module for plots of paired observations***by*Nicholas J. Cox**CYCLEPLOT: Stata module for cycle plot (month plot or seasonal subseries plot)***by*Nicholas J. Cox**CIPLOT: Stata module for plots of confidence intervals***by*Nicholas J. Cox**SELECTVARS: Stata module for selecting all possible n-tuples from a varlist***by*Nicholas J. Cox**STCOMPET: Stata module to generate cumulative incidence in presence of competing events***by*Enzo Coviello**FULL_PALETTE: Stata module to display color palette***by*Nick Winter**CATPLOT: Stata module for plots of frequencies, fractions or percents of categorical data***by*Nicholas J. Cox**ECLPLOT: Stata module to generate estimates and confidence limits plots***by*Roger Newson**SPELLUTIL: Stata module of utilities for the manipulation of timespan data***by*Edwin Leuven**METADIALOG: Stata module to provide sub-menu and dialogs for meta-analysis commands***by*Thomas Steichen**PSMATCH2: Stata module to perform full Mahalanobis and propensity score matching, common support graphing, and covariate imbalance testing***by*Edwin Leuven & Barbara Sianesi**BYGAP: Stata module to insert by-gap observation at the start of each by-group***by*Roger Newson**INGAP: Stata module to insert gap observations into a data set before output by listtex***by*Roger Newson**MYLABELS: Stata module for axis labels or ticks on transformed scales or for daily dates***by*Nicholas J. Cox & Scott Merryman**CLEANLOG: Stata module to clean log files***by*Lee E. Sieswerda**GPFOBL: Stata module to perform rotation after factor / principal components***by*Herve M. Caci**MVPROBIT: Stata module to calculate multivariate probit regression using simulated maximum likelihood***by*Lorenzo Cappellari & Stephen P. Jenkins**EQPRHISTOGRAM: Stata module for equal probability histogram***by*Nicholas J. Cox**SLIDEPLOT: Stata module for sliding bar plot for frequencies or percents***by*Nicholas J. Cox**MAJORITY: Stata module for majority calculations for real or hypothetical elections***by*Nicholas J. Cox**HIREG: Stata module for hierarchial regression***by*Paul H. Bern**BIGTAB: Stata module to produce frequency tables for "too many values"***by*Paul H. Bern**VARTYP: Stata module to set variable types for codebook2***by*Paul H. Bern**CODEBOOK2: Stata module to produce a codebook describing a data file***by*Paul H. Bern**DMARIANO: Stata module to calculate Diebold-Mariano comparison of forecast accuracy***by*Christopher F Baum**WHOTDECK: Stata module to perform multiple imputation using the Approximate Bayesian Bootstrap with weights***by*Adrian Mander**CRTEST: Stata module to perform Cramer-Ridder Test for pooling states in a Multinomial logit***by*Joao Pedro Azevedo**COLLAPSEUNIQUE: Stata module to reduce data to unique observations based on specified key variables***by*David Kantor**STRIPPLOT: Stata module for strip plots (one-way dot plots)***by*Nicholas J. Cox**LINKPLOT: Stata module for linked (connected) scatter plots***by*Nicholas J. Cox**STATSBYFAST: Stata module to efficiently compute statistics for by-group***by*Michael Blasnik**PARPLOT: Stata module for parallel coordinates plots***by*Nicholas J. Cox**GROUPS: Stata module to list group frequencies***by*Nicholas J. Cox**WCLOGIT: Stata module to perform conditional logistic regression with within-group varying weights***by*Adrian Mander**XCONTRACT: Stata module to make a data set of frequencies and percents on disk or in memory***by*Roger Newson**XCOLLAPSE: Stata module to make data set of summary statistics on disk or in memory***by*Roger Newson**METAFUNNEL: Stata module to produce funnel plots for meta-analysis***by*Jonathan Sterne**CORRTAB: Stata module to display correlation coefficients in a formatted tabular output***by*Fred Wolfe**DMERGE: Stata module to merge datasets using a modification of Stata's merge***by*Fred Wolfe**MAKEMATRIX: Stata module to make a matrix of results from other commands***by*Nicholas J. Cox**CIBPLOT: Stata module for bar-on-bar plots of confidence intervals***by*Nicholas J. Cox**VREVERSE: Stata module to reverse existing categorical variable***by*Nicholas J. Cox**MSPLOT: Stata module for multiple median-spline plots***by*Nicholas J. Cox**NICEDATES: Stata module for nice dates, especially for time series graphs***by*Nicholas J. Cox**MKCORR: Stata module to generate correlation table formatted for easy inclusion in articles***by*Glenn Hoetker**CME: Stata program to estimate generalized linear models with covariate measurement error***by*Sophia Rabe-Hesketh**UNITAB: Stata program to display a univariate table for a binary outcome variable***by*Nicola Orsini & Matteo Bottai**GRBY: Stata program to draw bar charts for each covariate pattern***by*Nicola Orsini & Matteo Bottai**NEARMRG: Stata module to provide nearest-match merging of datasets***by*Eric Booth**TABSTATMAT: Stata module to save matrices saved by tabstat to single named matrix***by*Austin Nichols**PANELUNIT: Stata module to support unit root tests on panel data***by*Christopher F Baum**PANELAUTO: Stata module to support tests for autocorrelation on panel data***by*Christopher F Baum**SAFEDROP: Stata module to drop variables if and only if varnames specified in full***by*Nicholas J. Cox**GAMMAFIT: Stata module to fit a two-parameter gamma distribution***by*Nicholas J. Cox & Stephen P. Jenkins**GUMBELFIT: Stata module to fit a two-parameter Gumbel distribution***by*Nicholas J. Cox & Stephen P. Jenkins**BETAFIT: Stata module to fit a two-parameter beta distribution***by*Maarten L. Buis & Nicholas J. Cox & Stephen P. Jenkins**LOOKFORIT: Stata module to search variable names and labels for some string or strings***by*Dan Blanchette**SAVASAS: Stata module to save your dataset as a SAS dataset***by*Dan Blanchette**USESAS: Stata module to use a SAS dataset***by*Dan Blanchette**ETIME: Stata module to time how long a program runs***by*Dan Blanchette**USAGELOG: Stata module to log usage of Stata programs in an existing text file***by*Dan Blanchette**TMPDIR: Stata module to indicate the directory Stata is using for a temporary directory***by*Dan Blanchette**CONFIRMDIR: Stata module to confirm if a directory exists***by*Dan Blanchette**SHORTDIR: Stata module to return the short Windows directory path name***by*Dan Blanchette**LAMBDA: Stata module for Goodman and Kruskal's lambda measures for two-way tables***by*Nicholas J. Cox**SURVTIME: Stata module to compute survival time for use in stset***by*Allen Buxton**XTABOND2: Stata module to extend xtabond dynamic panel data estimator***by*David Roodman**FACTORTEST: Stata module to perform tests for appropriateness of factor analysis***by*Joao Pedro Azevedo**CHECKVAR: Stata module to check the values of a created variable***by*Phil Bardsley**VTOKENIZE: Stata module to split a variable into its tokens***by*Bill Rising**RESHAPE8: Stata module to reshape while preserving variable labels***by*Bill Rising**PCORR2: Stata module to display partial and semipartial correlation coefficients***by*Richard Williams**TAROW: Stata module to tabulate each row against all others***by*Allen Buxton**CB2HTML: Stata module to write a codebook to an HTML file***by*Phil Bardsley**MOPOS: Excel module implementing monetary policy simulation game***by*Yvan Lengwiler**HPEXCEL: Excel module for computation of Hodrick-Prescott filtered time series***by*Yvan Lengwiler**ROBSKEW: RATS module for computation of quartile skewness measure***by*Eric Blankmeyer**SAVAS: c-shell script for *nix which makes Stata versions of SAS data files***by*Dan Blanchette**SAVASTATA: SAS macro to save a SAS dataset as a Stata dataset***by*Dan Blanchette**VINCENTY: Stata module to calculate distances on the Earth's surface***by*Austin Nichols

### 2002

**IVREG210: Stata module for extended instrumental variables/2SLS and GMM estimation (v10)***by*Christopher F Baum & Mark E Schaffer & Steven Stillman**SURVWGT: Stata module to create and manipulate survey weights***by*Nick Winter**SVR: Stata module to compute estimates with survey replication (SVR) based standard errors***by*Nick Winter**JONTER: Stata module to perform Jonckheere-Terpstra test***by*Joseph Coveney**XSAMPSI: Stata module to calculate sample size for cross-over trials with continuous measures***by*Jan Brogger**CI2: Stata module to compute confidence intervals for correlations***by*Paul Seed**DOMDIAG: Stata module to construct dominance diagrams***by*Nicholas J. Cox**XTPATTERN: Stata module to generate code showing pattern of xt data***by*Nicholas J. Cox**NBFIT: Stata module for fitting negative binomial distribution by maximum likelihood***by*Nicholas J. Cox & Roberto G. Gutierrez**DISTINCT: Stata module to display distinct values of variables***by*Gary Longton & Nicholas J. Cox**MAKETEX: Stata module to generate LaTeX code from a text file***by*Antoine Terracol**TRIPROBIT: Stata module to estimate trivariate probit model using the GHK simulator***by*Antoine Terracol**SMILEPLOT: Stata module to create plots for use with multiple significance tests***by*Roger Newson**TABMERGE: Stata module to tabulate report on merge***by*Nicholas J. Cox**AVPLOT3: Stata module to generate partial regression plots for subsamples***by*Christopher F Baum**DATESUM: Stata module to display summary statistics for date variables***by*Gary Longton**_GCLSORT: Stata module to sort a single variable via egen***by*Philippe Van Kerm**CLTEST: Stata modules for performing cluster-adjusted chi-square and t-tests***by*Jeph Herrin**VARLAB: Stata module to save and load variable labels***by*Patrick Joly**DECOMP: Stata module to compute decompositions of earnings gaps***by*Ian Watson**OVERLAY: Stata module to overlay multiple x vs y graphs***by*Adrian Mander**TAB3WAY: Stata module to handle three-way tables with percentages***by*Philip Ryan**TAB2WAY: Stata module to handle two-way tables with percentages***by*Philip Ryan**IVREG2: Stata module for extended instrumental variables/2SLS and GMM estimation***by*Christopher F Baum & Mark E Schaffer & Steven Stillman**HAPIPF: Stata module to perform haplotype analysis***by*Adrian Mander**VARLAG: Stata module to determine the appropriate lag length in VARs, ECMs***by*Patrick Joly**VECECM: Stata module to estimate vector error correction models (ECMs)***by*Patrick Joly**ISCO: Stata module to recode 4 digit ISCO-68 occupational codes***by*John Hendrickx**ISKO: Stata module to recode 4 digit ISCO-88 occupational codes***by*John Hendrickx**DPPLOT: Stata module for density probability plots***by*Nicholas J. Cox**CIPOLATE: Stata module for cubic interpolation***by*Nicholas J. Cox**TKNZ: Stata module to tokenize string into named macros***by*David C. Elliott**LEVELS: Stata module to report distinct levels of integer or string variable***by*Nicholas J. Cox**REFORMAT: Stata module to reformat regression output***by*Tony Brady**XTAB: Stata module to tabulate longitudinal data***by*Tony Brady**MVSUMM: Stata module to generate moving-window descriptive statistics in time series or panel***by*Nicholas J. Cox & Christopher F Baum**FSUM: Stata module to generate and format summary statistics***by*Fred Wolfe**STKERHAZ: Stata module to produce baseline hazard estimates via kernel smoother and plots***by*Enzo Coviello**EXPLIST: Stata module to generate an exponentially-spaced list of numbers***by*Roger Newson**QLOGNORM: Stata module for diagnostic plots for lognormal distribution***by*Nicholas J. Cox**TSSPELL: Stata module for identification of spells or runs in time series***by*Nicholas J. Cox**GPHEPSSJ: Stata module to translate Stata graph files to .eps as used for The Stata Journal***by*Roger Newson**TEXTEDITORS: Stata module -- some notes on text editors for Stata users***by*Nicholas J. Cox**INCCAT: Stata module to concatenate one or more input files to an output file inserting additional input files***by*Roger Newson**ADJKSM: Stata module to perform adjusted "ksm" for robust scatterplot smoothing***by*Isaias H. Salgado-Ugarte & Makoto Shimizu**OUTDAT: Stata module to export data to other statistical packages***by*Ulrich Kohler**RESHAPE7: Stata module to provide improved reshape***by*Bill Rising**QSIM: Stata module to produce variables for clarify routines***by*Fred Wolfe**ALLPOSSIBLE: Stata module to fit all possible models with subsets of predictors***by*Nicholas J. Cox**GLMCORR: Stata module for correlation measure of predictive power for GLMs***by*Nicholas J. Cox**GCAUSE: Stata module to perform Granger causality tests***by*Patrick Joly**MATSAVE: Stata module to save and load matrices***by*Marc-Andreas Muendler**EST2TEX: Stata module to create LaTeX tables from estimation results***by*Marc-Andreas Muendler**LOG2DO2: Stata module to convert log file to do file***by*Nick Winter**HANSEN2: Stata module for Hansen's test for parameter instability***by*Nicholas J. Cox**GAM: Stata module for generalised additive models***by*Patrick Royston & Gareth Ambler**IVHETTEST: Stata module to perform Pagan-Hall and related heteroskedasticity tests after IV***by*Mark E Schaffer**NEWEY2: Stata module to extend newey (HAC covariance estimation)***by*David Roodman**INTEXT: Stata module to read text files into string variables***by*Roger Newson**MATRIXOF: Stata module to produce matrix or vector of results for paired or single variables***by*Nicholas J. Cox**MRDUM: Stata module to create dummy variables and summary table for multiple response data***by*Lee E. Sieswerda**FASTCD: Stata module to automate changing directories***by*Nick Winter**IVENDOG: Stata module to calculate Durbin-Wu-Hausman endogeneity test after ivreg***by*Christopher F Baum & Mark E Schaffer & Steven Stillman**TABCOUNT: Stata module to tabulate frequencies, with zeros explicit***by*Nicholas J. Cox**TABCOND: Stata module to tabulate frequencies satisfying specified conditions***by*Nicholas J. Cox**MINAP: Stata module to calculate minimum average partial correlation for principal components***by*Stephen Soldz**QROWNAME: Stata module to extract lists of quoted row and column names from a matrix***by*Roger Newson**CIJ: Stata module for binomial confidence intervals for proportions using Jeffreys prior***by*Nicholas J. Cox**CIW: Stata module for binomial confidence intervals for proportions using Wilson scores***by*Nicholas J. Cox**TEXTGPH: Stata module to add strings of text to a graph***by*Nick Winter**LATAB: Stata module to generate LaTeX output from tabulate***by*Ian Watson**AUTOLOG: Stata module to generate dialog to create log files***by*Ian Watson**HISTBOX: Stata module to generate histogram with boxplot***by*Philip B. Ender**KDBOX: Stata module to generate kernel density plot with boxplot***by*Philip B. Ender**SUNFLOWER: Stata module to generate density distribution sunflower plots***by*William D. Dupont & W. Dale Plummer Jr.**CHARLIST: Stata module to list characters present in string variable***by*Nicholas J. Cox**ADOEDIT: Stata module to edit ado file in Stata's do-file editor***by*Dan Blanchette**LINCOMEST: Stata module to generate linear combinations of estimators saved as estimation results***by*Roger Newson**STYLERULES: Stata module -- suggestions on programming style***by*Nicholas J. Cox**NLECDYN_TOOLKIT: MATLAB modules for analyzing nonlinear economic dynamic models easily***by*Harald Uhlig**COMPLEXROOTS: RATS procedure for calculating roots of a polynomial***by*Tom Doan**Fast Implementation Of The Kernel Density Code***by*Yuriy Tchamourliyski

### 2001

**STRGEN: Stata module to generate string variables without knowing string type***by*Nicholas J. Cox**WNTSTMVQ: Stata module to compute multivariate Ljung-Box Q test***by*Richard Sperling & Christopher F Baum**GRNOTE: Stata module to add text and lines to graphs***by*Michael Blasnik**XTTRANS2: Stata module to compute tables of transition probabilities***by*Nicholas J. Cox**INEQUAL7: Stata module to compute measures of inequality***by*Philippe Van Kerm**TABLEPC: Stata module for percent calculation prior to table***by*Nicholas J. Cox**HEGY4: Stata module to compute Hylleberg et al seasonal unit root test***by*Christopher F Baum & Richard Sperling**CPCORR: Stata module for correlations for each row vs each column variable***by*Nicholas J. Cox**MKTAB: Stata module to print table of estimates in delimited or screen-presentation format***by*Nick Winter**VECAR: Stata module to estimate vector autoregressive (VAR) models***by*Christopher F Baum**XDATELIST: Stata module to create ascending numeric lists of dates***by*Roger Newson**STRDATE: Stata module to replace string date variables with numeric date variables with the same names***by*Roger Newson**CATGRAPH: Stata module to plotting means of a variable by category***by*Nick Winter**DSCONCAT: Stata module to concatenate a list of Stata data files into memory***by*Roger Newson**TOSQL: Stata module to transfer data to SQL database***by*Christopher F Baum**OUTSERIES: Stata module to write timeseries to text files***by*Christopher F Baum**GLCURVE7: Stata module to derive generalised Lorenz curve ordinates with unit record data (version 7)***by*Philippe Van Kerm & Stephen P. Jenkins