Recent SSC Stata modules

SSC Stata modules
created or revised 2023-11-08 to 2023-12-08



MANYWEAKIV module to implements the weak-identification robust jackknife AR test from Mikusheva and Sun (2022)
Authors: Liyang Sun Req: Stata version 13
Created: 2023-11-18
 

NORM_DIST module providing normal and inverse normal distribution functions with added mean and standard deviation
Authors: Ariel Linden Req: Stata version 11
Created: 2023-12-03
 

LPDID module implementing Local Projections Difference-in-Differences (LP-DiD) estimator
Authors: Alexander Busch Daniele Girardi Req: Stata version 13
Created: 2023-12-03
 

REGHDFEJL module to estimate high-dimensional fixed-effect linear models using Julia
Authors: David Roodman Req: Stata version 16, julia from SSC, Julia 1.9, Python 3.x
Revised: 2023-12-07
 

JULIA module to provide interface to Julia
Authors: David Roodman Req: Stata version 14.1 and Julia 1.9
Revised: 2023-12-07
 

QCM module to implement quantile control method (QCM) via Random Forest
Authors: Guanpeng Yan Qiang Chen Req: Stata version 16
Revised: 2023-11-23
 

NCA module to perform Necessary Condition Analysis (NCA)
Authors: Daniele Spinelli Jan Dul Govert Buijs Req: Stata version 15
Revised: 2023-11-24
 

WWWHELP module to display the help document in PDF format of the specified command via browsers
Authors: Yujun Lian Req: Stata version 13
Created: 2023-11-18
 

PEERMEAN module to compute mean of Peer firms
Authors: Yujun Lian Req: Stata version 13
Created: 2023-11-18
 

LXHGET module to download datasets of lianxh.cn blogs or network
Authors: Yujun Lian Req: Stata version 11
Created: 2023-11-18
 

DISTILL module to assess heterogeneous treatment effects in randomized controlled trials
Authors: Ariel Linden John L. Adams Req: Stata version 13
Created: 2023-11-17
 

WGTDISTRIM module for trimming extreme sampling weights
Authors: Sebastian Lang Daniel Klein Req: Stata version 16.1
Created: 2023-11-16
 

MIXRANDREGRET module for fitting mixed random regret minimization models
Authors: Ziyue Zhu Álvaro A. Gutiérrez Vargas Martina Vandebroek Req: Stata version 6
Created: 2023-11-14
 

CENTILE2 module to enhance centile command and provide additional definitions for computing sample quantiles
Authors: Ariel Linden Req: Stata version 6
Created: 2023-11-14
 

SUBMATRIX module to perform advanced matrix subscripting
Authors: Daniele Spinelli Req: Stata version 15
Created: 2023-11-14
 

MAXSUM module to compute the maximum value of a rolling sum
Authors: Ariel Linden Req: Stata version 11
Revised: 2023-12-05
 

KAPPALATE module to estimate the local average treatment effect (LATE) using Abadie's kappa approach and other weighting estimators
Authors: Derya Uysal Tymon Słoczyński Jeffrey M. Wooldridge Req: Stata version 17
Revised: 2023-12-05
 

IVCLOGLOG module to estimate a complementary log-log model with endogenous covariates, instrumented via the control function approach (i.e., 2SRI)
Authors: William Liu Req: Stata version 11 and moremata from SSC (q.v.)
Revised: 2023-11-18
 

PMVALSAMPSIZE module to calculate the minimum sample size required for external validation of a multivariable prediction model
Authors: Joie Ensor Req: Stata version 12.1
Revised: 2023-11-14
 

MLMR2 module to compute r-squared measures for models estimated by mixed
Authors: Anthony J. Gambino Req: Stata version 17
Revised: 2023-12-03
 

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

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

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
Revised: 2023-12-03
 

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

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

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

SPIDER module for spider plots
Authors: Asjad Naqvi Req: Stata version 15 and palettes, colrspace from SSC
Revised: 2023-11-18
 

ATTREGTEST module to implement the regression-based attrition tests proposed in Ghanem et al. (2022)
Authors: Dalia Ghanem Sarojini Hirshleifer Karen Ortiz-Becerra Req: Stata version 13 and estout, randtreat from SSC (q.v.)
Revised: 2023-11-27
 

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

JWDID module to estimate Difference-in-Difference models using Mundlak approach
Authors: Fernando Rios-Avila Req: Stata version 16 and hdfe, reghdfe, ftools from SSC (q.v.)
Revised: 2023-11-17
 

JOYPLOT module to produce joyplots or ridgeline plots
Authors: Asjad Naqvi Req: Stata version 15 and palettes, colrspace from SSC
Revised: 2023-11-18
 

STREAMPLOT module to produce streamplots
Authors: Asjad Naqvi Req: Stata version 15 and palettes, colrspace from SSC
Revised: 2023-11-18
 

XTNUMFAC module to estimate the number of factors in panel data
Authors: Jan Ditzen Simon Reese Req: Stata version 11.2
Revised: 2023-12-03
 

MLAD module to perform maximum likelihood using automatic differentiation
Authors: Paul Lambert Req: Stata version 16.1
Revised: 2023-11-26
 

IHELP module to display the help documents in PDF format using the default browser
Authors: Yujun Lian Yongli Chen Req: Stata version 14
Revised: 2023-11-18
 

LXHUSE module to access Stata datasets of lianxh.cn blogs
Authors: Yujun Lian Req: Stata version 11
Revised: 2023-11-18
 

DID_IMPUTATION module to perform treatment effect estimation and pre-trend testing in event studies
Authors: Kirill Borusyak Req: Stata version 13
Revised: 2023-11-22
 

LIANXH module to Search and share Stata resources and blogs within Stata Command Window
Authors: Yujun Lian Junjie Kang Qingqing Liu Req: Stata version 14
Revised: 2023-11-18
 

METAPREG module to compute fixed and random effects meta-analysis and meta-regression of proportions
Authors: Victoria Nyawira Nyaga Req: Stata version 14
Revised: 2023-11-14
 

HAMMOCK module to implement Hammock plot, visualizing categorical (and continuous) data
Authors: Matthias Schonlau Req: Stata version 14.2
Revised: 2023-11-09
 

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: 2023-11-22
 

PMSAMPSIZE module to calculate the minimum sample size required for developing a multivariable prediction model
Authors: Joie Ensor Req: Stata version 12.1
Revised: 2023-12-04
 

VALIDSCALE module to assess validity and reliability of a multidimensional scale
Authors: Bastien Perrot Req: Stata version 12, kapci from st076, and delta, loevh, mi_twoway, detect, imputeitems, lstrfun from SSC (q.v.)
Revised: 2023-11-27
 

TABLE1_MC module to create "table 1" of baseline characteristics for a manuscript
Authors: Mark Chatfield Req: Stata version 14.2 (15.1 for docx output)
Revised: 2023-11-09
 

REGSAVE module to save regression results to a Stata-formatted dataset
Authors: Julian Reif Req: Stata version 8
Revised: 2023-12-03
 
End of recent additions and updates