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

### 2009

**XTMOD: Stata module to analyze and display interactions based on time-series data***by*Daniel Seifert**TR: Stata module providing prefix command to trace program execution***by*Ben Jann**DSGINIDECO: Stata module to compute decomposition of inequality change into pro-poor growth and mobility components***by*Stephen P. Jenkins & Philippe Van Kerm**SPMON: Stata module to create spatial effect variable for monadic data***by*Eric Neumayer & Thomas Plümper**SPAGG: Stata module to create aggregate source or target contagion spatial effect variable for directed dyadic data***by*Eric Neumayer & Thomas Plümper**SPSPC: Stata module to create specific source or target contagion spatial effect variable for directed dyadic data***by*Eric Neumayer & Thomas Plümper**SPDIR: Stata module to create directed dyad contagion spatial effect variable***by*Eric Neumayer & Thomas Plümper**SPUNDIR: Stata module to create directed dyad contagion spatial effect variable***by*Eric Neumayer & Thomas Plümper**UEVE: Stata module to compute unbiased errors-in-variables estimator and variants from grouped data***by*Aliaksandr Amialchuk**HAIF: Stata module to compute Homoskedastic Adjustment Inflation Factors for model selection***by*Roger Newson**IFWINS: Stata module to subset a dataset by 'if exp' before subsetting by 'in range'***by*Dan Blanchette**XSVMAT: Stata module to convert a matrix to variables in an output dataset***by*Roger Newson**SUM2: Stata module to store summary statistics***by*Roy Wada**SWITCH: Stata module to evaluate a given value against possible cases and their corresponding values***by*Rodrigo Martell**TEXDOC: Stata module to create a LaTeX document including Stata output***by*Ben Jann**DATAOUT: Stata module to export a dataset or tab-delimited file into various formats***by*Roy Wada**ICC23: Stata module that computes models 2 and 3 of the intra-class correlation***by*Paul F. Visintainer & Luis C.Orozco**RCD: Stata module to run commands recursively***by*Nikos Askitas & Dan Blanchette**ADODEV: Stata module to reorder ado-path for developers and other independent-minded users***by*Roger Newson**VARLABDEF: Stata module to define a value label with values corresponding to variables***by*Roger Newson**SASWRAPPER: Stata module to run a SAS program from within Stata***by*Dan Blanchette**ICDPIC: Stata module to provide methods for translating International Classification of Diseases (Ninth Revision) diagnosis codes into standard injury categories and/or scores***by*David E. Clark & Turner M. Osler & David R. Hahn**RCT_MINIM: Stata module to assign treatments to subjects in a controlled trial***by*Philip Ryan**MARK_CHANGES: Stata module to generate a variable indicating where one or more variables changes value***by*David Kantor**LABELUTIL: Stata programs to create multiple value labels***by*Alfonso Miranda**SAMPSI_SCCS: Stata module to calculate the sample size for self controlled case series study designs***by*Philip Ryan**DIRTOOLS: Stata modules to manage files in the working directory***by*Ulrich Kohler & Roy Wada**LOGOUT: Stata module to convert log or ASCII files into various output formats***by*Roy Wada**LISRELINPUT: Stata module to generate input for pasting into LISREL***by*Paul Millar**GRAPHEXPORTPDF: Stata module to produce PDF graphics on non-Windows systems***by*Gabriel Rossman**MATNAMES: Stata module to return matrix row and column names***by*Austin Nichols**FIND: Stata module to find matching strings across files in the current directory***by*Austin Nichols**SOEPUSE: Stata module providing easy SOEP access***by*Ulrich Kohler**PSIDUSE: Stata module providing easy PSID access***by*Ulrich Kohler**TABXML: Stata module to save results in XML format for use in Microsoft Excel and OpenOffice Calc***by*Richard Ryall & Jason Ferris**HODGESL: Stata module to perform Hodges-Lehmann aligned rank test***by*Shenyang Guo**IMBALANCE: Stata module to check covariate imbalance before and after matching***by*Shenyang Guo**LABUP: Stata module to module to order/move variables based on label contents***by*Roy Wada**TABONE: Stata module for exporting single or multiple one-way tabulations into various formats***by*Roy Wada**EPERIOD: Stata module to calculate elapsed time between dates***by*Juan M. Villa**CHEWFILE: Stata module to chew and digest ASCII file down to size***by*Roy Wada**GPREG: Stata module to estimate regressions with two dimensional fixed effects***by*Johannes F. Schmieder**INTGPH: Stata module to interpret interaction effects and present graphically***by*Bennet Zelner & Dan Blanchette**RII: Stata module to perform Repeated-Imputation Inference***by*David T. Robinson & Dan Blanchette**BPMEDIAN: Stata module to compute Bonett-Price confidence intervals for medians and their contrasts***by*Roger Newson**ROCMIC: Stata module to estimate minimally important change (MIC) thresholds for continuous clinical outcome measures using ROC curves***by*Robert Froud**BCII: Stata module to to estimate the number needed to treat (NNT) and confidence intervals for patients improving, or ‘benefiting’ (either improvements gained or deteriorations prevented), in a randomised controlled trial***by*Robert Froud**RMSE: Stata module to calculate raw or adjusted RMSE (Root MSE)***by*Roy Wada**SAMPSI_FLEMING: Stata module to compute exact sample size calculation for single-stage designs***by*Adrian Mander**INVCISE: Stata module to compute standard errors using the inverse confidence interval method***by*Roger Newson**MM_REGRESS: Stata module to compute robust regression estimates***by*Vincenzo Verardi & Christophe Croux**METATREND: Stata module to implement regression methods for detecting trends in cumulative meta-analysis***by*Pantelis Bagos**CHINA_SPATDWM: Stata module to provide spatial distance matrices for Chinese provinces and cities***by*Yihua Yu**FAGAN: Stata module for Fagan's Bayesian nomoigram***by*Ben Dwamena**BAYERHANCK: Stata module to compute test for non-cointegration***by*Christian Bayer & Christoph Hanck**PROPRCSPLINE: Stata module for restricted cubic spline smoothing of proportions***by*Maarten L. Buis**STCOMPADJ: Stata module to estimate the covariate-adjusted cumulative incidence function in the presence of competing risks***by*Enzo Coviello**MTREATREG: Stata module to fits models with multinomial treatments and continuous, count and binary outcomes using maximum simulated likelihood***by*Partha Deb**PARAGR: Stata module for parallel graphing of a coefficient across different equations***by*Roy Wada**REWRITE: Stata module to rewrite text files from disk performing macro substitutions***by*Rosa Gini**CLUMP: Stata module to compute permutation test approach to assessing genetic associations with case/control status***by*Adrian Mander**GRSTEST: Stata module to implement the Gibbons et al. (1989) test in a single-factor or multi-factor setting***by*Rajesh Tharyan**FVREGEN: Stata module to regenerate factor variables in a parmest output dataset***by*Roger Newson**METAAN: Stata module to perform fixed- or random-effects meta-analyses***by*Evangelos Kontopantelis & David Reeves**METAEFF: Stata module to perform effect sizes calculations for meta-analyses***by*Evangelos Kontopantelis & David Reeves**CREPLACE: Stata module to exchange values cyclically between variables***by*Roger Newson**DISTMATCH: Stata module to perform distance matching based on latitudes and longitudes***by*Roy Wada**STATA2PAJEK: Stata module to export data to Pajek .net format***by*Gabriel Rossman**TDDENS: Stata module to estimate and graph bivariate density with heat map***by*Austin Nichols**ANYMATCH: Stata module to perform distance matching based on any metric***by*Roy Wada**FUNNELCOMPAR: Stata module to perform funnel plot for institutional comparison***by*Sylvia Forni & Rosa Gini**CPOISSONE: Stata module to estimate censored Poisson regression (econometric parameterization)***by*Joseph Hilbe**RTFUTIL: Stata module to provide utilities for writing Rich Text Format (RTF) files***by*Roger Newson**SIMON2STAGE: Stata module to to compute the design parameters for a Simon two-stage design***by*Adrian Mander**AUTOFMT: Stata module to automatically format a significant number of digits***by*Roy Wada**DIFF: Stata module to perform Differences in Differences estimation***by*Juan M. Villa**PIEPLOT: Stata module to plot pie charts of categorical frequencies***by*Nicholas J. Cox**TPOISSON: Stata module to estimate truncated Poisson regression***by*Joseph Hilbe**PANELS: Stata module to count panels and apply a command to panel units***by*Ben Jann**CNORMP: Stata module to evaluate censored normal distribution***by*Austin Nichols**LISTTAB: Stata module to list variables as rows of a TeX, HTML or word processor table***by*Roger Newson**SAVERESULTS: Stata module to save output from a command in a file on disk***by*Ben Jann**QAP: Stata module to perform quadratic assignment procedure***by*William Simpson**FTOCCI: Stata module to back calculate the conventional confidence intervals from the floated confidence intervals***by*Nicola Orsini**XBRCSPLINE: Stata module to tabulate differences in predicted responses after restricted cubic spline models***by*Nicola Orsini**CHARDEF: Stata module to assign values to a characteristic of a list of variables***by*Roger Newson**XTBALANCE: Stata module to transform the dataset into balanced Panel Data***by*Lian Yujun**BUGWRITE: Stata module to write data from Stata into a format compatible with WinBUGS***by*James Fiedler & Al Feiveson**DOSERESPONSE: Stata module to estimate dose-response function through adjustment for the generalized propensity score***by*Alessandra Mattei & Michela Bia**LEANOUT: Stata module to produce lean output formatting for estimation results***by*Nathaniel Beck**SORTL: Stata module to sort factor loadings or rotated matrix from PCA or factor***by*Dirk Enzmann**CGROUP: Stata module to group contiguous observations with identical values of a varlist***by*Roger Newson**QQVALUE: Stata module to generate quasi-q-values by inverting multiple-test procedures***by*Roger Newson**REG2HDFE: Stata module to estimate a Linear Regression Model with two High Dimensional Fixed Effects***by*Paulo Guimaraes**OAXACA9: Stata module to compute the Blinder-Oaxaca decomposition***by*Ben Jann**GRCOMB: Stata module to create and combine several single graphs into one***by*Alex Gamma

