Recent SSC Stata modules

SSC Stata modules
created or revised 2023-01-02 to 2023-02-02



FVSTRIP module for removing b/n/o factor variable operators from varlists
Authors: Mark E Schaffer Req: Stata version 11.0
Created: 2023-01-26
 

DDML module for Double/Debiased Machine Learning
Authors: Achim Ahrens Christian B. Hansen Mark E Schaffer Thomas Wiemann Req: Stata version 14
Created: 2023-01-25
 

ROS module for estimation of regression order statistics
Authors: Niels Henrik Bruun Req: Stata version 12
Revised: 2023-01-26
 

LNMOR module to compute marginal odds ratios after model estimation
Authors: Ben Jann Req: Stata version 15 and moremata from SSC (q.v.)
Created: 2023-01-16
 

IPWLOGIT module to fit marginal logistic regression by inverse probability weighting
Authors: Ben Jann Req: Stata version 14
Created: 2023-01-16
 

RIFLOGIT module to fit unconditional logistic regression
Authors: Ben Jann Req: Stata version 11
Created: 2023-01-16
 

ROWSUM module for summing up values of observations and saving results to a new observation
Authors: Pengzhan Qian Req: Stata version 17
Created: 2023-01-13
 

DIVRATIO module for estimating diversion ratios and willingness-to-pay from a semiparametric choice model
Authors: Chris Lau Req: Stata version 14.2
Created: 2023-01-12
 

SCHEME_UKRI module to provide graphics scheme for UK Research and Innovation (UKRI) guidelines
Authors: Tim Morris Req: Stata version 10
Created: 2023-01-12
 

VENNBAR module to show Euler or Venn diagrams mapped to bar or dotcharts
Authors: Nicholas J. Cox Tim Morris Req: Stata version 8.2
Created: 2023-01-10
 

PRETTY_BASELINE module to make a commonly encountered table of baseline characteristics
Authors: Rafael Gafoor Req: Stata version 17
Revised: 2023-01-26
 

TREECLUSTER module for plotting clustered trees
Authors: Asjad Naqvi Req: Stata version 15 and palettes, colrspace from SSC
Created: 2023-01-07
 

SUNBURST module for (half) sunburst plots
Authors: Asjad Naqvi Req: Stata version 15 and palettes, colrspace from SSC
Revised: 2023-01-24
 

CNKCHART module to draw candlestick chart with Chinese stock prices
Authors: Chuntao Li Yizhuo Fang Req: Stata version 17
Revised: 2023-01-08
 

ASCVD module to compute ACC/AHA 10-year risk for an initial hard atherosclerotic cardiovascular disease (ASCVD) event
Authors: Ariel Linden Req: Stata version 13
Created: 2023-01-07
 

UPSETPLOT module to show Euler or Venn diagrams mapped to bar charts, upsetplot style
Authors: Tim Morris Nicholas J. Cox Req: Stata version 8.2
Created: 2023-01-07
 

DISCRATES module to provide estimation and statistical test for gross and net discrimination rates
Authors: Andreas Schneck Req: Stata version 10
Created: 2023-01-05
 

JACCARD module to calculate Jaccard similarity or dissimilarity of sets
Authors: Nicholas J. Cox Req: Stata version 11, tabplot from SSC (q.v.), labmask from SJ
Created: 2023-01-05
 

SANKEY module for Sankey diagrams
Authors: Asjad Naqvi Req: Stata version 15 and palettes, colrspace from SSC
Revised: 2023-01-07
 

ALLUVIAL module for Alluvial graphs
Authors: Asjad Naqvi Req: Stata version 15 and palettes, colrspace from SSC
Revised: 2023-01-24
 

CIRCLEBAR module to produce polar bar graphs
Authors: Asjad Naqvi Req: Stata version 15 and palettes, colrspace from SSC
Revised: 2023-01-07
 

TMPINV module to solve an under-, over- and identified Transaction Matrix (TM) problem with the help of the Moore-Penrose pseudoinverse, singular value decomposition (SVD), an F-test from linear regression/t-test of mean normalized RMSE, and results adjustment for extreme values.
Authors: Ilya Bolotov Req: Stata version 16
Revised: 2023-01-24
 

TREEMAP module for treemaps
Authors: Asjad Naqvi Req: Stata version 15 and palettes, colrspace, labmask from SSC
Revised: 2023-01-24
 

ARIMAAUTO module to find the best ARIMA model with the help of a Stata-adjusted Hyndman-Khandakar (2008) algorithm
Authors: Ilya Bolotov Req: Stata version 13, hegy from SJ/st0453 and kpss from SSC (q.v.)
Revised: 2023-01-05
 

CNEVENT module to carry out an event study with Chinese publicly listed firms
Authors: Chuntao Li Yizhuo Fang Req: Stata version 17 and cntrade from SSC (q.v.)
Revised: 2023-01-07
 

SYNTH2 module to implement synthetic control method (SCM) with placebo tests, robustness test and visualization
Authors: Guanpeng Yan Qiang Chen Req: Stata version 16 and synth from SSC (q.v.)
Revised: 2023-01-08
 

