# Boston College Department of Economics

# Statistical Software Components

Postal: Boston College, 140 Commonwealth Avenue, Chestnut Hill MA 02467 USA

Phone: 617-552-3670

Fax: +1-617-552-2308

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

Email:

More information through EDIRC

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)

### 2003

**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**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**IVREG210: Stata module for extended instrumental variables/2SLS and GMM estimation (v10)***by*Christopher F Baum & Mark E Schaffer & Steven Stillman**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**OMNINORM: Stata module to calculate omnibus test for univariate/multivariate normality***by*Christopher F Baum & Nicholas J. Cox**SUMMDATE: Stata module for summarizing date variable***by*Nicholas J. Cox**SENCODE: Stata module to encode a string variable non-alphanumerically into a numeric variable***by*Roger Newson**RGROUP: Stata module for Random Group Variance Estimation***by*Ulrich Kohler**CF3: Stata module to compare two datasets***by*Thomas Steichen**HLPDIR: Stata module to find location(s) of help file***by*Nicholas J. Cox**DESCSAVE: Stata module to export data set and machine-readable codebook***by*Roger Newson**SVYTABS: Stata module to Create Tables for export Combining Multiple Survey Tabulations***by*Michael Blasnik**MSTORE: Stata module to Store and Retrieve Matrices with Dataset***by*Michael Blasnik**SAVESOME: Stata module to save subset of data***by*Nicholas J. Cox**STBGET: Stata module to get packages from Stata Technical Bulletin***by*Nicholas J. Cox**SPSURV: Stata module to fit split population survival ('cure') model***by*Stephen P. Jenkins**XTGRAPH: Stata module to produce graphs of cross-sectional time series (xt) data***by*Paul Seed**EFFECTS: Stata module to provide a graphical interface for estimation commands***by*Michael Hills**STPM: Stata module to fit flexible parametric models for survival-time data***by*Patrick Royston**MADFULLER: Stata module to perform Dickey-Fuller test on panel data***by*Christopher F Baum**AFORMAT: Stata module to condense the display format of a variable***by*Jens M. Lauritsen & John Luke Gallup**TODATE: Stata module to generate Stata date variables from run-together date variables***by*Nicholas J. Cox**_GWTMEAN: Stata module containing extensions to generate to implement weighted mean***by*David Kantor**TSGRAPH: Stata module to produce time series line graph***by*Nicholas J. Cox & Christopher F Baum**SOREG: Stata module to implement the stereotype ordinal regression model***by*Mark Lunt**FBAR: Stata module to produce bar charts showing frequencies of categorical variables***by*Nicholas J. Cox**METANINF: Stata module to evaluate influence of a single study in meta-analysis estimation***by*Thomas Steichen**BLIST: Stata module to list values of variables in as small a space as possible***by*Adrian Mander**JOHANS: Stata module to perform Johansen-Juselius ML estimates of cointegration***by*Patrick Joly & Ken Heinecke & Charles Morris**VECAR6: Stata module to estimate vector autoregressive (VAR) models (version 6)***by*Christopher F Baum & Patrick Joly**OUTTABLE: Stata module to write matrix to LaTeX table***by*Christopher F Baum & Joao Pedro Azevedo**FACTMERG: Stata module to merge a list of factors to create string variables***by*Roger Newson**FACTREF: Stata module to insert new observations with reference values for factors***by*Roger Newson**FACTEXT: Stata module to extract factor values from a label variable created by parmest***by*Roger Newson**HADRILM: Stata module to perform Hadri panel unit root test***by*Christopher F Baum**LEVINLIN: Stata module to perform Levin-Lin-Chu panel unit root test***by*Fabian Bornhorst & Christopher F Baum**NHARVEY: Stata module to perform Nyblom-Harvey panel test of common stochastic trends***by*Christopher F Baum & Fabian Bornhorst**IPSHIN: Stata module to perform Im-Pesaran-Shin panel unit root test***by*Fabian Bornhorst & Christopher F Baum**GPRESET: Stata module to reset preferences for a custom graphics scheme to their original values***by*Roger Newson**GENEIGEN: Stata module to calculate eigenvalues of a real general matrix***by*Christopher F Baum**DOTEX: Stata module to generate TeX log from do-file***by*Roger Newson**OUTTEX: Stata module to LaTeX code for result tables after any estimation command***by*Antoine Terracol**SUTEX: Stata module to LaTeX code for summary statistics tables***by*Antoine Terracol**DSEARCH: Stata module to find variables with given variable label***by*Ulrich Kohler**CHIPLOT: Stata module to produce graphical assessment plot for dependence***by*Thomas Steichen**IDONEPSU: Stata module for dealing with strata that have singleton PSUs***by*Joshua H. Sarver**STATSMAT: Stata module to place descriptive statistics in matrix***by*Nicholas J. Cox & Christopher F Baum**DS3: Stata module to describe variables in memory***by*Nicholas J. Cox**DTHAZ: Stata module to compute discrete-time hazard and survival probability estimates***by*Alexis Dinno**PARAN: Stata module to compute Horn's test of principal components/factors***by*Alexis Dinno**GPREFSCODE: Stata module to report on graphics preferences***by*Jan Brogger**_GSOUNDEX: Stata module to implement soundex algorithm***by*Michael Blasnik**BPASS: Stata module to compute band pass filter for time series data***by*Eduard Pelz**BKING: Stata module to implement Baxter-King filter for timeseries data***by*Christopher F Baum & Martha Lopez**LABSORT: Stata module to recode a grouping variable according to a group statistic and reorder its value labels***by*Ross Odell**INTREG2: Stata module to perform interval regression with multiplicative heteroskedasticity***by*Weihua Guan**SQR: Stata module to make graphs square, or any other shape***by*Nicholas J. Cox**POWERCAL: Stata module to perform general power and sample size calculations***by*Roger Newson**DENTON: Stata module to interpolate a flow or stock series from low-frequency totals via proportional Denton method***by*Christopher F Baum & Sylvia Hristakeva**CORR_SVY: Stata module to compute correlation tables for survey data***by*Nick Winter**LOG2HTML: Stata module to produce HTML log files***by*Christopher F Baum & Nicholas J. Cox & Bill Rising**DFAO: Stata module to perform Dickey-Fuller unit root test in the presence of additive outliers***by*Richard Sperling**XPREDICT: Stata module to extend predict command***by*Patrick Royston**MCL: Stata module to estimate multinomial conditional logit models***by*John Hendrickx**LISTTEX: Stata module to list variables as rows of a TeX, HTML or word processor table***by*Roger Newson**RASCHCVT: Stata module to produce data in WINSTEPS format***by*Fred Wolfe**DIAGT: Stata module to report summary statistics for diagnostic tests compared to true disease status***by*Paul Seed