### 2008

**PRESS: SAS Routine to perform the PRESS calculation in regression***by*Roger L. Goodwin**COOKSD: SAS Routine to calculate the Cook's D statistic***by*Roger L. Goodwin**BLINDING: Stata module to compute blinding indexes***by*Jiefeng Chen**STPEPEMORI: Stata module to test the equality of cumulative incidences across two groups in the presence of competing risks***by*Enzo Coviello**FISKFIT: Stata module to fit a Fisk distribution by ML to unit record data***by*Maarten L. Buis & Stephen P. Jenkins**HETRED: Stata module to implement heterogeneity reducing algorithms***by*Nikolaos A. Patsopoulos**VIOPLOT: Stata module to produce violin plots with current graphics***by*Nick Winter & Austin Nichols**INTEFF3: Stata module to compute partial effects in a probit or logit model with a triple dummy variable interaction term***by*Thomas Cornelissen & Katja Sonderhof**TOUCH: Stata module to create a blank data file***by*Ari Friedman**IFIN: Stata module to generate a local containing an if statement to select multiple values***by*Ari Friedman**LDECOMP: Stata module decomposing the total effects in a logistic regression into direct and indirect effects***by*Maarten L. Buis**VLC: Stata module to compare value labels across datasets***by*Austin Nichols**RENSHEET: Stata module to edit variable names and labels***by*Austin Nichols**CPIGEN: Stata module to add US CPI series to current dataset***by*Austin Nichols**DDF2DCT: Stata module to facilitate infiling US Government data distributed with a DDF***by*Austin Nichols**OPENALL: Stata module to open all specified files with append***by*Ari Friedman**UNIQUESTRATA: Stata module to abort the program if the specified variables don't collectively account for every observation***by*Ari Friedman**MAPCH: Stata module map chains of events***by*Ward Vanlaar**FESE: Stata module to calculate standard errors for fixed effects***by*Austin Nichols**SCORES: Stata module to create scores (row-wise) of a set of variables allowing the specification of the number of valid values required***by*Dirk Enzmann**SKNOR: Stata module to generate a sample from a normal or skewed (skew-normal) distribution, as defined by the user***by*Evangelos Kontopantelis**SKBIM: Stata module to generate a sample from a bimodal distribution using normal or skewed (skew-normal) unimodal distributions, as defined by the user***by*Evangelos Kontopantelis**LOCPR: Stata module for semi-parametric estimation***by*Austin Nichols**STCBAND: Stata module to compute Equal precision and Hall-Wellner confidence band for survival function***by*Enzo Coviello**BIOPROBIT: Stata module for bivariate ordered probit regression***by*Zurab Sajaia**MULOGIT: Stata module to calculate multivariate and univariate odds ratios in logistic regression***by*Leif E. Peterson**ARCHQQ: Stata module to generate Q-Q plot and distribution tests for ARCH models***by*Sune Karlsson**ARMADIAG: Stata module to compute post-estimation residual diagnostics for time series***by*Sune Karlsson**ARMAROOTS: Stata module to compute roots of AR- and MA-polynomials***by*Sune Karlsson**NEWSIMPACT: Stata module to compute news impact curve for ARCH models***by*Sune Karlsson**TWOWAY_PAREA: Stata module to generate area graph with pattern fills (Windows only)***by*Sergiy Radyakin**UMBRELLA: Stata module to perform O'Brien's Umbrella test***by*William D. Dupont & W. Dale Plummer, Jr.**POSTRCSPLINE: Stata module containing post-estimation commands for models using a restricted cubic spline***by*Maarten L. Buis**HLP2PDF: Stata module to create PDF or PostScript from Stata help file***by*Christopher F Baum**MIRA: Stata module to compute Rubin's measure for multiple imputation regression analysis***by*Rodrigo Alfaro**ADDINBY: Stata module to add in data from a disk dataset using a foreign key***by*Roger Newson**METANDI: Stata module to perform meta-analysis of diagnostic accuracy***by*Roger Harbord**HALLT-SKEWT: Stata module to compute skewness-adjusted bootstrap t-statistics***by*Rajesh Tharyan & Scott Merryman**ESTPARM: Stata module to save results from a parmest resultsset and test equality***by*Roger Newson**POVGUIDE: Stata module to generate the U.S. Poverty Guideline value for a given family size and year***by*David Kantor**OAXACA: Stata module to compute the Blinder-Oaxaca decomposition***by*Ben Jann**BYNOTE: Stata module to create a note with a user-specified format for use with the by option***by*Roger Newson**EVHISTPLOT: Stata module to produce event history plot***by*Henrik Stovring**GHK2: Stata module (enhanced Mata function) to implement the Geweke-Hajivassiliou-Keane multivariate normal simulator***by*David Roodman**STRSRCS: Stata module to fit flexible parametric models for relative survival using restricted cubic splines***by*C. P. Nelson**XTWEST: Stata module for testing for cointegration in heterogeneous panels***by*Damiaan Persyn**A2REG: Stata module to estimate models with two fixed effects***by*Amine Ouazad**POWERQ: Stata module to calculates posterior probabilities for heterogeneity in a meta-analysis***by*Nikolaos A Patsopoulos & Tiago V Pereira**FTEST: Stata module comparing two nested models using an F-test***by*Maarten L. Buis**XTMIS: Stata module to report missing observations for each variable in xt data***by*Minh Cong Nguyen**_PEERS: Stata module to allow egen to compute the average characteristics of peers in a given unit (school, firm, etc.) specified by by()***by*Amine Ouazad**METAGEN: Stata module to perform meta-analysis of genetic-association studies***by*Pantelis Bagos**FIRTHLOGIT: Stata module to calculate bias reduction in logistic regression***by*Joseph Coveney**HISTORAJ: Stata module to produce histogram with descriptive statistics***by*Rajesh Tharyan**SOEPDO: Stata module to handle SOEP drop-outs***by*Tim Stegmann**PV: Stata module to perform estimation with plausible values***by*Kevin Macdonald**PRODVARS: Stata module to create product variables for two lists of input variables***by*Roger Newson**XTSUR: Stata module to estimate seemingly unrelated regression model on unbalanced panel data***by*Minh Cong Nguyen**METACUM: Stata module to perform cumulative meta-analysis, with graphics***by*Ross Harris & Jonathan Sterne**WDIRESHAPE: Stata module to reshape World Development Indicators database***by*P. Wilner Jeanty**PAVERAGE: Stata module to calculate p-period-average series in a panel dataset***by*P. Wilner Jeanty**USESPSS: Stata module to import SPSS (*.sav) data (Windows only)***by*Sergiy Radyakin**CHINA_MAP: Stata module to provide map of China's provinces***by*Scott Merryman**LTIMBIMATA: Stata module containing six general-purpose Mata functions***by*Diallo Ibrahima Amadou**INEQRBD: Stata module to calculate regression-based inequality decomposition***by*Carlo V. Fiorio & Stephen P. Jenkins**CI_MARG_MU: Stata module to produce simulation-based confidence intervals after gllapred***by*Sophia Rabe-Hesketh**RRREG: Stata module to estimate linear probability model for randomized response data***by*Ben Jann**USE10: Stata module to use and describe version 10 datafiles in Stata 9.2***by*Sergiy Radyakin**REGSAVE: Stata module to save regression results to a Stata-formatted dataset***by*Julian Reif**WTPCIKR: Stata module to estimate Krinsky and Robb Confidence Intervals for Mean and Median Willingness to Pay***by*P. Wilner Jeanty**INORM: Stata module to perform multiple imputation using Schafer's method***by*John C. Galati & John B. Carlin**LABGEN: Stata module to generate or replace variables with definitions in variable labels***by*Nicholas J. Cox**NLCHECK: Stata module to check linearity assumption after model estimation***by*Ben Jann**LOGITCPRPLOT: Stata module to graph component-plus-residual plot for logistic regression***by*Ben Jann**APPENDFILE: Stata module to append text files***by*Julian Reif**PSPLINE: Stata module providing a penalized spline scatterplot smoother based on linear mixed model technology***by*Ben Jann & Roberto G. Gutierrez**ELECTOOL: Stata module containing toolkit to analyze electoral data***by*Antonio M. Jaime-Castillo**TEXSAVE: Stata module to save a dataset in LaTeX format***by*Julian Reif**HOTVALUE: Stata module to generate scales with missing values conditionally imputed***by*Paul Millar**FMLOGIT: Stata module fitting a fractional multinomial logit model by quasi maximum likelihood***by*Maarten L. Buis**TABLETUTORIAL: Stata module to provide tutorial on automated table generation and reporting with Stata***by*Ben Jann**SAMPICC: Stata module to compute sample size for an intra-class correlation (ICC)***by*Paul F. Visintainer**ICCCONF: Stata module to compute a confidence interval for an intraclass correlation (ICC)***by*Paul F. Visintainer**BANDPLOT: Stata module to plot summary statistics of responses for bands of predictors***by*Nicholas J. Cox**PANELTHIN: Stata module to identify observations for possible thinned panel dataset***by*Nicholas J. Cox**BYHIST: Stata module to produce interlaced histograms***by*Austin Nichols**BIHIST: Stata module to produce bihistograms***by*Austin Nichols**OUTFIXT: Stata module to write fixed-format text file***by*Austin Nichols**PWCORR2: Stata module to compute pairwise correlations and return results***by*Christopher F Baum**RCSGEN: Stata module to generate restricted cubic splines and their derivatives***by*Paul Lambert**MOL: Stata module to evaluate literacy level***by*Joao Pedro Azevedo**METADATA: Stata module to enable access to metadata***by*Nikos Askitas**XBALANCE: Stata module to compute standardized differences for stratified comparisons via R***by*Jake Bowers & Mark Fredrickson & Ben Hansen**STOCKQUOTE: Stata module to retrieve stock quotes to a Stata-formatted dataset***by*Nikos Askitas**ITSP_ADO: Stata module to accompany Introduction to Stata Programming book***by*Christopher F Baum

### 2007

**IVREG28: Stata module for extended instrumental variables/2SLS and GMM estimation (v8)***by*Christopher F Baum & Mark E Schaffer & Steven Stillman**NONPARAMREG: MATLAB function to estimate nonparametric regression***by*Shapour Mohammadi**DAG: SAS routine to perform jackknife estimation***by*Roger L. Goodwin**DASP: Stata modules for distributive analysis***by*Araar Abdelkrim & Jean-Yves Duclos**SPATDWM: Stata modules for US State and County spatial distance matrices***by*Yihua Calvin Yu**CONCINDC: Stata module to calculate concentration index with both individual and grouped data***by*Zhuo (Adam) Chen**GRUBBS: Stata module to perform Grubbs' test for outliers***by*Nicolas Couderc**GROUPCL: Stata module to estimate grouped conditional logit models***by*Paulo Guimaraes**IMPUTERASCH: Stata module to impute binary data by a Rasch model***by*Jean-Benoit Hardouin