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

### 2010

**STPM2: Stata module to estimate flexible parametric survival models***by*Paul Lambert**CNS: Stata module to compute Consensus Measure for Ordinal Scales***by*Matthew Openshaw**SMGFIT: Stata module to fit a Singh-Maddala distribution to grouped data via ML***by*Austin Nichols**GBGFIT: Stata module to fit a Generalized Beta (Type 2) distribution to grouped data via ML***by*Austin Nichols**DAGFIT: Stata module to fit a Generalized Beta (Type 2) distribution to grouped data via ML***by*Austin Nichols**SPWMATFILL: Stata module to assign first nearest neighbors to observations with no contiguous neighbors***by*P. Wilner Jeanty**SPMLREG: Stata module to estimate the spatial lag, the spatial error, the spatial durbin, and the general spatial models by maximum likelihood***by*P. Wilner Jeanty**CURVEFIT: Stata module to produces curve estimation regression statistics and related plots between two variables for alternative curve estimation regression models***by*Liu Wei**ZMAP: Stata module for binned scatter maps***by*Nicholas J. Cox**MKPROFILE: Stata module to create or edit your 'profile.do'***by*Dan Blanchette**RTNORM: Stata Mata module to produce truncated normal pseudorandom variates***by*Federico Belotti & Giuseppe Ilardi**RUNNINGPROD: Stata Mata module to obtain the running product of a vector***by*Federico Belotti & Silvio Daidone**FINDNAME: Stata module to list variables matching name patterns or other properties***by*Nicholas J. Cox**NETPLOT: Stata module to provide social network visualization***by*Rense Corten**EBROWSE: Stata module to to display variables in the Data Editor, ordered by varlist***by*Markus H. Hahn**REGDIS: Stata module to control variables and decimals in regression displays***by*Roy Wada**GROUP_ID: Stata module to group identifiers when values for specified variables match***by*Robert Picard**GEONEAR: Stata module to find nearest neighbors using geodetic distances***by*Robert Picard**GEODIST: Stata module to compute geodetic distances***by*Robert Picard**TEXIFY: Stata module to compile a LaTeX document***by*Roy Wada**PAJEK2STATA: Stata module to import network data in Pajek's .net format***by*Rense Corten**SSI: Stata module to estimate sample size for randomized controlled trials***by*Philip M Jones**STRGROUP: Stata module to match strings based on their Levenshtein edit distance***by*Julian Reif**EPIWEEK: Stata module to create epidemiological week and equivalent epidemiological year***by*Tim Chu**VLGEN: Stata module to generate variables and descriptive labels based on how the variables were generated***by*James Fiedler**REGOPROB2: Stata module to estimate random effects generalized ordered probit models (update)***by*Christian Pfarr & Andreas Schmid & Udo Schneider**RUNMPLUS: Stata module to run Mplus from Stata***by*Rich Jones**ZOIB: Stata module to fit a zero-one inflated beta distribution by maximum likelihood***by*Maarten L. Buis**NOPOMATCH: Stata module to implement Nopo's decomposition***by*Atal, Juan Pablo & Hoyos, Alejandro & Nopo, Hugo**SUMMOUT: Stata module to produce comparative table of summary statistics***by*Andres L Gonzalez Rangel**REFFECT: Stata module to compute Pearson's r Effect Size Computation for Analysis of Variance (ANOVA)***by*Michael W Gruszczynski**REGANAT: Stata module to perform graphical inspection of linear multivariate models based on regression anatomy***by*Valerio Filoso**GMMCOVEARN: Stata module to compute GMM estimates of the Covariance Structure of Earnings***by*Aedin Doris & Donal O'Neill & Olive Sweetman**CMOGRAM: Stata module to plot histogram-style conditional mean or median graphs***by*Christopher Robert**BTOBIT: Stata module to produce a test of the tobit specification***by*David Vncent**DEP4ASM: Stata module to create [in]dependent variable for alternative-specific models***by*Daniel Klein**LABMM: Stata module to modify multiple value labels simultaneously***by*Daniel Klein**LABREC: Stata module to recode variables according to value label***by*Daniel Klein**DOUBLEB: Stata module to compute Contingent Valuation using Double-Bounded Dichotomous Choice***by*Alejandro Lopez-Feldman**LSTRFUN: Stata module to modify long local macros***by*Dan Blanchette**FRONTIER_TECI: Stata module to generate technical efficiency confidence intervals***by*Scott Merryman**SIMSUM: Stata module to perform analyses of simulation studies including Monte Carlo error***by*Ian White**CM2IN: Stata module to provide conversion between inch/cm and others***by*Ulrich Kohler**CHUNKY8: Stata module to chunk a large text file into smaller parts (version 8)***by*David Elliott**XTDOLSHM: Stata module to perform panel data cointegration***by*Diallo Ibrahima Amadou**TODUMMY: Stata module to create dummy variables***by*Daniel Klein**OBSOFINT: Stata module to display observations of interest***by*Maarten L. Buis & Ronnie Babigumira**PARTPRED: Stata module to generate partial predictions***by*Paul Lambert**STRREC: Stata module to recode string variables according to rules***by*Daniel Klein**FPREF: Stata module to add prefix or suffix to filenames***by*Arnelyn Abdon**PARMHET: Stata module to produce heterogeneity tests in parmest resultssets***by*Roger Newson**MLOGITROC: Stata module to calculate multiclass ROC Curves and AUC from Multinomial Logistic Regression***by*Leif E. Peterson**SDLIM: Stata module to rescale variables measured with a limited rating scale***by*Ulrich Kohler**FRCOUNT: Stata module to estimate fractional response model under the presence of count endogeneity and unobservable heterogeneity***by*Hoa Bao Nguyen & Minh Cong Nguyen**SETRNGSEED: Stata module to to set random-number seed using truly random integer from random.org***by*Antoine Terracol & William Gould**CENTPOW: Stata module to calculate centrality and power indices for each node in a network***by*Z. P. Neal**QUADAS: Stata module to provide graphical depiction of quality assessment in diagnostic accuracy reviews***by*Ben Dwamena**ORDVAR: Stata module to calculate measures of ordinal consensus and dispersion***by*Mike Lacy**R2O: Stata module to calculate an ordinal explained variation statistic***by*Mike Lacy**EMH: Stata module to compute extended Mantel-Haenszel statistics***by*Joseph Coveney**HOI: Stata module to compute Human Opportunity Index***by*Joao Pedro Azevedo & Samuel Franco & Eliana Rubiano & Alejandro Hoyos**PNG2RTF: Stata module to include PNG graphics in RTF documents***by*Austin Nichols**PUNAF: Stata module to compute population attributable fractions for cohort studies***by*Roger Newson**FSX: Stata module to show names of files in compact form (Unix-friendly defaults)***by*Gabriel Rossman & Nicholas J. Cox**DECI: Stata module to perform Variable Base conversion***by*Liu Wei**AVG_EFFECT: Stata module to calculate mean (standardized) effect size across multiple outcomes***by*Christopher Robert**SCSOMERSD: Stata module to compute rank statistics for scenario comparisons***by*Roger Newson**LOOKFOR_VAL: Stata module to search the current dataset for values that match a specified pattern***by*Daniel Klein**SCENREG: Stata module for estimating effects in models for binary variables given a scenario concerning unobserved variables***by*Maarten L. Buis**_GVRELDIF: Stata module to compute relative difference between successive observations***by*Stanislav Kolenikov**SKPROBIT: Stata module to perform Lagrange Multiplier Test for Normality for Probit model***by*Diallo Ibrahima Amadou**TEXTPAD: Stata module to call TextPad to edit a file***by*Roger Newson**LABVARS: Stata module to attach a list of labels to varlist***by*Daniel Klein**GFORMULA: Stata module to implement the g-computation formula for estimating causal effects in the presence of time-varying confounding or mediation***by*Rhian Daniel**MTAD: Stata module to perform Multinomial Test of Agglomeration and Dispersion***by*Timothy Simcoe**GDSUM: Stata module to summarize grouped data***by*Daniel Klein**LABCENSWDI: Stata module to automatically manage datasets obtained from US Census 2000 and World Development Indicators databases***by*P. Wilner Jeanty**SPSEUDOR2: Stata module to calculate goodness-of-fit measures in spatial autoregressive models***by*P. Wilner Jeanty**HLP2HTML: Stata module to translate a list of Stata help files to HTML***by*P. Wilner Jeanty**EGRANGER: Stata module to perform Engle-Granger cointegration tests and 2-step ECM estimation***by*Mark E Schaffer**LBPOWER: Stata module to calculate approximate power (or sample size) for longitudinal studies with binary response and two equally sized treatment groups***by*Amado David Quezada Sanchez**SF36V2: Stata module to score Short-Form 36 version 2***by*Monica Daigl**XREWIDE: Stata module to extend reshape wide command***by*Roger Newson**MOG: Stata module to produce one way or two way tables of means (or totals)***by*Matt Hurst**KHB: Stata module to decompose total effects into direct and indirect via KHB-method***by*Ulrich Kohler & Kristian Karlson**ROMANTOARABIC: Stata module for converting roman numerals to arabic numbers***by*Nicholas J. Cox**JOINVARS: Stata module to join values of variables***by*Daniel Klein**IVREG29: Stata module for extended instrumental variables/2SLS and GMM estimation (v9)***by*Christopher F Baum & Mark E Schaffer & Steven Stillman**STANDARD_DEVIATIONAL_ELLIPSE: SAS Routine to calculate GIS statistics for the weighted standard deviational ellipse***by*Roger L. Goodwin**REMST: MATLAB function to remove trend and seasonal component using the moving average method***by*Rafal Weron**DESEASONALIZE: MATLAB function to remove short and long term seasonal components***by*Rafal Weron**STABLERND: MATLAB function to generate random numbers from the stable distribution***by*Rafal Weron**STABLEPDF_FFT: MATLAB function to compute the stable distribution probability density function (pdf) via FFT***by*Rafal Weron**LRAPP: GAUSS module to calculate multivariate IC with the LR test used in conflict to determine the optimal lag order in a VAR model***by*Scott Hacker & Abdulnasser Hatemi-J**MV-AR: GAUSS module to calculate three multivariate tests for autocorrelation in VAR model***by*Scott Hacker & Abdulnasser Hatemi-J**HHcte: GAUSS module to Apply a Bootstrap Test for Causality with Endogenous Lag Order***by*Scott Hacker & Abdulnasser Hatemi-J**STABLEREG: MATLAB function to estimate stable distribution parameters using the regression method of Koutrouvelis***by*Szymon Borak & Rafal Weron**STABLECULL: MATLAB function to estimate stable distribution parameters using the quantile method of McCulloch***by*Szymon Borak & Rafal Weron**STABLEREGKW: MATLAB function to estimate stable distribution parameters using the regression method of Kogon and Williams***by*Szymon Borak & Rafal Weron**MRJD_MLE: MATLAB function to estimate parameters of a Mean-Reverting Jump-Diffusion (MRJD) process using maximum likelihood***by*Rafal Weron**MRJD_PRED: MATLAB function to make a one-step ahead prediction of a Mean-Reverting Jump-Diffusion (MRJD) process***by*Rafal Weron**MRJD_SIM: MATLAB function to simulate trajectories of a Mean-Reverting Jump-Diffusion (MRJD) process***by*Rafal Weron**GAUSSGIBBS: GAUSS modules to estimate common models with Gibbs sampling***by*Kelvin Balcombe**GARMANKOHLHAGEN: MATLAB function to evaluate European FX option prices in the Garman and Kohlhagen (1983) model***by*Agnieszka Janek & Rafal Weron**HESTONFFTVANILLA: MATLAB function to evaluate European FX option prices in the Heston (1993) model using the FFT approach of Carr and Madan (1999)***by*Agnieszka Janek & Rafal Weron**HESTONVANILLA: MATLAB function to evaluate European FX option prices in the Heston (1993) model***by*Agnieszka Janek & Rafal Weron**HESTONVANILLAFITSMILE: MATLAB function to fit the Heston (1993) option pricing model to the FX market implied volatility smile***by*Agnieszka Janek & Rafal Weron**HESTONVANILLALIPTON: MATLAB function to evaluate European FX option prices in the Heston (1993) model using the approach of Lipton (2002)***by*Agnieszka Janek & Rafal Weron**HESTONVANILLASMILE: MATLAB function to compute the volatility smile implied by the Heston (1993) option pricing model***by*Agnieszka Janek & Rafal Weron**PDFHESTON: MATLAB function to evaluate the probability density function in the Heston (1993) model***by*Agnieszka Janek & Rafal Weron**SIMGBM: MATLAB function to simulate trajectories of Geometric Brownian Motion (GBM)***by*Rafal Weron**SIMHESTON: MATLAB function to simulate trajectories of the spot price and volatility processes in the Heston (1993) model***by*Agnieszka Janek & Rafal Weron

