# 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

**EXAMPLES: Stata module to show examples from on-line help files***by*Nicholas J. Cox**ROLLREG: Stata module to perform rolling regression estimation***by*Christopher F Baum**CLEMAO_IO: Stata module to perform unit root tests with one or two structural breaks***by*Christopher F Baum**HECKPROB2: Stata module to run heckprob and svyheckprob with d2 evaluator***by*Jerzy Mycielski**GIPF: Stata module to graphically display a log-linear model***by*Adrian Mander**METAGRAPH: Stata module to draw Forrest plot after meta command***by*Adrian Mander**HSHAZ: Stata module to estimate discrete time (grouped data) proportional hazards models***by*Stephen P. Jenkins**TSLIST: Stata module to list time series data***by*Christopher F Baum & Michael S. Hanson**COLLAPSE2: Stata module to extend the collapse command***by*David Roodman**GEN_TAIL: Stata module to work with indicator observations***by*David Kantor**CARRYFORWARD: Stata module to carry forward previous observations***by*David Kantor**FLOATTOLONG: Stata module to recast variables from float to long storage type***by*David Kantor**DOUBLETOFLOAT: Stata module to recast variables from double to float storage type***by*David Kantor**MARGEFF: Stata module to compute average marginal effects for categorical and limited dependent variable models***by*Tamas Bartus**MATIN4-MATOUT4: Stata module to import and export matrices***by*Christopher F Baum & William Gould**PERTURB: Stata module to evaluate collinearity and ill-conditioning***by*John Hendrickx**COLDIAG2: Stata module to evaluate collinearity in linear regression***by*John Hendrickx**SIM_ARMA: Stata module to simulate data for ARMA processes***by*Jeff Pitblado**NDBCI: Stata module extending ci for single variable with exposure time***by*Fred Wolfe**LABELMISS: Stata module to label missing data***by*Stanislav Kolenikov**MCENTER: Stata module to center variables at their means***by*Jeffrey S. Simons**SSLOPE: Stata module to calculate slope coefficients for regression interactions***by*Jeffrey S. Simons**REORDER: Stata module to reorder variables in dataset, reversibly***by*Nicholas J. Cox**SCAT3: Stata module for crude three-dimensional graphics***by*Nicholas J. Cox**DUMMIESLAB: Stata module to convert categorical variable to dummy variables using label names***by*Philippe Van Kerm & Nicholas J. Cox**RFL: Stata module to maintain lists of recently accessed files***by*Dankwart Plattner**XTVC: Stata module to compute confidence intervals for the variance component of random-intercept linear models***by*Matteo Bottai & Nicola Orsini**METAREG: Stata module to perform meta-analysis regression***by*Roger Harbord & Julian Higgins**RC2: Stata module to estimate Goodman's Row and Columns model 2***by*John Hendrickx**MOMENTS: Stata module to compute moment-based statistics***by*Nicholas J. Cox**SXPOSE: Stata module to transpose string variable dataset***by*Nicholas J. Cox**KAPUTIL: Stata module to generate confidence intervals and sample size calculations for the kappa-statistic***by*David Harrison**BYSTORE: Stata module to repeat estimation commands and store estimates***by*David Harrison**GZSAVE: Stata module to save and use datasets compressed by gzip***by*Henrik Stovring**WITCH: Stata module to mystically manage files on adopath***by*Thomas Steichen**CUREREGR: Stata module to estimate parametric cure regression***by*Allen Buxton**HPRESCOTT: Stata module to implement Hodrick-Prescott filter for timeseries data***by*Christopher F Baum**TABOUT: Stata module to export publication quality cross-tabulations***by*Ian Watson**GAMET: Stata module to perform game-theoretic calculations***by*Nicola Orsini & Debora Rizzuto & Nicola Nante**DUNCAN: Stata module to calculate dissimilarity index***by*Ben Jann**FVIEW: Stata module to find and view a file***by*Ben Jann**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

**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