Recent SSC Stata modules

SSC Stata modules
created or revised 2024-05-23 to 2024-06-23



NUMBER_EXPORTING module to format a numeric value and export in LaTeX format
Authors: Olena Bogdan Adrien Matray Pablo E. Rodriguez Chenzi Xu Req: Stata version 13
Created: 2024-06-22
 

PREVENT module for computing AHA 10-year and 30-year risk of cardiovascular disease--atherosclerotic and heart failure
Authors: Ariel Linden Req: Stata version 13
Created: 2024-06-18
 

STATA_SAGE module to answer your research questions
Authors: Prabhmeet Kaur Matta Kabira Namit Req: Stata version 10
Created: 2024-06-18
 

DID_MULTIPLEGT_OLD module to estimate sharp Difference-in-Difference designs with multiple groups and periods
Authors: Clément de Chaisemartin Xavier D'Haultfoeuille Req: Stata version 12 and fuzzydid from SSC (q.v.)
Created: 2024-06-18
 

MYWEEKS module for generating numbered weeks from daily date variables
Authors: Nicholas J. Cox Req: Stata version 8.2
Created: 2024-06-10
 

MATSTAT module to format tabstat, assembling of results in one matrix
Authors: John Casterline Req: Stata version 16
Created: 2024-06-09
 

MSWTABLE module to provide wrapper for putdocx table
Authors: John Casterline Req: Stata version 16
Created: 2024-06-05
 

LOGITJACK module to provide cluster robust inference for logit models
Authors: James G. MacKinnon Morten Ørregaard Nielsen Matthew D. Webb Req: Stata version 13
Created: 2024-06-03
 

CORESCORE module to produce Comorbid Operative Risk Evaluation (CORE) Score macro
Authors: Nikhil Chervu Jeffrey Balian Peyman Benharash Req: Stata version 16.1
Created: 2024-06-03
 

STFFORM module to provide Functional form test for Cox Models
Authors: Daniele Spinelli Req: Stata version 16
Created: 2024-05-28
 

MIXLELAST module to compute mixed logit sample elasticities and marginal effects
Authors: Lars Zeigermann Req: Stata version 14.1
Created: 2024-05-28
 

STACKDID module to estimate Stacked Difference-in-Differences Regression
Authors: Jacob Triplett Req: Stata version 11.2 and reghdfe, ppmlhdfe, ftools from SSC
Created: 2024-05-24
 

DID_HAD module to estimate the effect of a treatment on an outcome in a heterogeneous adoption design with no stayers but some quasi stayers
Authors: Clément de Chaisemartin Diego Ciccia Xavier D'Haultfoeuille Felix Knau Doulo Sow Req: Stata version 12 and lprobust (search nprobust)
Revised: 2024-06-14
 

SCCSDTA module to generate a dataset for the self-controlled case series method (SCCS)
Authors: Niels Henrik Bruun Req: Stata version 12.1
Revised: 2024-05-24
 

OPL module for optimal policy learning
Authors: Giovanni Cerulli Req: Stata version 16
Revised: 2024-05-24
 

YATCHEW_TEST module to perform Yatchew (1997), de Chaisemartin, D'Haultfoeuille & Gurgand (2024) linearity test
Authors: Clément de Chaisemartin Xavier D'Haultfoeuille Diego Ciccia Felix Knau Doulo Sow Req: Stata version 12
Revised: 2024-06-11
 

ADODOWN module making Stata packages easier to develop and document using modern tools
Authors: LSMS Team Req: Stata version 14.1
Revised: 2024-06-06
 

BTA2SCORE module to generate beta to score
Authors: Suppachai Lawanaskol Jayanton Patumanond Req: Stata version 16
Revised: 2024-06-02
 

DID_MULTIPLEGT_DYN module to estimate event-study Difference-in-Difference (DID) estimators in designs with multiple groups and periods, with a potentially non-binary treatment that may increase or decrease multiple times
Authors: Clément de Chaisemartin Diego Ciccia Xavier D'Haultfoeuille Felix Knau Mélitine Malézieux Doulo Sow Req: Stata version 12 and gtools from SSC (q.v.avity2)
Revised: 2024-06-14
 

TREE module to model decision trees
Authors: David Kantor Req: Stata version 14
Revised: 2024-06-11
 

DIRTREE module to display the content of a directory as a tree
Authors: Maarten L. Buis Req: Stata version 14
Revised: 2024-06-10
 

