# Boston College Department of Economics

# Statistical Software Components

**Contact information of Boston College Department of Economics:**

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

Phone: 617-552-3670

Fax: +1-617-552-2308

Email:

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

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).

More pages of listings: 0| 1| 2| 3| 4| 5| 6| **7**| 8| 9| 10| 11| 12

### 2004

**BNORMPDF: Stata module to calculate the bivariate normal density***by*Gary Longton**GRQREG: Stata module to graph the coefficients of a quantile regression***by*Joao Pedro Azevedo**GENHWCCI: Stata module to calculate Hardy-Weinberg equilibrium test in case-control studies***by*James Cui**MRTAB: Stata module to compute one- and two-way tables of multiple responses***by*Ben Jann & Hilde Schaeper**ZANDREWS: Stata module to calculate Zivot-Andrews unit root test in presence of structural break***by*Christopher F Baum**CVXHULL: Stata module to compute and plot convex hulls of bivariate data***by*R. Allan Reese**ABAR: Stata module to perform Arellano-Bond test for autocorrelation***by*David Roodman**MAT2TXT: Stata module to write matrix to ASCII file***by*Michael Blasnik & Ben Jann**TABLEPLOT: Stata module giving graphical display in two-way table format***by*Nicholas J. Cox**SORTLISTBY: Stata module to sort by random or by ancillary numlist***by*Ben Jann**MGEN: Stata module to apply generate to a matrix***by*Ben Jann**HLIST: Stata module for horizontally listing values***by*Nicholas J. Cox**PPPLOT: Stata module for P-P plots***by*Nicholas J. Cox**ROCSS: Stata module to calculate ROC curve and other statistics for any classification method***by*Nicola Orsini & Matteo Bottai**PNRCHECK: Stata module to verify the check digit in Swedish personal identification number***by*Nicola Orsini**STEXPECT: Stata module to compute expected survival***by*Enzo Coviello**RBOUNDS: Stata module to perform Rosenbaum sensitivity analysis for average treatment effects on the treated***by*Markus Gangl**REGAXIS: Stata module to make regular linear and logarithmic axis scales, ranges and tick lists***by*Roger Newson**PGMHAZ8: Stata module to estimate discrete time (grouped data) proportional hazards models***by*Stephen P. Jenkins**META_LR: Stata module to graph positive and negative likelihood ratios in diagnostic test***by*Aijing Shang**MCQSCORE: Stata module to score the Monetary Choice Questionnaire using logistic regression***by*E. Paul Wileyto**MVCORR: Stata module to generate moving-window correlation or autocorrelation in time series or panel***by*Nicholas J. Cox & Christopher F Baum**IPF: Stata module to perform log-linear modelling using Iterative Proportional Fitting***by*Adrian Mander**HAPBLOCK: Stata module to perform haplotype analysis to identify the edges of haplotype blocks***by*Adrian Mander**SWBLOCK: Stata module to perform parsimonious model selection in haplotype analysis***by*Adrian Mander**ROBREG: RATS module to estimate regression robustly and reliably***by*Eric Blankmeyer**RASCHTEST: Stata module to estimate parameters of the Rasch model by CML, MML or GEE***by*Jean-Benoit Hardouin**GAMMASYM: Stata module to compute the value of the symmetrical gamma function***by*Jean-Benoit Hardouin**RASCHTESTV7: Stata module to estimate parameters of the Rasch model by CML, MML or GEE (v7)***by*Jean-Benoit Hardouin**VANELTEREN: Stata module to perform van Elteren's test (generalized Wilcoxon-Mann-Whitney ranksum test)***by*Joseph Coveney**FS: Stata module to show names of files in compact form***by*Nicholas J. Cox**ESTOUT1: Stata module to export estimation results from estimates table***by*Ben Jann**ESTOUT: Stata module to make regression tables***by*Ben Jann**LOEVH: Stata module to compute Guttman errors and Loevinger H coefficients***by*Jean-Benoit Hardouin**MSP: Stata module to perform the Mokken Scale Procedure***by*Jean-Benoit Hardouin**DETECT: Stata module to compute the DETECT, Iss and R indexes to test a partition of items***by*Jean-Benoit Hardouin**DISJOINT: Stata module to generate end variable demarcating disjoint spells***by*Nicholas J. Cox**ADJACENT: Stata module to list adjacent values of variables***by*Nicholas J. Cox**PLOTMATRIX: Stata module to plot values of a matrix as different coloured blocks***by*Adrian Mander**NNMATCH: Stata module to compute nearest-neighbor bias-corrected estimators***by*Alberto Abadie & Jane Leber Herr & Guido W. Imbens & David M. Drukker**SENSPEC: Stata module to compute sensitivity and specificity results saved in generated variables***by*Roger Newson**TWOWAY_ESTFIT: Stata module to enable graph twoway estfit***by*Michael Blasnik**MKDAT: Stata module providing easy SOEP retrievals***by*Ulrich Kohler**SOEPREN: Stata module providing easy SOEP renames***by*Ulrich Kohler**ALPHAWGT: Stata module to compute Cronbach's alpha for weighted data***by*Ben Jann**CENTER: Stata module to center (or standardize) variables***by*Ben Jann**DECOMPOSE: Stata module to compute decompositions of wage differentials***by*Ben Jann**WGTTEST: Stata module to test the impact of sampling weights in regression analysis***by*Ben Jann**COCHRAN: Stata module to test for equality of proportions in matched samples (Cochran's Q)***by*Ben Jann**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

**7**| 8| 9| 10| 11| 12