### 2009

**EOFPLOT: Stata module to plot coefficients or loadings after principal component or factor analysis***by*Nicholas J. Cox**IQUANTILE: Stata module to calculate interpolated quantiles***by*Nicholas J. Cox**MULTENCODE: Stata module to encode multiple string variables into numeric***by*Nicholas J. Cox**CHUNKY: Stata module to chunk a large text file into smaller parts***by*David Elliott**SHEAFCOEF: Stata module to compute sheaf coefficients***by*Maarten L. Buis**XGROUP: Stata module to create a grouping variable with key values in an output dataset***by*Roger Newson**AUTORENAME: Stata module to automatically rename variables***by*Julian Reif**DIPTEST: Stata module to compute dip statistic to test for unimodality***by*Nicholas J. Cox**SPKDE: Stata module to perform kernel estimation of density and intensity functions for two-dimensional spatial point patterns***by*Maurizio Pisati**SPGRID: Stata module to generate two-dimensional grids for spatial data analysis***by*Maurizio Pisati**LEVPREDICT: Stata module to compute log-linear level predictions reducing retransformation bias***by*Christopher F Baum**GREP: Stata module to search within your datasets for keywords***by*Nikos Askitas**SORTOBS: Stata module to sort observations according to a specified order***by*Julian Reif**CFVARS: Stata module to compare variable name lists in two data sets***by*Nicholas J. Cox**CSIPOLATE: Stata module to perform cubic spline interpolation***by*Nicholas J. Cox**SVRET: Stata module to save returned results to your dataset***by*Julian Reif**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