STPM3 module to fit flexible parametric survival models
Authors: Paul Lambert Req: Stata version 16.1
Revised: 2024-06-03
 

BUMPAREA module to produce bump area graphs
Authors: Asjad Naqvi Req: Stata version 15 and colorpalettes, colrspace from SSC (q.v.)
Revised: 2024-06-22
 

BUMPLINE module to produce bump line graphs
Authors: Asjad Naqvi Req: Stata version 15 and colorpalettes, colrspace from SSC (q.v.)
Revised: 2024-06-22
 

PRETTY_SUITE module with programs to aid with routine reporting for clinical trials
Authors: Rafael Gafoor Req: Stata version 17
Revised: 2024-06-05
 

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

SANKEY module for Sankey diagrams
Authors: Asjad Naqvi Req: Stata version 15 and palettes, colrspace from SSC
Revised: 2024-06-22
 

TREEMAP module for treemaps
Authors: Asjad Naqvi Req: Stata version 15 and palettes, colrspace, labmask from SSC
Revised: 2024-06-22
 

IVREG2M module to identify treatment-effects estimates with potentially misreported and endogenous program participation
Authors: Christopher F Baum Denni Tommasi Lina Zhang Req: Stata version 15 and ivreg2, ranktest from SSC (q.v.)
Revised: 2024-06-04
 

CWMGLM module to estimate Cluster Weighted Models (CWM)
Authors: Daniele Spinelli Salvatore Ingrassia Giorgio Vittadini Req: Stata version 16
Revised: 2024-05-28
 

BIMAP module to produce bivariate maps
Authors: Asjad Naqvi Req: Stata version 15 and spmap, palettes, colrspace from SSC (q.v.)
Revised: 2024-06-22
 

STREAMPLOT module to produce streamplots
Authors: Asjad Naqvi Req: Stata version 15 and palettes, colrspace from SSC
Revised: 2024-06-22
 

VALIDARCAE module to provide several functionalities for dealing with codes from the Portuguese Classification of Economic Activities (CAE)
Authors: BPLIM Req: Stata version 15 and savesome from SSC (q.v.)
Revised: 2024-06-21
 

MKPROJECT module to create a project folder with some boilerplate code and research log
Authors: Maarten L. Buis Req: Stata version 15
Revised: 2024-06-10
 

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: 2024-06-18
 

TWOWAYFEWEIGHTS module to estimate the weights and measure of robustness to treatment effect heterogeneity attached to two-way fixed effects regressions
Authors: Clement de Chaisemartin Xavier D'Haultfoeuille Antoine Deeb Req: Stata version 12
Revised: 2024-06-13
 

PLSSEM module to implement Partial least squares structural equation modelling (PLS-SEM)
Authors: Sergio Venturini Mehmet Mehmetoglu Req: Stata version 14.2
Revised: 2024-05-31
 

ENTROPYETC module for entropy and related measures for categories
Authors: Nicholas J. Cox Req: Stata version 8.2 (entropyyetc), 11.2 (entropyetc2)
Revised: 2024-06-21
 

GEOROUTE module to calculate travel distance and travel time between two addresses or two geographical points
Authors: Sylvain Weber Martin Péclat Req: Stata version 11 and insheetjson, libjson from SSC (q.v.)
Revised: 2024-06-21
 

XTDCCE2 module to estimate heterogeneous coefficient models using common correlated effects in a dynamic panel
Authors: Jan Ditzen Req: Stata version 10, xtcd2, xtcse2, ivreg2 and moremata from SSC (q.v.)
Revised: 2024-06-06
 

TIHTEST module to test for time invariant unobserved heterogeneity in generalized linear models for panel data
Authors: Federico Belotti Req: Stata version 14
Revised: 2024-06-06
 

KHB module to decompose total effects into direct and indirect via KHB-method
Authors: Ulrich Kohler Kristian Karlson Req: Stata version 17
Revised: 2024-05-28
 

NJC_STUFF module documenting Stata programs and help files by Nicholas J. Cox
Authors: Nicholas J. Cox Req: Stata version 7
Revised: 2024-06-13
 

METAN module for fixed and random effects meta-analysis
Authors: David Fisher Ross Harris Mike Bradburn Jon Deeks Roger Harbord Doug Altman Thomas Steichen Jonathan Sterne Julian Higgins Req: Stata version 11 (version 9 for metan9, or version 7 for metan7)
Revised: 2024-06-17
 
End of recent additions and updates