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

### 2005

**GOLOGIT2: Stata module to estimate generalized logistic regression models for ordinal dependent variables***by*Richard Williams**INTCENS: Stata module to perform interval-censored survival analysis***by*Jamie Griffin**SVYGEI_SVYATK: Stata module to derive the sampling variances of Generalized Entropy and Atkinson inequality indices when estimated from complex survey data***by*Stephen P. Jenkins & Martin Biewen**FITINT: Stata module to fit generalized linear model and test two-way interactions***by*AndrĂ© Charlett & Neville Verlander**XTARSIM: Stata module to perform Monte Carlo analysis for dynamic panel data models***by*Giovanni S.F. Bruno**ECLPCI: Stata module to compute Exact and Approximate Confidence Limits for Poisson Counts***by*Nicola Orsini**BEAMPLOT: Stata module to draw horizontal dotplots using beams***by*Nicholas J. Cox**SAMPLEPPS: Stata module to draw a random sample with probabilities proportional to size***by*Stephen P. Jenkins**CLASSPLOT: Stata module to plot predicted probability and empirical values after a binary response model***by*Lars E. Kroll**SPEARMAN2: Stata module to calculate Spearman rank correlations, extended***by*Christopher F Baum**FIXSORT: Stata module to sort variables and align in sorted order, with others fixed***by*Nicholas J. Cox**CASEFAT: Stata module for estimating the case fatality ratio of a new infectious disease***by*Jamie Griffin & Azra Ghani**MEHETPROB: Stata module to compute marginal effects at means and their standard errors after hetprob***by*Thomas Cornelissen**SVYSELMLOG: Stata module to compute selectivity adjustment based on the multinomial logit for survey design***by*R. E. De Hoyos**SVYBSAMP2: Stata module to perform re-sampling for complex survey data***by*R. E. De Hoyos**MOREMATA: Stata module (Mata) to provide various functions***by*Ben Jann**CHECKFOR2: Stata module to check whether a variable exists or not in a dataset***by*Amadou Bassirou Diallo & Jean-Benoit Hardouin**DBMSCOPYBATCH: Stata module to produce a batch file for DBMS/Copy***by*Amadou Bassirou Diallo**PALETTE_ALL: Stata module to display all the named colours in Stata***by*Adrian Mander**IVRESET: Stata module to perform Ramsey/Pesaran-Taylor/Pagan-Hall RESET specification test after IV/GMM/OLS estimation***by*Mark E Schaffer**LOOKFOR_ALL: Stata module to search for variables/patterns in .dta files***by*Michael Lokshin & Zurab Sajaia & Dan Blanchette**NMISSING: Stata module to show numbers of missing or present values***by*Nicholas J. Cox**ISVAR: Stata module to filter names into variable names and others***by*Nicholas J. Cox**DESCOGINI: Stata module to perform Gini decomposition by income source***by*Alejandro Lopez-Feldman**AKDENSITY: Stata module to perform adaptive kernel density estimation***by*Philippe Van Kerm**BIPLOTVLAB: Stata module to produce biplot with variable labels***by*Jean-Benoit Hardouin**GENSCORE: Stata module to generate a score***by*Jean-Benoit Hardouin**RRLOGIT: Stata module to estimate logistic regression for randomized response data***by*Ben Jann**IVVIF: Stata module to report variance inflation factors after IV***by*David Roodman**HNBLOGIT: Stata module to estimate negative binomial-logit hurdle regression***by*Joseph Hilbe**HNBCLG: Stata module to estimate negative binomial-complementary log log hurdle regression***by*Joseph Hilbe**HGLOGIT: Stata module to estimate geometric-logit hurdle regression***by*Joseph Hilbe**HGCLG: Stata module to estimate geometric-complementary log log hurdle regression***by*Joseph Hilbe**HPLOGIT: Stata module to estimate Poisson-logit hurdle regression***by*Joseph Hilbe**HPCLG: Stata module to estimate Poisson-complementary log log hurdle regression***by*Joseph Hilbe**ZTG: Stata module to estimate zero-truncated geometric regression***by*Joseph Hilbe**CDFPLOT: Stata module to plot a cumulative distribution function***by*Adrian Mander**KDENS: Stata module for univariate kernel density estimation***by*Ben Jann**CPOISSON: Stata module to estimate censored Poisson regression***by*Joseph Hilbe**SAMPLESIZE: Stata module to execute sampsi multiple times and produce a graph***by*Adrian Mander**GNBSTRAT: Stata module to estimate Generalized Negative Binomial with Endogenous Stratification***by*Joseph Hilbe**NBSTRAT: Stata module to estimate Negative Binomial with Endogenous Stratification***by*Joseph Hilbe & Roberto Martinez-Espineira**GENASS: Stata module to perform Genetic Case-control Association tests***by*Neil Shephard**OUTREG2: Stata module to arrange regression outputs into an illustrative table***by*Roy Wada**KAPPREVI: Stata module to plot the dependence of kappa statistic on true prevalence***by*Nicola Orsini & Debora Rizzuto**SAMPSI_REG: Stata module to calculate the sample size/power for linear regression***by*Adrian Mander**LGAMMA2: Stata module to estimate two-parameter log-gamma regression***by*Joseph Hilbe**GLGAMMA2: Stata module to estimate generalized two-parameter log-gamma regression***by*Joseph Hilbe**IVGAUSS2: Stata module to estimate two-parameter log-inverse Gaussian regression***by*Joseph Hilbe**GIVGAUSS2: Stata module to estimate generalized two-parameter inverse Gaussian regression***by*Joseph Hilbe**SAMPSI_MCC: Stata module to calculate Sample Size or Power for Matched Case-Control Studies***by*Adrian Mander**CNBREG: Stata module to estimate negative binomial regression - canonical parameterization***by*Joseph Hilbe**XTIVREG2: Stata module to perform extended IV/2SLS, GMM and AC/HAC, LIML and k-class regression for panel data models***by*Mark E Schaffer**SLICEPLOT: Stata module for time series or other plot in slices***by*Nicholas J. Cox**CQUANTILE: Stata module to generate corresponding quantiles***by*Nicholas J. Cox**PRIMES: Stata module to generate prime numbers***by*Stanislav Kolenikov**SCHEME_RBN1MONO: Stata module to provide minimal monochrome graphics schemes***by*Roger Newson**SUBSAVE: Stata module to save a subset of the dataset in memory to a disk file***by*Roger Newson**INSOB: Stata module to insert empty observations***by*Bas Straathof**CENSORNB: Stata module to estimate censored negative binomial regression as survival model***by*Joseph Hilbe**SSM: Stata program to estimate endogenous switching and sample selection models for binary, count, and ordinal variables using ML***by*Alfonso Miranda & Sophia Rabe-Hesketh**ADDNOTES: Stata program to add notes to the end of text files***by*Jeff Arnold**GETFILENAME2: Stata program for handling filename specifications***by*Jeff Arnold**SORTROWS: Stata program to perform sort within observation***by*Jeff Arnold**VARSEARCH: Stata program to search variable names and labels***by*Jeff Arnold**XTREGRE2: Stata module to estimate random effects model with weights***by*Scott Merryman**CLORENZ: Stata module to estimate Lorenz and concentration curves***by*Araar Abdelkrim**TABLEMAT: Stata module to produce and export table of results in a matricial format***by*Amadou Bassirou Diallo

### 2004

**GLCURVE: Stata module to derive generalised Lorenz curve ordinates***by*Stephen P. Jenkins & Philippe Van Kerm**SDECODE: Stata module to decode a numeric variable into a string variable***by*Roger Newson**HARMBY: Stata module to harmonize values of variables within by-groups***by*Roger Newson**ELLIP: Stata module to graph confidence ellipses (version 8)***by*Anders Alexandersson**MLBOOLEAN: Stata module to implement Boolean logit and probit***by*Bear F. Braumoeller**SPLITVALLABELS: Stata module to split up value labels for multi-line graph labelling***by*Nick Winter & Ben Jann**CIRCULAR: Stata module for circular statistics***by*Nicholas J. Cox**BETACOEF: Stata module to calculate beta coefficients from regression***by*Christopher F Baum**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