DOCXTAB module to list variables to a Word table with head or foot rows from characteristics
Authors: Roger Newson Req: Stata version 16
Revised: 2023-01-24
 

RCM module to implement regression control method / panel data approach to program evaluation
Authors: Guanpeng Yan Qiang Chen Req: Stata version 16
Revised: 2023-01-12
 

XTGRANGERT module for improved Granger non-causality testing in heterogeneous and homogeneous panel data
Authors: Jiaqi Xiao Yiannis Karavias Vasilis Sarafidis Arturas Juodis Jan Ditzen Req: Stata version 12
Revised: 2023-01-08
 

TESTJFE module to perform test for instrument validity in the Judge fixed effects design
Authors: Brigham Frandsen Req: Stata version 13 and crossfold from SSC (q.v.)
Revised: 2023-01-31
 

CLAN module to perform cluster-level analysis of cluster randomised trials
Authors: Stephen Nash Jennifer Thompson Baptiste Leurent Req: Stata version 14.2
Revised: 2023-01-26
 

CNGCODE module to geocode Chinese addresses
Authors: Chuntao Li Yuan Xue Req: Stata version 14
Revised: 2023-01-08
 

HETTREATREG module to compute diagnostics for linear regression when treatment effects are heterogeneous
Authors: Tymon Sloczynski Req: Stata version 12.1
Revised: 2023-01-24
 

XTOOS module for evaluating the out-of-sample prediction performance of panel-data models
Authors: Alfonso Ugarte Ruiz Req: Stata version 13
Revised: 2023-01-18
 

DID_MULTIPLEGT module to estimate sharp Difference-in-Difference designs with multiple groups and periods
Authors: Clément de Chaisemartin Xavier D'Haultfoeuille Yannick Guyonvarch Req: Stata version 13.1 and fuzzydid from SSC (q.v.)
Revised: 2023-01-18
 

MERLIN module to fit mixed effects regression for linear and non-linear models
Authors: Michael J. Crowther Req: Stata version 15.1
Revised: 2023-01-18
 

CORR2DOCX module to report Pearson & Spearman correlation coefficients to formatted table in DOCX file
Authors: Chuntao Li Zijian Li Yuan Xue Req: Stata version 15
Revised: 2023-01-07
 

T2DOCX module to report Mean Comparison for variables between two groups with formatted table output in DOCX file
Authors: Chuntao Li Zijian Li Yuan Xue Req: Stata version 15
Revised: 2023-01-26
 

REG2DOCX module to report regression results to formatted table in DOCX file.
Authors: Chuntao Li Yuan Xue Req: Stata version 15
Revised: 2023-01-07
 

SUM2DOCX module to report summary statistics to formatted table in DOCX file
Authors: Chuntao Li Yuan Xue Req: Stata version 15
Revised: 2023-01-07
 

GINTREG module to perform Generalized Interval Regression
Authors: James McDonald Jacob Triplett Req: Stata version 13
Revised: 2023-01-26
 

MULTISTATE module to perform multi-state survival analysis
Authors: Michael J. Crowther Paul Lambert Req: Stata version 15.1 and merlin from SSC (q.v.)
Revised: 2023-01-18
 

MATRIXTOOLS module to build, present and style Stata matrices
Authors: Niels Henrik Bruun Req: Stata version 12
Revised: 2023-01-08
 

IETOOLKIT module providing commands specially developed for Impact Evaluations
Authors: DIME Analytics Req: Stata version 12
Revised: 2023-01-24
 

BOOTTEST module to provide fast execution of the wild bootstrap with null imposed
Authors: David Roodman Req: Stata version 13
Revised: 2023-01-26
 

RDECOMPOSE module to implements Gupta's rate decomposition method for aggregated data
Authors: Jinling Li Req: Stata version 10
Revised: 2023-01-08
 

BASETABLE module to compare a set of risk factors or effects with respect to a categorical variable
Authors: Niels Henrik Bruun Req: Stata version 13
Revised: 2023-01-08
 

DOMIN module to conduct dominance analysis
Authors: Joseph N. Luchman Req: Stata version 12.1 and package moremata from SSC (q.v.)
Revised: 2023-01-28
 

SIMSUM module to perform analyses of simulation studies including Monte Carlo error
Authors: Ian White Req: Stata version 10
Revised: 2023-01-13
 

STPM2 module to estimate flexible parametric survival models
Authors: Paul Lambert Req: Stata version 11
Revised: 2023-01-18
 

CMP module to implement conditional (recursive) mixed process estimator
Authors: David Roodman Req: Stata version 13 and package ghk2 (q.v.)
Revised: 2023-01-05
 

IVHETTEST module to perform Pagan-Hall and related heteroskedasticity tests after IV
Authors: Mark E Schaffer Req: Stata version 12.0
Revised: 2023-01-26
 

XTTEST2 module to perform Breusch-Pagan LM test for cross-sectional correlation in panel data model
Authors: Christopher F Baum Req: Stata version 6.0
Revised: 2023-01-09
 
End of recent additions and updates