Stata外部命令:SSC所有外部命令清单

发布时间:2022-04-20 阅读 29925

Stata连享会   主页 || 视频 || 推文 || 知乎 || Bilibili 站

温馨提示: 定期 清理浏览器缓存,可以获得最佳浏览体验。

New! lianxh 命令发布了:
随时搜索推文、Stata 资源。安装:
. ssc install lianxh
详情参见帮助文件 (有惊喜):
. help lianxh
连享会新命令:cnssc, ihelp, rdbalance, gitee, installpkg

课程详情 https://gitee.com/lianxh/Course

课程主页 https://gitee.com/lianxh/Course

⛳ Stata 系列推文:

PDF下载 - 推文合集


目录


SSC - Stata 外部命令列表

连享会lianxh.cn   20 Apr 2022

A

  • a2reg module to estimate models with two fixed effects
  • aaniv module to compute unbiased IV regression
  • aaplot module for scatter plot with linear and/or quadratic fit, automatically annotated
  • abar module to perform Arellano-Bond test for autocorrelation
  • abg module to implement the Alpha-Beta-Gamma Method of Distributional Analysis
  • aboutreg module providing tutorial on regression diagnostics
  • absdid module to estimate treatment effect with Abadie semiparametric DID estimator
  • acelong module to fit multilevel mixed-effects ACE, AE and ADE variance decomposition models
  • acplot module to plot the autocorrelogram
  • acreg module to perform Arbitrary Correlation Regression
  • actest module to perform Cumby-Huizinga general test for autocorrelation in time series
  • addbefore module to add number or character before a variable
  • addinby module to add in data from a disk dataset using a foreign key
  • addnotes program to add notes to the end of text files
  • addplot module to add twoway plot objects to an existing twoway graph
  • addtex module to display text on a graph
  • addtxt module to add text to graphs
  • adecomp module to estimate Shapley Decomposition by Components of a Welfare Measure
  • adfmaxur module to calculate Leybourne (1995) ADFmax unit root test statistic along with 1, 5 and 10% finite-sample critical values and associated p-values
  • adftest module to perform ADF and Breusch-Godfrey tests
  • adjacent module to list adjacent values of variables "- adjksm module to perform adjusted ""ksm"" for robust scatterplot smoothing"
  • adjmean module to calculate variables' means adjusted for covariates
  • adjprop module to calculate adjusted probabilities from logistic regression estimates
  • adjust module (corrected) to compute adjusted predictions and probabilities after estimation
  • admetan module to provide comprehensive meta-analysis
  • adodev module to reorder ado-path for developers and other independent-minded users
  • adoedit module to edit ado file in Stata's do-file editor
  • adoinstall module to install Stata packages in a specified path
  • adolist module to manage lists of ado packages
  • adostore module to store and restore the current ado-path
  • adotype module to type ado file
  • aedot module to produce dot plot for adverse event data
  • aefdr module to perform false discovery rate p-value adjustment for adverse event data
  • aevolcano module to produce volcano plot for adverse event data
  • aextlogit module to compute average elasticities for fixed effects logit
  • affiliationexposure module to compute an affiliation exposure model using two-mode actor(row)-by-event(column) network data
  • aformat module to condense the display format of a variable
  • aggind module to aggregate indicators among units within a specified radius "- agrm module to calculate van der Eijk's measure of agreement ""A"""
  • aic_model_selection module to perform Forward Model Selection using AIC or BIC
  • ainequal module to compute measures of inequality
  • airnet module to create networks from airline traffic data
  • akdensity module to perform adaptive kernel density estimation
  • albatross module to create albatross plots
  • alignedpairs module to perform the aligned ranks test for matched pairs (Hodges-Lehmann)
  • alignedranks module to perform a two-sample aligned rank-sum (Hodges-Lehmann) test with exact statistics for small samples
  • alignedsets module to perform aligned ranks test for matched sets (Hodges-Lehmann)
  • alignmicro module to perform alignment in microsimulation
  • allcross modules to create variables corresponding to moment matrices
  • allpossible module to fit all possible models with subsets of predictors
  • allsubsets module to perform all subsets (combinatorial) meta-analysis in a set of studies
  • almon Module to Estimate Shirley Almon Generalized Polynomial Distributed Lag Model
  • almon1 module to estimate Shirley Almon Polynomial Distributed Lag Model
  • alogit module to estimate (In)attentive logit regression from Abaluck and Adams
  • alorenz module to produce Pen's Parade, Lorenz and Generalised Lorenz curve
  • alphawgt module to compute Cronbach's alpha for weighted data
  • alsmle module to perform Beach-Mackinnon AR(1) Autoregressive Maximum Likelihood Estimation
  • amcmc module to provide Mata functions and structures for adaptive Markov chain Monte Carlo sampling
  • ameta module to perform alternative and Bayesian meta-analysis
  • anketest module to perform diagnostic tests for spatial autocorrelation in the residuals of OLS, SAR, IV, and IV-SAR models
  • anogi module to generate Analysis of Gini
  • anovaplot module for plots of anova fit, including interaction plots
  • anymatch module to perform distance matching based on any metric
  • anythingtodate module to convert all types of date variables to Stata date variables
  • apc module for estimating age-period-cohort effects
  • apcd module for estimating age-period-cohort effects with detrended coefficients
  • apcgo module to calculate age-period-cohort effects for the gap between two groups (based on a Blinder-Oaxaca decomposition), including trends for each parameter
  • apch module for estimating age-period-cohort and hysteresis effects
  • apoverty module to compute poverty measures
  • appendfile module to append text files
  • archlm module to calculate LM test for ARCH effects
  • archqq module to generate Q-Q plot and distribution tests for ARCH models
  • ardl module to perform autoregressive distributed lag model estimation
  • arhomme module to estimate Arellano and Bonhomme quantile selection model
  • arimaauto module to find the best ARIMA model with the help of a Stata-adjusted Hyndman-Khandakar (2008) algorithm
  • arimafit module to calculate AIC, SIC for ARIMA model
  • arimasel module to compute selection criteria for ARMA(p,q) models
  • armadiag module to compute post-estimation residual diagnostics for time series
  • armaroots module to compute roots of AR- and MA-polynomials
  • array package to support arrays of variables
  • arrowplot module to produce combined plot for graphing inter-group and intra-group trends
  • art module to compute sample size and power for complex randomised trial designs with binary or time-to-event outcomes
  • artbin module to compute extended sample size for randomised trials with binary outcomes
  • ascii module to display the ASCII character set
  • asciiplot module to generate ASCII character map
  • ascol module to convert frequency of stock returns or stock prices
  • asdoc module to create high-quality tables in MS Word from Stata output
  • asgen module to generate weighted average mean using an existing variable as weight
  • ashell module to capture output from OS shell command
  • asl_norm module computing bootstrap Gaussianity tests
  • asreg module to estimate rolling window regressions, Fama-MacBeth and by(group) regressions
  • asrol module to generate rolling window / groups descriptive statistics
  • assertky module to assert unique dataset keys
  • astile module to provide a faster and byable alternative for xtile
  • astx module to create a table of descriptive statistics and t-statistics by a grouping variable
  • atkplot module to generate Atkinson residual normality plots
  • autofill module to fill missing values with existing values
  • autofmt module to automatically format a significant number of digits
  • autolog module to generate dialog to create log files
  • autorename module to automatically rename variables
  • autosum module to produce automatic generation of a comparison table
  • avar module to perform asymptotic covariance estimation for iid and non-iid data robust to heteroskedasticity, autocorrelation, 1- and 2-way clustering, and common cross-panel autocorrelated disturbances
  • avciplot module to produce added-variable plot with confidence intervals
  • avg_effect module to calculate mean (standardized) effect size across multiple outcomes
  • avicplot module to produce added-variable plot with confidence intervals
  • avplot2 modules for added variable plots
  • avplot3 module to generate partial regression plots for subsamples
  • avplots4 module to graph added-variable plots for specified regressors in a single image

B

  • b1x2 module to account for changes when X2 is added to a base model with X1
  • babibplot module to plot two graph types which are rooted in Bland-Altman plots using journal and paper percentiles
  • backrasch module to implement a backward procedure with a Rasch model
  • backup module to make daily backup of important files (Windows only)
  • bacondecomp module to perform a Bacon decomposition of difference-in-differences estimation
  • baing module to determine and estimate the number of common factors following Bai and Ng
  • balancetable module to build a balance table and print it in a LaTeX file or an Excel file
  • bandplot module to plot summary statistics of responses for bands of predictors
  • baplot module to produce Bland-Altman plots
  • barplot module to plot varlist against xvar
  • barplot2 module to produce bar plot with optional error bars
  • basetable module to compare a set of risk factors or effects with respect to a categorical variable
  • batcher module to parallelise tasks
  • batplot module to produce Bland-Altman plots accounting for trend
  • bayerhanck module to compute test for non-cointegration
  • bayesmixedlogit module to perform Bayesian estimation of mixed logit models
  • bayesmixedlogitwtp module for Bayesian estimation of mixed logit model in willingness-to-pay (WTP) space
  • bayesmlogit module to perform Bayesian estimation of mixed logit models
  • bcii 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
  • bcoeff module to save regression coefficients to new variable
  • bcoeffs module to save regression coefficients to new variable
  • bcss module to create graphs to show how baseline data (prospective or retrospective) affect sample size for a cluster randomised trial
  • bcstats module to analyze back check (field audit) data and compare it to the original survey data
  • bctobit module to produce a test of the tobit specification
  • bcuse module to access instructional datasets on Boston College server
  • bdiff module to compute Bootstrap and Permutation tests for difference in coefficients between two groups
  • beamplot module to draw horizontal dotplots using beams
  • benford module to test Benford's Law on a variable
  • betacoef module to calculate beta coefficients from regression
  • betafit module to fit a two-parameter beta distribution
  • betaprior module to calculate the parameters of a Beta distribution given the mean and variance
  • betterbar module to produce bar graphs with optional standard error bars and cross-group comparisons
  • bfmcorr module for correcting surveys using tax data
  • bgshade module to add background shading to twoway plots using either dummy variable(s) denoting shaded areas and/or precoded NBER recessions
  • bgtest module to calculate Breusch-Godfrey test for serial correlation
  • bhatt module to compute Bhattacharyya Coefficient and Bhattacharyya Distance statistics of distribution overlap
  • biasepi module to perform simple bias analysis, multidimensional bias analysis, and multiple bias modeling
  • bibrep module to produce a bibliometric report on a single senior researcher
  • bic module to evaluate the statistical significance of variables in a model
  • bicdrop1 module to estimate the probability a model is more likely without each explanatory variable
  • bidensity module to produce and graph bivariate density estimates
  • bihist module to produce bihistograms
  • bimap module to produce bivariate maps
  • bineq module to analyze multidimensional inequality in two dimensions of wellbeing
  • binscatter module to generate binned scatterplots
  • binscatterhist module to produce binned scatterplot with marginal histograms
  • bioprobit module for bivariate ordered probit regression
  • biplot module to generate biplots
  • biplotvlab module to produce biplot with variable labels
  • bipolar module to calculate four measures of income bi-polarization
  • bipolate module to perform bivariate interpolation and smooth surface fitting for values given at irregularly distributed points
  • birthsim module to simulate completed fertility and birth intervals
  • bitobit module to perform bivariate Tobit regression
  • bking module to implement Baxter-King filter for timeseries data
  • bkrosenblatt module for Blum, Kiefer and Rosenblatt test of bivariate independence
  • blandaltman module to create Bland-Altman plots featuring differences or %differences or ratios, with options to add a variety of lines and intervals
  • blinding module to compute blinding indexes
  • blindschemes module to provide graph schemes sensitive to color vision deficiency
  • blist module to list values of variables in as small a space as possible
  • blogit2 module to produce grouped data logit with support for in
  • blp module to estimate Berry Levinsohn Pakes random coefficients logit estimator
  • bme module to compute Bounded midpoint estimator
  • bmi module to compute Body Mass Index
  • bmjcip module to format confidence intervals and P-values for medical journals
  • bmp2dta module to convert bitmap files to Stata datasets
  • bnormpdf module to calculate the bivariate normal density
  • boost module to perform boosted regression
  • boottest module to provide fast execution of the wild bootstrap with null imposed
  • boxpanel module to produce box plots for panel data
  • boxtid module to fit Box-Tidwell and exponential regression models
  • bpagan module to perform Breusch-Pagan test for heteroskedasticity
  • bpass module to compute band pass filter for time series data
  • bpmedian module to compute Bonett-Price confidence intervals for medians and their contrasts
  • brain module to provide neural network
  • brewscheme module for generating customized graph scheme files
  • brglm module to perform bias-reduced estimation of binary response models
  • brmunid module to standardize geocodes for Brazilian municipalities
  • bronch module to describe bronchiolitis severity
  • bsens module to compute Sensitivity metric using McNemar's test
  • bsopm module to compute Black-Scholes European Option Pricing Model
  • bspline modules to compute B-splines parameterized by their values at reference points
  • btobit module to produce a test of the tobit specification
  • buckley module to implement Buckley-James method for analysing censored data
  • bugsdat module to convert a Stata datafile into the S-plus format used in Winbugs
  • bugwrite module to write data from Stata into a format compatible with WinBUGS
  • bunching module to use bunching to partially and point identify the elasticity of income with respect to tax rates
  • bundle module to bundle image files in a web page using base64 encoding
  • butterworth module to implement Butterworth square-wave highpass filter for timeseries data
  • byhist module to produce interlaced histograms
  • bynote module to create a note with a user-specified format for use with the by option
  • bys module to automatically sort on the bylist (version 5)
  • bystore module to repeat estimation commands and store estimates
  • byvar module to repeat a command by variable

C

  • c_ml_stata module to implement machine learning classification in Stata
  • c_ml_stata_cv module to implement machine learning classification in Stata
  • cal module to generate calendar
  • calibest module to estimate proportions and means after survey data have been calibrated to population totals
  • calibr module for inverse regression and calibration
  • calibrate module to calibrate survey datasets to population totals
  • calinski module to compute Calinski-Harabasz cluster stopping index from distance matrix
  • calipmatch module for caliper matching without replacement
  • callsado module to find (user-written) ado-files called by (a)do-file
  • canon module (corrected) to compute canonical correlations
  • capass module to wrap Stata's assert command, throws error messages
  • care module to randomly generate helpful tips to keep you on top of your mental wellbeing
  • carryforward module to carry forward previous observations
  • cart module to perform Classification And Regression Tree analysis
  • casefat module for estimating the case fatality ratio of a new infectious disease
  • catdev modules for interpretation of categorical dependent variable models
  • catenate module to concatenate variables into string variable
  • caterpillar module to generate confidence intervals, Bonferroni-corrected confidence intervals, and null distribution
  • catgraph module to plotting means of a variable by category
  • catplot module for plots of frequencies, fractions or percents of categorical data
  • causaldata module providing datasets used in causal analysis
  • cb2html module to write a codebook to an HTML file
  • cbarplot module for centred bar plots of absolute or relative frequencies
  • ccmatch module to match cases and controls using specified variables
  • ccmpre module to compute PRE Measures for Cultural Consensus Models
  • cctable module to calculate summary table for case-control study
  • ccweight module to generate inverse sampling probability weights
  • cddens module to estimate a Density under Measurement Error using Auxiliary Information
  • cdecompose module to estimate canonical permanent-transitory state space models
  • cdfplot module to plot a cumulative distribution function
  • cdfquantreg module for estimating generalized linear models for doubly-bounded random variables with cdf-quantile distributions
  • cdo module to get an update when the dofile stalls
  • cdout module to display the current working directory
  • cdreg module to estimate Linear Regression under Measurement Error using Auxiliary Information
  • cedesign module to find the optimal flexible two stage single-arm binary outcome design
  • cem module to perform Coarsened Exact Matching
  • cenpois module to estimate censored maximum likelihood Poisson regression models
  • censornb module to estimate censored negative binomial regression as survival model
  • censusapi module to download Census data through the Census API
  • centcalc module to calculate distribution-based centiles
  • center module to center (or standardize) variables
  • centpow module to calculate centrality and power indices for each node in a network.
  • centroid module to calculate centroids
  • cepois module to estimate censored maximum likelihood Poisson regression models
  • ceq module to carry out Commitment to Equity (CEQ) fiscal incidence analysis
  • cf2 module to compare two datasets
  • cf3 module to compare two datasets
  • cfby module to compare datasets and produce discrepancy rates
  • cfitzrw module to implement Christiano-Fitzgerald Random Walk band pass filter for timeseries data
  • cflpois module to calculate confidence limits for rates based on Poisson outcome
  • cfout module to compare two datasets, saving a list of differences
  • cfvars module to compare variable name lists in two data sets
  • cgroup module to group contiguous observations with identical values of a varlist
  • chaid module to conduct chi-square automated interaction detection
  • chaidforest module to conduct random forest ensemble classification based on chi-square automated interaction detection (CHAID) as base learner
  • changemean module to compute Income and Inequality Contribution on Poverty Variation
  • chaos module to iterate a logistic difference equation
  • chardef module to assign values to a characteristic of a list of variables
  • charlist module to list characters present in string variable
  • charlson module to calculate Charlson index of comorbidity
  • charon module to redistribute deaths by ill-defined causes and garbage codes
  • chartab module to tabulate character frequency counts
  • charutil module of utilities for working with characteristics
  • checkfor2 module to check whether a variable exists or not in a dataset
  • checkipaddresses module to detect Fraud in Online Surveys by Tracing and Scoring IP Addresses
  • checkreg3 module to check identification status of simultaneous equations system
  • checkrob module to perform robustness check of alternative specifications
  • checkvar module to check the values of a created variable
  • chewfile module to chew and digest ASCII file down to size
  • china_map module to provide map of China's provinces
  • china_spatdwm module to provide spatial distance matrices for Chinese provinces and cities
  • chinafin module to retrieve Chinese listed firms' financial data
  • chinagcode module to geocode Chinese addresses
  • chiplot module to produce graphical assessment plot for dependence
  • chm module to copy hard missings
  • choi_lr_test module to perform Choi's likelihood ratio test
  • chowreg module to compute Structural Change Regressions and Chow Test
  • chowtest module to perform Chow test for structural break
  • chunky module to chunk a large text file into smaller parts
  • chunky8 module to chunk a large text file into smaller parts (version 8)
  • ci2 module to compute confidence intervals for correlations
  • ci_marg_mu module to produce simulation-based confidence intervals after gllapred
  • cibar module to plot bar graphs and confidence intervals over groups
  • cibplot module for bar-on-bar plots of confidence intervals
  • cic module to implement the Athey and Imbens (2006) Changes-in-Changes model
  • cid module to calculate confidence intervals for means or differences
  • ciform module to format confidence interval for tables in documents
  • cifunction module for computing and graphically displaying all possible confidence intervals around a point estimate
  • cihplot module to show horizontally labelled plots showing confidence intervals
  • cij module for binomial confidence intervals for proportions using Jeffreys prior
  • ciplot module for plots of confidence intervals
  • cipolate module for cubic interpolation
  • circkde module to perform kernel density estimation for circular data
  • circstat modules to calculate circular statistics
  • circular module for circular statistics
  • circularkde module to perform kernel density estimation for circular data
  • cisd module to compute confidence intervals for standard deviations
  • cistat module to produce confidence intervals in matrix form
  • civplot module to plot confidence intervals vertically
  • ciw module for binomial confidence intervals for proportions using Wilson scores
  • ciwidth_proportions_mc module to calculate precision and power for a CI-based comparison of two independent proportions (RD, RR, or OR)
  • ckvar module to allow error checking routines to easily be defined and attached directly to variables
  • clan module to perform cluster-level analysis of cluster randomised trials
  • clarify module for Interpreting and Presenting Statistical Results
  • classplot module to plot predicted probability and empirical values after a binary response model
  • classtabi module for generating classification statistics and table using summarized data
  • clean_class module to clean classroom variables
  • clean_fname module to clean firstname variables
  • clean_lname module to clean lastname variables
  • clean_name module to clean name variables
  • cleanchars module to replace specific characters or strings in variable names and/or variable labels and/or string variable values and/or value label names and levels with stated characters/strings (using 1-1 or m-1 match)
  • cleanlog module to clean log files
  • clemao_io module to perform unit root tests with one or two structural breaks
  • clogithet module to estimate heteroscedastic conditional logit model
  • clorenz module to estimate Lorenz and concentration curves
  • clrbound module to perform estimation and inference on intersection bounds
  • clstop_lbt module to add stopping rule in cluster analysis
  • cltest modules for performing cluster-adjusted chi-square and t-tests
  • clump module to compute permutation test approach to assessing genetic associations with case/control status
  • clus_nway module to perform Multi-way Clustering for Various Model Specifications
  • cluster module to perform nonhierarchical k-means (or k-medoids) cluster analysis
  • cluster2 module to perform power analysis for two-level cluster randomized trials
  • cluster3 module to perform power analysis for up to three-level cluster randomized trial
  • clusterbs module to perform a pairs symmetric cluster bootstrap-t procedure
  • clustergram module to produce graph for visualizing hierarchical and non-hierarchical cluster analyses
  • clustersampsim module to simulate cluster-randomized trial sample size requirements
  • clustpop module to estimate population cluster group assignments
  • clustse module to estimate the statistical significance of parameters when the data is clustered with a small number of clusters
  • clustsens module to perform sensitivity analysis for cluster commands
  • clv module to implement a clustering of variables around latent components
  • cm2in module to provide conversion between inch/cm and others
  • cmatch module to tabulate matched pairs in 1:1 case control study by exposure status
  • cmaxuse module to access Cmax instructional datasets
  • cme program to estimate generalized linear models with covariate measurement error
  • cmitest module to implement testing and inference methods for conditional moment inequalities/equalities models
  • cmogram module to plot histogram-style conditional mean or median graphs
  • cmp module to implement conditional (recursive) mixed process estimator
  • cnar module to retrieve Chinese listed firms' financial data
  • cnbreg module to estimate negative binomial regression - canonical parameterization
  • cndnmb3 module to calculate condition number of regressor matrix
  • cnevent module to carry out an event study with Chinese publicly listed firms
  • cngcode module to geocode Chinese addresses
  • cngdf module to calculate any base period GDP deflator for China
  • cnindex module to download historical stock quotations from Chinese market
  • cnintraday module to Download intraday stock quotations for a list of stock codes in a given date from SinaFinance
  • cnmapsearch module to extract the specified information by keyword in a certain geographic range
  • cnormp module to evaluate censored normal distribution
  • cns module to compute Consensus Measure for Ordinal Scales
  • cnsrsig module to evaluate validity of restrictions on a regression
  • cnssc module to mirror SSC Archive in China
  • cnstock module to download stock names and codes for Chinese listed companies
  • cntop10 module to download information of top 10 shareholders for a list of stock codes from HeXun
  • cntrade module to retrieve Chinese stock market quotations from NetEase
  • cntraveltime module to extract the time needed for traveling between two locations from Baidu Map
  • cochran module to test for equality of proportions in matched samples (Cochran's Q)
  • codci module to calculate Bonett-Seier's Confidence Interval for the COD
  • codebook2 module to produce a codebook describing a data file
  • codebook_ripper module to convert metadata managed in a spreadsheet into do files with renaming, notes as well as variable and value labelling
  • codebookout module to save codebook in MS excel format
  • coefplot module to plot regression coefficients and other results
  • cohend module to compute Cohen's d
  • coldiag module to perform BWK regression collinearity diagnostics
  • coldiag2 module to evaluate collinearity in linear regression
  • colelms module to calculate Cole's LMS values for growth data
  • collapse2 module to extend the collapse command
  • collapseunique module to reduce data to unique observations based on specified key variables
  • color_style module to change the colors in the current scheme
  • colorscatter module to draw scatter plots with marker colors varying by a third variable.
  • colrspace module providing a class-based color management system in Mata
  • combinatorics module to evaluate the performance of all possible 2^n models generated with a given set of n possible explanatory variables
  • combine module to combine n, mean, and SD from two groups according to the Cochrane-recommended formula for meta-analyses
  • combineplot module to combine similar univariate or bivariate plots for different variables
  • combival module to combine levels of a categorical variable over observation groups
  • combomarginsplot module to combine the saved results from multiple calls to margins into one marginsplot
  • complexity module to compute complexity indexes from comparative advantage tables
  • complogit module to compare logit coefficients across groups
  • comtrade module to download trade data from UN Comtrade using jsonio and parse the output in a user friendly format
  • concindc module to calculate concentration index with both individual and grouped data
  • concindex module to calculate measures of the concentration index
  • concord module for concordance correlation
  • concordance module to harmonize classification codes
  • conddens module to estimate a conditional density to correct for measurement error and missing values
  • condisc module to perform convergent and discriminant validity assessment in CFA
  • confa module to perform confirmatory factor analysis modeling
  • confall module to plot and display estimates to assess confounding
  • confirmdir module to confirm if a directory exists
  • confnd module to plot and display estimates to assess confounding
  • confsvy module to assess confounding effects in survey studies
  • conindex module to perform estimation of concentration indices
  • conjoint module to analyse and visualise conjoint (factorial) experiments
  • contour module to draw contour plots
  • contrast module to calculate contrasts between factor levels
  • convert_top_lines module to handle leading lines of text file
  • copycode module to produce modular self-written ado files
  • copydesc module to copy description of variable
  • coranal module to perform simple correspondence analysis
  • corr2docx module to report Pearson & Spearman correlation coefficients to formatted table in DOCX file
  • corr_svy module to compute correlation tables for survey data
  • corrtab module to display correlation coefficients in a formatted tabular output
  • corrtable module to show correlation matrix as graphical table
  • corrtex module to generate correlation tables formatted in LaTeX
  • corsp module to display combined Pearson and Spearman correlation matrix
  • cortesti module to test equality of two correlation coefficients
  • cospectdens module to compute cross spectra
  • couliari module to implement Corbae-Ouliaris frequency domain filter to time series data
  • countmatch module to count matching values for one variable in another
  • countvalues module to list counts of integer values across variables
  • covbal module for producing covariate balance statistics
  • cpcorr module for correlations for each row vs each column variable
  • cpigen module to add US CPI series to current dataset
  • cpiget module to construct an annual CPI series based on a user-specified fiscal-year time span
  • cpoisson module to estimate censored Poisson regression
  • cpoissone module to estimate censored Poisson regression (econometric parameterization)
  • cpr module producing results for all possible combinations of arguments
  • cprdcribs module providing template do-files for inputting CPRD datasets into Stata
  • cprdenttype module to convert CPRD entity string data of any enttype to numeric
  • cprdentutil module to convert CPRD entity data variables to numeric variables
  • cprdhesaeutil module to input CPRD HES A&E linkage datasets into Stata
  • cprdhesoputil module to input CPRD HES/OP linkage datasets into Stata
  • cprdhesutil module for inputting HES-linkage datasets into Stata
  • cprdlinkutil module for inputting CPRD linkage-source datasets into Stata
  • cprdlsoautil module to input CPRD LSOA-linkage datasets into Stata
  • cprdonsutil module to input CPRD ONS-linkage datasets into Stata
  • cprdutil module for inputting CPRD datasets into Stata
  • cpredict module to produce conditional predictions
  • cprplot2 module to graph component-plus-residual plots for transformed regressors
  • cprplots module to graph (augmented) component-plus-residual plots in a single image
  • cpyxplot module to produce scatter plots for each y vs each x variable
  • cqiv module to perform censored quantile instrumental variables regression
  • cquad module to perform conditional maximum likelihood estimation of quadratic exponential models
  • cquadr module to estimate Quadratic Exponential models running the cquad R package
  • cquantile module to generate corresponding quantiles
  • crater module to calculate computer scorer vs. human rater agreement statistics
  • creplace module to exchange values cyclically between variables
  • crm module to implement the continual reassessment model
  • crossfold module to perform k-fold cross-validation
  • crossplot module for scatter (or other twoway) plots for each y vs each x variable
  • crossvalidate module to perform k-fold crossvalidation
  • crtest module to perform Cramer-Ridder Test for pooling states in a Multinomial logit
  • crtrees module to compute Classification and Regression Trees algorithms
  • csdid module for the estimation of Difference-in-Difference models with multiple time periods
  • csipolate module to perform cubic spline interpolation
  • csjl module to extend cs command for exposures with more than two categories
  • csranks module to construct uniformly asymptotically valid confidence sets on ranks
  • cstable module to calculate summary table for cohort study
  • csti module that modifies csi command in order to use total numbers rather than individual cell counts
  • csvconvert module to append multiple csv files
  • cta module for conducting Classification Tree Analysis
  • ctabstat module to display table of summary statistics
  • ctreatreg module for estimating dose-response models under exogenous and endogenous treatment
  • cub module to estimate ordinal outcome model estimated by a mixture of a uniform and a shifted binomial
  • cuentacot module for Contributions Counting
  • cureregr module to estimate parametric cure regression
  • cureregr8 module to estimate parametric cure regression (version 8.2)
  • curvefit module to produces curve estimation regression statistics and related plots between two variables for alternative curve estimation regression models
  • cusum6 module to compute cusum, cusum^2 stability tests
  • cusum9 module to compute cusum, cusum^2 stability tests
  • cutpt module for empirical estimation of cutpoint for a diagnostic test
  • cv module to compute coefficient of variation after regress
  • cv2 module to calculate the coefficient of variation for variables
  • cv_kfold module to implement k-fold cross-validation procedures
  • cv_regress module to estimate the leave-one-out error for linear regression models
  • cvauroc module to compute Cross-validated Area Under the Curve for ROC Analysis after Predictive Modelling for Binary Outcomes
  • cvcrand module for efficient design and analysis of Cluster Randomized Trials
  • cvxhull module to compute and plot convex hulls of bivariate data
  • cycleplot module for cycle plot (month plot or seasonal subseries plot)

D

  • d3network module to create network visualizations using D3.js to view in browser
  • dadjoke module to produce terrible dad jokes
  • dag module to provide utilities for directed acyclic graphs
  • dagfit module to fit a Generalized Beta (Type 2) distribution to grouped data via ML
  • dagumfit module to fit a Dagum distribution by maximum likelihood
  • dash module to score Disabilities of the Arm, Shoulder and Hand
  • dashgph module to construct dashed lines in scatterplots
  • dashln module to add dashed lines to graphs
  • datacheck module to perform data checks and produce informative output
  • dataex module to generate a properly formatted data example for Statalist
  • dataframe module to store/restore multiple Stata datasets to/from memory
  • datanet module to facilitate dataset organization for network analysis purposes
  • dataout module to export a dataset or tab-delimited file into various formats
  • dataplink module to import data from plink
  • datelist module to to create ascending numeric lists of dates
  • datesum module to display summary statistics for date variables
  • datmat module to multiply variables via matrix multiplication
  • dbmscopybatch module to produce a batch file for DBMS/Copy
  • dbnomics module for DB.nomics, the world's economic database
  • dcreate module to create efficient designs for discrete choice experiments
  • ddf2dct module to facilitate infiling US Government data distributed with a DDF
  • deci module to perform Variable Base conversion
  • decomp module to compute decompositions of earnings gaps
  • decompose module to compute decompositions of wage differentials
  • delta module to compute the Delta index of scale discrimination
  • demotivate module to remind users of the harsh reality of econometric & statistical practice
  • denton module to interpolate a flow or stock series from low-frequency totals via proportional Denton method
  • dep4asm module to create [in]dependent variable for alternative-specific models
  • dependencies module to manage required user-written commands (ado version freeze)
  • depthplot module to plot one or more variables with depth as vertical axis
  • des2 module to describe current dataset with clickable output
  • descgen module to add Stata dataset attribute variables to a xdir resultsset
  • desclong module to create and save a dataset holding variable information while including long variable labels
  • descogini module to perform Gini decomposition by income source
  • descsave module to export data set and machine-readable codebook
  • designplot module to produce a graphical summary of response given one or more factors
  • desma module to design and simulate (adaptive) multi-arm clinical trials
  • desmat module to generate interactions and contrasts
  • detect module to compute the DETECT, Iss and R indexes to test a partition of items
  • devcon module to apply the deviation contrast transform to estimation results
  • devnplot module for deviation plots
  • devr2 module to compute Cameron and Windmeijer's deviance based R-squared measure
  • dfao module to perform Dickey-Fuller unit root test in the presence of additive outliers
  • dfgls module to compute Dickey-Fuller/GLS unit root test
  • dfl module to estimate DiNardo, Fortin and Lemieux Counterfactual Kernel Density
  • dfsummary module to compute the (Augmented) Dickey-Fuller unit-root test and reports a summary table for different lags
  • dftol module to compute distribution-free tolerance intervals
  • diagma module for the split component synthesis method of diagnostic meta-analysis
  • diagram module to analyze executed ado programs and produce a dynamic profile diagram
  • diagreg module to compute Model Selection Diagnostic Criteria
  • diagreg2 module to compute 2SLS-IV ModeL Selection Diagnostic Criteria
  • diagsampsi module for computing sample size for a single diagnostic test with a binary outcome
  • diagt module to report summary statistics for diagnostic tests compared to true disease status
  • diagtest module to report summary statistics for diagnostic test
  • dichoct module to dichotomizes a variable at a specified centile and generates a new variable containing the dichotomized values
  • dict module to loop over multiple arguments
  • did2s module to estimate a TWFE model using the two-stage difference-in-differences approach
  • did_imputation module to perform treatment effect estimation and pre-trend testing in event studies
  • did_multiplegt module to estimate sharp Difference-in-Difference designs with multiple groups and periods
  • didq module to compute treatment effects under alternative Parallel-q assumptions
  • difd module to evaluate test items for differential item functioning (DIF)
  • difdetect module to detect and adjust for differential item functioning (DIF)
  • diff module to perform Differences in Differences estimation
  • diffpi module to calculate difference expressed as a percentage
  • difwithpar module for detection of and adjustment for differential item functioning (DIF)
  • digdis module to analyze the distribution of digits
  • digits module to examine digit preferences in numeric variables
  • diplot module to draw double interval plot
  • diptest module to compute dip statistic to test for unimodality
  • directma module to conducts multiple pair-wise meta-analysis (head-to-head comparisons) and export the pooled results to Excel
  • dirifit module to fit a Dirichlet distribution
  • dirlist module to retrieve directory information
  • dirtools modules to manage files in the working directory
  • discrepancy module to implement a pseudo-ANOVA method for partitions of pairwise distance matrices
  • disjoint module to generate end variable demarcating disjoint spells
  • dissim module to calculate dissimilarity index
  • distan module to generate similarity measures
  • distcomp module to compare distributions
  • distinct module to display distinct values of variables
  • distmatch module to perform distance matching based on latitudes and longitudes
  • distplot module to generate distribution function plot
  • distrate module to compute direct standardized rates with improved confidence interval
  • divcat module to calculate five measures of diversity for multiple categories
  • dkdensity module for deconvolution kernel density estimation and construction of its uniform confidence band
  • dlagif Module to Estimate Irving Fisher Arithmetic Distributed Lag Model
  • dldq module to compute treatment effects under alternative Parallel-q assumptions
  • dlist module to list with variable labels
  • dlogit2 modules to compute marginal effects for logit, probit, and mlogit
  • dmariano module to calculate Diebold-Mariano comparison of forecast accuracy
  • dmerge module to merge datasets using a modification of Stata's merge
  • dmexogxt module to test consistency of OLS vs XT-IV estimates
  • dmout module to create difference-in-means tables
  • do2screen module to display do-files in result window
  • docd module to change the working directory before executing a do-file
  • docxtab module to list variables to a Word table with head or foot rows from characteristics
  • doiplot module for visualization of asymmetry and heterogeneity in meta-analysis
  • dolog modules to execute commands from a file with logging
  • dologx modules to execute commands from a file with logging
  • domdiag module to construct dominance diagrams
  • domin module to conduct dominance analysis
  • domme module to conduct dominance analysis with multiple equation models
  • doparser module to look for dta-files used in do-files
  • doptimal module to find the D-optimal Design for Dose Ranging studies
  • doseresponse module to estimate dose-response function through adjustment for the generalized propensity score
  • doseresponse2 module to estimate generalized propensity score
  • dotemplate module to creates templates for do-files
  • dotex module to generate TeX log from do-file
  • doub2flt module to change storage type of real variable
  • doubleb module to compute Contingent Valuation using Double-Bounded Dichotomous Choice
  • doubletofloat module to recast variables from double to float storage type
  • doubmass module to draw double mass plot
  • dpplot module for density probability plots
  • dpredict module to produce dynamic forecasts for ARIMA(p,s,q) models
  • dqd module to compute treatment effects under alternative Parallel-q assumptions
  • drarea module to overlap two range area plots
  • drcate module to estimate and plot conditional average treatment effect functions with uniform confidence bands using a doubly robust method
  • drdecomp module to estimate Shapley value of growth and distribution components of changes in poverty indicators
  • drdid module for the estimation of Doubly Robust Difference-in-Difference models
  • drm module to fit Sobel's Diagonal Reference Model (DRM)
  • drmeta module for dose-response meta-analysis
  • drmmws module to perform doubly-robust marginal mean weighting through stratification
  • ds2 v6 module to describe variables in memory
  • ds3 module to describe variables in memory
  • ds5 module to describe variables in memory
  • dsconcat module to concatenate a list of Stata data files into memory
  • dsearch module to find variables with given variable label
  • dseg module to compute decomposable multigroup segregation indexes
  • dsginideco module to compute decomposition of inequality change into pro-poor growth and mobility components
  • dstat module to compute summary statistics and distribution functions including standard errors and optional covariate balancing
  • dsweight module to generate direct standardization weights
  • dta2ddi module to convert Stata data to DDI standards
  • dta2html module to generate HTML code to display a Stata dataset on the web
  • dta2kml module to output a KML file from selected datapoints in a Stata dataset
  • dta2md module to convert Stata system file to metadata
  • dta2sav module to export in SPSS format
  • dtalink module to implement probabilistic record linkage
  • dtanotes module to add metadata as dataset notes
  • dtapaper module to create an HTML datapaper
  • dtastamp module to store current date and time in dataset characteristics
  • dthaz module to compute discrete-time hazard and survival probability estimates
  • dtobit2 module to estimate a tobit model with marginal effects at observed censoring rate
  • dubois module to provide Du Bois graphic scheme
  • dudahart module to calculate and graph Duda-Hart cluster stopping indices from distance matrix
  • dummies function to create families of dummy variables
  • dummies2 module to create indicator variables from categorical variable and vice versa
  • dummieslab module to convert categorical variable to dummy variables using label names
  • duncan module to calculate dissimilarity index
  • dups module to identify and optionally remove duplicate observations
  • durbinh module to calculate Durbin's h test for serial correlation
  • dyadid module to perform Dyad ID matching
  • dyads module to transform observations into dyads
  • dynardl module to dynamically simulate autoregressive distributed lag (ARDL) models
  • dynpandoc module creating dynamic documents using dynamic tags and pandoc
  • dynsimpie module to examine dynamic compositional dependent variables
  • dynsimple module to examine dynamic compositional dependent variables

E

  • eaalogit module to estimate endogenous attribute attendance models
  • eba module to perform extreme bound analysis
  • ebalance module to perform Entropy reweighting to create balanced samples
  • ebalfit module to perform entropy balancing
  • ebct module to perform entropy reweighting to create balanced samples for continuous treatments
  • ebreg module to compute Robust Empirical Bayes Confidence Intervals
  • ebrowse module to to display variables in the Data Editor, ordered by varlist
  • eclpci module to compute Exact and Approximate Confidence Limits for Poisson Counts
  • eclplot module to generate estimates and confidence limits plots
  • edfreg module to make corrections for statistical inference with robust or clustered covariance matrices
  • edm module to implement empirical dynamic modeling
  • educationdata module to download data from the Urban Institute Education Data Portal
  • eealogit module to estimate endogenous attribute attendance models
  • eefanalytics module for Evaluating Educational Interventions using Randomised Controlled Trial Designs
  • efetch_tools module to retrieve genetic data from NCBI
  • effcon module to calculate confidence limits for effect size estimated from one or two samples from normal distribution
  • effects module to provide a graphical interface for estimation commands
  • efolder module to easily create folders and/or subfolders
  • egen_inequal module providing extensions to generate inequality and poverty measures
  • egenmisc module to provide various egen functions
  • egenmore modules to extend the generate function
  • egfr module to calculate estimated glomerular filtration rate (eGFR)
  • egi module to calculate Ellison and Glaeser's index of geographical concentration
  • egranger module to perform Engle-Granger cointegration tests and 2-step ECM estimation
  • eitc module to compute U.S. Earned Income Tax Credit receipts
  • elabel module to extend the label commands
  • elapse module to calculate elapsed time in procedure
  • elasticregress module to perform elastic net regression, lasso regression, ridge regression
  • electool module containing toolkit to analyze electoral data
  • elife module to model annual increments of life expectancy
  • elixhauser module to calculate Elixhauser index of comorbidity
  • ellip module to graph confidence ellipses (version 8)
  • ellip6 module to plot confidence ellipses (version 6)
  • ellip7 module to plot confidence ellipses (version 7)
  • ellipticity module to compute optimal rank-based multivariate tests of elliptical symmetry and sphericity
  • eltmle module to provide Ensemble Learning Targeted Maximum Likelihood Estimation
  • email module to send emails from Stata via Python
  • emailme module to facilitate sending mail on Windows systems
  • emc module providing prefix command estimating contrasts for effect modifier values
  • emh module to compute extended Mantel-Haenszel statistics
  • encode_label module to encode string variable into categorical variable
  • encodefrom module to rename and encode variables using an external crosswalk
  • encodelabel module to encode string variable into categorical variable
  • encoder module to encode strings into numerics with the option to replace
  • enforce module to force variables to satisfy a set of accounting identities
  • enlarge module to propagate constant values through group
  • entropy module to compute Shannon, Renyi, HCT entropy & Hill numbers
  • entropyetc module for entropy and related measures for categories
  • eofplot module to plot coefficients or loadings after principal component or factor analysis
  • eperiod module to calculate elapsed time between dates
  • epiconf module to assess confounding effects in epidemiological studies
  • epidata module Data entry system for use with Stata, SPSS, SAS, Excel, text formats
  • epimodels module to implement epidemiological models and simulations
  • episens module for basic sensitivity analysis of epidemiological results
  • episensrri module for basic sensitivity analysis for unmeasured confounders
  • epiweek module to create epidemiological week and equivalent epidemiological year
  • epresent module to present non-linear relationships in regression models with log or logit-link
  • epsigr module to save graph in EPSF format in UNIX environment
  • eqprhistogram module for equal probability histogram
  • equation module to Output The Equation of a Regression
  • er module to compute Esteban and Ray measure of polarization
  • erate module to import up-to-date exchange rates for any currency pairs
  • ereplace module to extend egen and egenmore to permit replacing
  • erepost module to repost the estimation results
  • eret2 module to save results in e()
  • ersur module to calculate Elliott, Rothenberg & Stock DF-GLS unit root test statistic along with 1, 5 and 10% finite-sample critical values and associated p-values
  • esetran module to transform estimates and standard errors in parmest resultssets
  • esizereg module for computing the effect size based on a linear regression coefficient
  • esli module to calculate the equation of a straight line
  • est2tex module to create LaTeX tables from estimation results
  • esteta module to estimate long-run effects using historical instruments
  • estout module to make regression tables
  • estout1 module to export estimation results from estimates table
  • estparm module to save results from a parmest resultsset and test equality
  • estquant module to implement Quantile approach by Combes et al.
  • estrat module to perform Endogenous Stratification for Randomized Experiments
  • estsave module to save estimation results with current dataset
  • estudy module to perform an event study
  • estwrite module to store estimation results on disk
  • etime module to time how long a program runs
  • eurostatuse module to import data from Eurostat repository into Stata
  • eurouse module to import data from Eurostat
  • evalue module for conducting sensitivity analyses for unmeasured confounding in observational studies
  • evalue_estat module for conducting postestimation sensitivity analyses of unmeasured confounding in observational studies
  • evalues module to calculate E-values "- event_plot module to plot the staggered-adoption diff-in-diff (""event study"") estimates"
  • eventcoefplot module to produce advanced event-study graphical analysis
  • eventdd module to panel event study models and generate event study plots
  • eventstudy module to perform event studies in finance
  • eventstudy2 module to perform event studies with complex test statistics
  • eventstudyinteract module to implement the interaction weighted estimator for an event study
  • eventstudyweights module to estimate the implied weights on the cohort-specific average treatment effects on the treated (CATTs) (event study specifications)
  • evhistplot module to produce event history plot
  • evi module to compute Epidemic Volatility Index (EVI) for detecting epidemic waves
  • ewma module to calculate exponentially weighted moving average
  • ewreg module to estimate errors-in-variable model with mismeasured regressor
  • exampleobs module to prints example observations
  • examples module to show examples from on-line help files
  • excel2latex module to convert Excel table to LaTeX table
  • excelclean module to clean and integrate excel files
  • excelcol module to convert a column index into a name of an Excel column
  • exceloutput module to output regression results directly to specific cells in excel file
  • excelsave module to provide a convenient way to export matched Stata datasets from a specified input directory (also including, if wanted, additionally recursively matched subsets of files within distinctly matched offspring-directories) to Excel-files
  • expand_n module to expand dataset
  • expandby module to duplicate observations by variable
  • expandihlp module to expand the help file preprocessor directive for substituting repeated material in a given help file
  • expgen module to duplicate observations sorted in original order with generated variables
  • expl module to explore folders and files
  • explist module to generate an exponentially-spaced list of numbers
  • explorelabs module to explore the use of value labels in the dataset
  • expy module to calculate the EXPY-index as proposed by Hausmann et al. (2007)
  • extfunnel module to produce graphical augmentations to the funnel plot to indicate the potential impact of a new study on an existing meta-analysis
  • extreme module to fit models used in univariate extreme value theory
  • extremes module to list extreme values of a variable

F

  • f_able module for the estimation of marginal effects with transformed covariates
  • faam module to score Foot and Ankle Ability Measure
  • fabplot module for plots for each subset with rest of the data as backdrop
  • factext module to extract factor values from a label variable created by parmest
  • factmerg module to merge a list of factors to create string variables
  • factorn module to calculate the factors of an integer
  • factortest module to perform tests for appropriateness of factor analysis
  • factref module to insert new observations with reference values for factors
  • fagan module for Fagan's Bayesian nomoigram
  • fairlie module to generate nonlinear decomposition of binary outcome differentials
  • far5 module to compute floating absolute risk for Cox and conditional logit regression
  • fastcd module to automate changing directories
  • fastgini module to calculate Gini coefficient with jackknife standard errors
  • fastreshape module for efficient implementation of reshape for big datasets
  • fastxtile module to generate a variable of quantile categories
  • favplots module for formatted added-variable plot(s)
  • fbar module to produce bar charts showing frequencies of categorical variables
  • fbep Module to Estimate Financial Break-Even Point Analysis (BEP)
  • fcinstability module to perform forecast comparison and forecast rationality tests
  • fcstats module to compute time series forecast accuracy statistics
  • fdfilter module to implement Corbae-Ouliaris frequency domain filter to time series data
  • fdta module to change contents of string variables
  • fedit module to find and edit text file from within Stata
  • feldti module to compare two independent coefficients of reliability
  • fese module to calculate standard errors for fixed effects
  • fframeappend module to append data frame to currently active data frame
  • fgt_ci module to calculate and decompose Foster–Greer–Thorbecke (and standard) concentration indices
  • fgtest module to Compute Farrar-Glauber Multicollinearity Chi2, F, t Tests
  • fhsae module to fit an area level Fay-Herriot model
  • fieldarea module to compute the area of an irregularly shaped plot from GPS coordinates of its vertices
  • fieller module to calculate confidence intervals of quotients of normal variates
  • filei module to write lines to end or beginning of text files
  • filelist module to recursively search directories for files
  • filesearch module to recursively list files matching to a pattern or regular expression
  • fileutils module for faster file navigation
  • fillmissing module to fill missing values in numeric or string variables
  • filtertrace module to trace filter or contingency questions
  • find module to find matching strings across files in the current directory
  • find_index module to determine the index (observation number) of an observation that satisfies a specified condition
  • finddup module to find non-unique values or observations
  • findname module to list variables matching name patterns or other properties
  • findregex module to find variable names matching a regular expression pattern
  • findsysmis module to find system missing values in a list of variables
  • findunique module to display combinations of unique identifiers in a dataset.
  • findval module to find a specific value
  • firstdigit module to analyse first digits of numeric variables
  • firthfit module to compute model fit for Firth's logit models
  • firthlogit module to calculate bias reduction in logistic regression
  • fiscal_impoverishment module to estimate fiscal impoverishment and fiscal gains to the poor
  • fiskfit module to fit a Fisk distribution by ML to unit record data
  • fitint module to fit generalized linear model and test two-way interactions
  • fitmacro module to evaluate fit of loglinear GLM Poisson models
  • fitstat module to compute fit statistics for single equation regression models
  • fitstat_ers module to compute goodness of fit statistics for Rasch model
  • fixedrho module to estimate treatment and selection models with fixed rho
  • fixsort module to sort variables and align in sorted order, with others fixed
  • flex module for flexible pseudo maximum likelihood estimation of models for doubly-bounded data
  • flexmat module to create flexible matrices / tables of text, numbers or both
  • flexpaneldid module to perform causal analysis of treatments with varying start dates and durations
  • floatplot module to draw Floating or sliding stacked bar plot
  • floattolong module to recast variables from float to long storage type
  • flowchart module to generate subject disposition flow diagram figures in LaTeX using PGF/TikZ to include in manuscripts
  • flower module to draw sunflower plots
  • fmiss module to identify variables with problematic missing values
  • fmlogit module fitting a fractional multinomial logit model by quasi maximum likelihood
  • fmm module to estimate finite mixture models
  • fmmhist module to generate a multi-class histogram after estimating a fmm model
  • fmmic module for postestimation with finite mixture models
  • fmmlc module for postestimation with finite mixture models
  • fndmtch module to find matching values
  • fndmtch2 module to find matching values for one variable in another
  • fodstr modules to handle fractional day calculations
  • for211 modules to document features of for and extend the for command
  • forec_instab module to perform forecast comparison and forecast rationality tests
  • forest module to visualize results from multiple regressions on a single independent variable
  • forfile module to execute command for each matching file
  • fprank module to compute Two-Sample Fligner-Policello Robust Rank Order Test
  • fpref module to add prefix or suffix to filenames
  • fpro module to compute Financial Protection Indicators for Health Expenditures
  • fproper module to get proper case for foreign names in variables
  • fpuhc module to compute Financial Protection Indicators for Universal Health Coverage
  • fqreg module to estimate quantile regression for non-negative data with a mass-point at zero and an upper bound
  • fracdiff module to generate fractionally-differenced timeseries
  • fracdydx module to evaluate derivatives of fractional polynomials
  • fracirf module to compute impulse response function for fractionally-integrated timeseries
  • fraclogit module to estimate fractional logit model
  • fractal module to generate fractals
  • fractileplot module for smoothing with respect to distribution function predictors
  • fragility module to compute the fragility index and quotient
  • frameappend module to append frames
  • framingham module for calculating the Framingham 10-year Cardiovascular Disease Risk Prediction
  • framingham30 module to calculate 30-year risk of cardiovascular disease
  • frapply module to nondestructively apply command(s) to a frame
  • frcount module to estimate fractional response model under the presence of count endogeneity and unobservable heterogeneity
  • fre module to display one-way frequency table
  • freduse module to Import FRED (Federal Reserve Economic Database) data
  • fren module to batch rename files (Windows only)
  • freplace module to batch convert ASCII text or binary patterns in files
  • freqindex module to generate an index of terms from string variable
  • frm module to estimate and test fractional regression models
  • frontier_teci module to generate technical efficiency confidence intervals
  • frontierhtail module to estimate stochastic production frontier models for heavy tail data
  • fs module to show names of files in compact form
  • fsdet module to compute Factor score determinacy coefficient
  • fsreg module for forward search regression
  • fsum module to generate and format summary statistics
  • fsx module to show names of files in compact form (Unix-friendly defaults)
  • ftest module comparing two nested models using an F-test
  • ftocci module to back calculate the conventional confidence intervals from the floated confidence intervals
  • ftools module to provide alternatives to common Stata commands optimized for large datasets
  • ftrans module to batch convert file formats
  • ftree module to save directory information in text file (Windows only)
  • full_palette module to display color palette
  • fulltab module to generate 'full tables' which can be stacked into matrices
  • funnelcompar module to perform funnel plot for institutional comparison
  • funnelperform module to produce funnel plot for institutional comparison
  • fuzzydid module to estimate Fuzzy Difference-in-Difference Designs
  • fvfix module to compute the future value of a series of equal payments (cash flows)
  • fview module to find and view a file
  • fvprevar module to extend fvrevar generating permanent result variables
  • fvregen module to regenerate factor variables in a parmest output dataset
  • fvvar module to compute the future value of a series of payments (cash flows)
  • fxbcr Module to Estimate Benefit-Cost Ratio (BCR)

G

  • g538schemes module to provide graphics schemes for http://fivethirtyeight.com
  • gam module for generalised additive models
  • gamet module to perform game-theoretic calculations
  • gammafit module to fit a two-parameter gamma distribution
  • gammasym module to compute the value of the symmetrical gamma function
  • gausshermite module to estimate integrals using Gauss Hermite quadratures
  • gb2fit module to fit Generalized Beta of the Second Kind distribution by maximum likelihood
  • gb2lfit module to fit Generalized Beta of the Second Kind distribution by maximum likelihood (log parameter metric)
  • gb2reg module to perform Regression with a GB2 Error Term
  • gbgfit module to fit a Generalized Beta (Type 2) distribution to grouped data via ML
  • gby module to subset graphs and calculate in the same output
  • gcause module to perform Granger causality tests
  • gciget module to read Global Competitiveness Index data into Stata
  • gcode module to download Google geocode data
  • gconc module to compute generalized measures of concentration
  • gcrobustvar module to compute a VAR-based Granger-causality Test in the Presence of Instabilities
  • gdecomp module to compute decomposition of outcome differentials after nonlinear models
  • gdsum module to summarize grouped data
  • ge_gravity module to solve a simple general equilibrium one sector Armington-CES trade model
  • geekel2d module to estimate the parameters of unidimensional and bidimensional IRT models
  • geivars module to calculate Generalized Entropy inequality indices
  • gen_tail module to work with indicator observations
  • genass module to perform Genetic Case-control Association tests
  • geneigen module to calculate eigenvalues of a real general matrix
  • genfreq module to produce a frequency distribution for a variable
  • gengroup module to produce groups of individuals
  • genhwcci module to calculate Hardy-Weinberg equilibrium test in case-control studies
  • genicv module to generate interaction between continuous (or dummy) variables
  • genidseq module for generating a numeric sequence to represent long identifiers
  • geninteract module to generate N-way interaction terms
  • genqreg module to perform Generalized Quantile Regression
  • genscore module to generate a score
  • genspec module to implement a General-to-Specific modelling algorithm
  • genstack module to generate Twoway Stacked Charts
  • genstest module to perform generalized S tests for models in the generalized method of moments framework
  • gentrun module to generate truncated normal variate
  • genvars module to generate covariate patterns
  • geo2xy module to convert latitude and longitude to xy using map projections
  • geochart module to create interactive map web pages from Stata data
  • geocircles module to create circles defined by geographic coordinates
  • geocode module to geocode data
  • geocode_ip module to geocode IP addresses
  • geocodehere module to provide geocoding relying on Nokia’s Here Maps API
  • geocodeopen module to geocode addresses using MapQuest Open Geocoding Services and Open Street Maps
  • geodist module to compute geographical distances
  • geodist2 module to calculate straight line distance between two coordinates
  • geoinpoly module to match geographic locations to shapefile polygons
  • geonear module to find nearest neighbors using geodetic distances
  • georoute module to calculate travel distance and travel time between two addresses or two geographical points
  • getcensus module to load American Community Survey data from the U.S. Census Bureau API into Stata
  • getdata module to import SDMX data from several providers
  • getfilename2 program for handling filename specifications
  • getmstatistic module to Quantify Systematic Heterogeneity in Meta-Analysis
  • getmxdata module to import Mexican economic data
  • getprime module to get the prime number closer to the specified number
  • getregstats module for computing all values in a regression table when only the coefficient and one other statistic is available
  • gets module to implement a General-to-Specific modelling algorithm
  • getsymbols module to collect and integrate one or more series from Quandl.com, Google Finance, Yahoo Finance, and Alpha Vantage
  • gevfit module to module to fit a generalized extreme value distribution by maximum likelihood
  • gformula module to implement the g-computation formula for estimating causal effects in the presence of time-varying confounding or mediation
  • ggt module to implement Geweke, Gowrisankaran, and Town Model Quality Estimator
  • ggtax module to identify the most suitable GG family model
  • ggtaxonomy module to identify the most suitable GG family model
  • ghansen module to perform Gregory-Hansen test for cointegration with regime shifts
  • ghazal_guzzler module for ghazal guzzling Stata users
  • ghistcum module to graph histogram and cumulative distribution
  • ghk2 module (enhanced Mata function) to implement the Geweke-Hajivassiliou-Keane multivariate normal simulator
  • ghsurv module for the estimation of survival model using repeated cross-sectional data
  • ghxt module to compute Panel Groupwise Heteroscedasticity Tests
  • ginidesc module to compute Gini index with within- and between-group inequality decomposition
  • giniinc module for measuring inequality from incomplete income and survival data
  • ginireg module for Gini regression
  • gintreg module to perform Generalized Interval Regression
  • gipf module to graphically display a log-linear model
  • git module to manage git repositories
  • gitee module to install and uninstall Stata packages from Gitee website
  • givgauss2 module to estimate generalized two-parameter inverse Gaussian regression
  • glcurve module to derive generalised Lorenz curve ordinates
  • glcurve5 module to derive generalised Lorenz curve ordinates with unit record data (Stata 5 or 6)
  • glcurve7 module to derive generalised Lorenz curve ordinates with unit record data (version 7)
  • glgamma2 module to estimate generalized two-parameter log-gamma regression
  • gllamm program to fit generalised linear latent and mixed models
  • glmcorr module for correlation measure of predictive power for GLMs
  • glmdeco module to compute Detailed Decomposition of Average Outcome Differentials in Generalized Linear Models
  • glst module for trend estimation of summarized dose-response data
  • gmap module to create heatmaps for the web, using java api developped by google
  • gmci module to calculate geometric means and their confidence intervals
  • gmemultinomial module to fit multinomial models using generalized maximum entropy
  • gmlabvpos module providing egen function for label positioning
  • gmmcovearn module to compute GMM estimates of the Covariance Structure of Earnings
  • gnbstrat module to estimate Generalized Negative Binomial with Endogenous Stratification
  • gnpoisson module to estimate generalized Poisson regression
  • goelevation module to compute elevation for latitude and longitude from Google
  • gologit module to estimate generalized ordered logit models
  • gologit2 module to estimate generalized logistic regression models for ordinal dependent variables
  • gologit29 module to estimate generalized logistic regression models for ordinal dependent variables
  • googleplaces module to return search results from Google Places
  • goprobit module to estimate generalized ordered probit models
  • gpfobl module to perform rotation after factor / principal components
  • gphepssj module to translate Stata graph files to .eps as used for The Stata Journal
  • gphudak module to estimate long memory in a timeseries
  • gprefscode module to report on graphics preferences
  • gpreg module to estimate regressions with two dimensional fixed effects
  • gpreset module to reset preferences for a custom graphics scheme to their original values
  • gpscore2 module to estimate the parameters of the conditional distribution of the treatment via GLM
  • grand modules to compute grand mean and dummies for differences
  • grand2 module to compute an estimate of the grand mean/intercept and differences
  • graph3d module to draw colored, scalable, rotatable 3D plots
  • graphbinary module to plot explanatory variables vs binary outcome
  • graphexportpdf module to produce PDF graphics on non-Windows systems
  • graphlog module to convert log files to PDF documents with embedded graphs using LaTeX
  • grby program to draw bar charts for each covariate pattern
  • grcomb module to create and combine several single graphs into one
  • grcompare module to make group comparisons in binary regression models
  • grep module to search within your datasets for keywords
  • grexport module to produce a resultset of graph contents
  • grfreq module to plot proportion of one variable by categories of another
  • gridsearch module to optimize tuning parameter levels with a grid search
  • grlogit module to plot logit of a variable by categories of another variable
  • grnote module to add text and lines to graphs
  • group1d module for grouping or clustering in one dimension
  • group2hdfe module to compute number of restrictions in a linear regression model with two high-dimensional fixed effects
  • group3hdfe module to compute number of restrictions in a linear regression model with three high-dimensional fixed effects
  • group_id module to group identifiers when values for specified variables match
  • group_twoway module to group observations by the connected components of two variables
  • groupcl module to estimate grouped conditional logit models
  • groupdist module to generate within-group minimum and maximum distances
  • groupfunction module to replace several basic collapse functions
  • grouplabs module to create value labels for grouped variables
  • groups module to list group frequencies
  • groupseq module providing functions to determine group sequential trial designs
  • grpdf module to produce PDFs from memory graphs
  • grpvars module to create and manage variable groups
  • grqreg module to graph the coefficients of a quantile regression
  • grsftest module to perform the Gibbons, Ross, Shanken test of mean-variance efficiency of asset returns
  • grstest module to implement the Gibbons et al. (1989) test in a single-factor or multi-factor setting
  • grstest2 module to implement the Gibbons, Ross, Shanken (1989) test
  • grstyle module to customize the overall look of graphs
  • grtext module to insert nonstandard characters in graph text
  • grubbs module to perform Grubbs' test for outliers
  • grvar module to apply a non-constant growth rate to a variable
  • gs2sls module to estimate Generalized Spatial Two Stage Least Squares Cross Sections Regression
  • gs2slsar module to estimate Generalized Spatial Autoregressive Two Stage Least Squares Regression
  • gs2slsarxt module to estimate Generalized Spatial Panel Autoregressive Two Stage Least Squares Cross Sections Regression
  • gs2slsxt module to estimate Generalized Spatial Panel Autoregressive Two-Stage Least Squares Regression
  • gs3sls module to estimate Generalized Spatial Three Stage Least Squares (3SLS)
  • gs3slsar module to estimate Generalized Spatial Autoregressive Three Stage Least Squares (3SLS) Cross Sections Regression
  • gsa module to perform generalized sensitivity analysis
  • gsample module to draw a random sample
  • gsdata module to download high frequency data for a list of stock in ShangHai or ShenZhen markets
  • gsgroup module to create a group variable and optionally an output dataset for a gsort key
  • gsreg module to perform Global Search Regression
  • gsum module to calculate summary statistics for grouped data
  • gtools module to provide a fast implementation of common group commands
  • gumbelfit module to fit a two-parameter Gumbel distribution
  • guttmanl module to produce Guttman lower bound reliability coefficients
  • gvselect module to perform best subsets variable selection
  • gwhet module to perform test for groupwise heteroskedasticity
  • gzipuse module to use and save compressed dta files and compress .dta files
  • gziputil module to provide access to gzipped files
  • gzsave module to save and use datasets compressed by gzip

H

  • hadrilm module to perform Hadri panel unit root test
  • haif module to compute Homoskedastic Adjustment Inflation Factors for model selection
  • haiku module to randomly produce haikus
  • half module to compute homoskedastic adjustment inflation factors for model selection
  • hallt-skewt -skewt module to compute skewness-adjusted bootstrap t-statistics
  • hamiltonfilter module to calculate the Hamilton Filter for a Single Time Series or for a Panel Dataset
  • hammock module to implement Hammock plot, visualizing categorical (and continuous) data
  • hangroot module creating a hanging rootogram comparing an empirical distribution to the best fitting theoretical distribution
  • hansen2 module for Hansen's test for parameter instability
  • hapblock module to perform haplotype analysis to identify the edges of haplotype blocks
  • hapipf module to perform haplotype analysis
  • harmby module to harmonize values of variables within by-groups
  • hausman module to compute a Hausman test statistic (version 5)
  • hazdcmp module to produce multivariate decomposition for piecewise constant hazard rate models
  • hbar module to generate horizontal bar charts
  • hbox module to draw horizontal box plots
  • hcaccprox module to compute a hierchical cluster analysis with conditional measures of proximity
  • hcavar module to perform Hierarchical Clusters Analysis of variables
  • hcnbreg module to estimate Heterogeneous Canonical Negative Binomial Regression
  • hdfe module to partial out variables with respect to a set of fixed effects
  • hdquantile module for Harrell-Davis estimator of quantiles
  • heabs module to calculate the ICER and Net Benefit for up to two datasets
  • head module to print the head observations (first observations in data set)
  • heart module to make coding fun and accessible
  • heatmapgraph module to measure the evolution of risks to financial stability over the financial cycle
  • heatplot module to create heat plots and hexagon plots
  • heckprob2 module to run heckprob and svyheckprob with d2 evaluator
  • heckroc module to plot ROC curves
  • hegy4 module to compute Hylleberg et al seasonal unit root test
  • heterogi module to quantify heterogeneity in a meta-analysis
  • hetop module for estimating heteroskedastic ordered probit models with ordered frequency data
  • hetprob module to estimate heteroskedastic probit model
  • hetred module to implement heterogeneity reducing algorithms
  • hetsar module to estimate spatial autoregressive models with heterogeneous coefficients
  • hettreatreg module to compute diagnostics for linear regression when treatment effects are heterogeneous
  • hful_hlim module for heteroskedasticity-robust version of the Fuller estimator and jackknife version of the limited-information maximum likelihood estimator
  • hgclg module to estimate geometric-complementary log log hurdle regression
  • hglogit module to estimate geometric-logit hurdle regression
  • hhi module to compute Herfindahl index
  • hhi5 module to generate Herfindahl-Hirschman index (HHI) variables
  • hibi module to compute Harms index and benefits index (Hi-Bi) for measuring the impact of zero-cases studies in evidence synthesis practice
  • hildasetup module to create a longitudinal dataset for the Household, Income and Labour Dynamics in Australia (HILDA) Survey
  • himap module to create heatmaps for the web, using java api developed by highcharts
  • himatrix module to highlight selected elements of scatterplot
  • hireg module for hierarchial regression
  • hist3 module to draws histograms for intervals of different size
  • histbox module to generate histogram with boxplot
  • historaj module to produce histogram with descriptive statistics
  • histplot module to produce histogram for frequency distribution
  • hl module to compute Hodges and Lehman (1963) robust measure of location
  • hlist module for horizontally listing values
  • hlm module to invoke and run HLM v6 software from within Stata
  • hlp2html module to translate a list of Stata help files to HTML
  • hlp2pdf module to create PDF or PostScript from Stata help file
  • hlp2winpdf module to convert Stata's help files into pdf in Windows environment
  • hlpdir module to find location(s) of help file
  • hlpedit module to edit help file in do-file editor
  • hmap module to graph a heatmap
  • hnbclg module to estimate negative binomial-complementary log log hurdle regression
  • hnblogit module to estimate negative binomial-logit hurdle regression
  • hnbreg1 module to estimate Heterogeneous linear negative binomial regression (NB-1)
  • hodgesl module to perform Hodges-Lehmann aligned rank test
  • hoi module to compute Human Opportunity Index
  • hoishapely module to perform Shapley Decomposition of the Human Opportunity Index
  • hoishapley module to perform Shapley Decomposition of the Human Opportunity Index
  • holsti module to compute Holsti intercoder reliability coefficients
  • hotdeck module to impute missing values using the hotdeck method
  • hotdeckvar module for hotdeck imputation
  • hotvalue module to generate scales with missing values conditionally imputed
  • how_many_imputations module to determine required number of imputations
  • hpc module to perform specification test to discriminate between models for non-negative data with many zeros
  • hpclg module to estimate Poisson-complementary log log hurdle regression
  • hpfilter module to compute one-sided Hodrick-Prescott filter
  • hplogit module to estimate Poisson-logit hurdle regression
  • hplot module to generate horizontal plots
  • hprescott module to implement Hodrick-Prescott filter for timeseries data
  • hrimvol module providing simple option implied volatility calculator
  • hshaz module to estimate discrete time (grouped data) proportional hazards models
  • hsmode module to calculate half-sample modes
  • hte module to perform heterogeneous treatment effect analysis
  • htmlcb module to write a codebook as an html file
  • htmltab2stata module to load html tables into Stata
  • htmltit module to generate a document title variable for a HTML filename variable
  • htmlutil module to provide utilities for writing Hypertext Markup Language (HTML) files
  • hue module to produce graphical display of named Stata colors
  • hummels module to compute intensive and extensive trade margins
  • hutchens module to calculate the Hutchens `square root' segregation index with optional decompositions by subgroup

I

  • iati module to import International Aid Transparency Initiative data
  • ic module to compute measures of interaction contrast (biological interaction)
  • icalc module to compute Interaction Effects in Linear and Generalized Linear Models
  • icc23 module that computes models 2 and 3 of the intra-class correlation
  • iccconf module to compute a confidence interval for an intraclass correlation (ICC)
  • iccvar module to calculate intraclass correlation (ICC) after xtmixed
  • icdpic module to provide methods for translating International Classification of Diseases (Ninth Revision) diagnosis codes into standard injury categories and/or scores
  • ice module for multiple imputation of missing values
  • icet module to perform multiple imputation of covariates
  • icio module for Economic Analysis with Inter-Country Input-Output tables
  • icomp module to calculate model selection information criteria
  • icw_index module to aggregate the variables included in the varlist into an index
  • idonepsu module for dealing with strata that have singleton PSUs
  • ie_rate module to conduct age, period, and cohort (APC) analysis of tabular rate data using the intrinsic estimator
  • iefieldkit module providing Stata commands for primary data collection and cleaning
  • ietoolkit module providing commands specially developed for Impact Evaluations
  • ifin module to generate a local containing an if statement to select multiple values
  • ifwins module to subset a dataset by 'if exp' before subsetting by 'in range'
  • igeintb module to estimate intergenerational income elasticities (IGEs) with multiple sets of instruments
  • igencox module to fit generalized Cox models
  • igenerate module to apply a variety of coding schemes, including weighted effect coded interactions
  • igeset module to estimate intergenerational income elasticities (IGEs) with a single set of instruments
  • igesetci module to compute confidence intervals for partially identified intergenerational income elasticities (IGEs)
  • igini module to perform Gini index decomposition by individual and group
  • igini1 module to perform Gini index decomposition by individual and group
  • ihelp module to display the help documents in PDF format using the default browser
  • ihstrans module for generating inverse hyperbolic sine (IHS) transformed variables
  • iia module to test the iia assumption in conditional logistic regression (version 5)
  • imbalance module to check covariate imbalance before and after matching "- imperfectiv module to estimate bounds with ""Imperfect Instrumental Variables"" (Nevo and Rosen, 2012)"
  • importsav module to convert SPSS file to Stata
  • imputeitems module to impute missing data of binary items
  • imputemok module to impute binary data by a Mokken scale
  • imputerasch module to impute binary data by a Rasch model
  • imusic module to find music and enjoy while working on Stata
  • imvol module to compute Implied Volatility in Black-Scholes European Option Pricing Model
  • inccat module to concatenate one or more input files to an output file inserting additional input files
  • inclusion_economics_scheme module to provide a graphic scheme for Inclusion Economics branded data
  • indeplist module to returns lists of independent variables from the active estimation command
  • index Module to Estimate Price, Quantity, and Value Index Numbers
  • indexplot module for index plots of estimation results
  • ineq module to calculate measures of inequality
  • ineqdec0 module to calculate inequality indices with decomposition by subgroup
  • ineqdecgini module to estimate Gini coefficient with optional decomposition by subgroups
  • ineqdeco module to calculate inequality indices with decomposition by subgroup
  • ineqfac module to calculate inequality decomposition by factor components
  • ineqord module to calculate indices of inequality and polarization for ordinal data
  • ineqrbd module to calculate regression-based inequality decomposition
  • inequal2 module to compute measures of inequality
  • inequal7 module to compute measures of inequality
  • inflate module to inflate variables to real dollars using the CPI-U series
  • ingap module to insert gap observations into a data set before output by listtex
  • inlist2 module to create an inlist() dummy, without the inlist() limitations
  • inorm module to perform multiple imputation using Schafer's method
  • insheetjson module for importing tabular data from JSON sources on the internet
  • inshell module to send commands to the shell as well as capture and print their standard output, standard error, and native shell return codes
  • insingap module to insert a single gap observation at the top of each by-group
  • insob module to insert empty observations
  • instabilitycerdi module for Calculating the Instability or the Volatility of a Variable by the CERDI Method in some Time Window
  • installpkg module to install Stata packages by specifying zipfile/pkgfile or local directory
  • int_utils module to perform interval computations in Mata
  • intcens module to perform interval-censored survival analysis
  • inteff3 module to compute partial effects in a probit or logit model with a triple dummy variable interaction term
  • integrate module to perform one-dimensional integration
  • integrate_aq module to do adaptive quadrature for integrals
  • interactplot module to generate plots for interaction terms of multiplicative regressions
  • interflex module to estimate multiplicative interaction models with diagnostics and visualization
  • intext module to read text files into string variables
  • intgph module to interpret interaction effects and present graphically
  • intreg2 module to perform interval regression with multiplicative heteroskedasticity
  • intsolver module providing functions and tools for finding solutions to nonlinear equation systems in Mata
  • intterms module to enumerate all indicators for all intersections of two categorical variables
  • invcdf module to invert the cumulative distribution function
  • invcise module to compute standard errors using the inverse confidence interval method
  • invdesc module to change variable attributes using a describe or descsave resultsset
  • invgammafit module to fit a two-parameter inverse gamma distribution
  • invgaussfit module to fit a two-parameter inverse Gaussian distribution
  • iop module to to compute different measures of inequality of opportunity for dichotomous, ordered and continuous outcome variables
  • iot module to estimate Leontief Input-Output Table
  • ipabcstats module to compare survey and back check data, producing an Excel output of comparisons and error rates
  • ipdfc module to reconstruct individual participant data from a published Kaplan-Meier curve
  • ipdforest module to produce forest plot for individual patient data IPD meta-analysis (one stage)
  • ipdmetan module for performing two-stage IPD meta-analysis
  • ipdpower module to perform simulation based power calculations for mixed effects modelling
  • ipf module to perform log-linear modelling using Iterative Proportional Fitting
  • ipfraking module to perform iterative proportional fitting, aka raking
  • ipfweight module to create adjustment weights for surveys
  • ipshin module to perform Im-Pesaran-Shin panel unit root test
  • ipwbreg module to compute inverse propensity weights from Bernoulli regression
  • iquantile module to calculate interpolated quantiles
  • ira module to calculate rwg and related interrater agreement indices
  • irax module to perform isotonic regression analysis
  • irr module to calculate the (periodic) internal rate of return for a series of periodic cash flows.
  • irrepro module to produce a simulation of irreproducible results
  • irscharities module to import and format IRS Exempt Organization Business Master File Data
  • isa module to perform Imbens' (2003) sensitivity analysis
  • isco module to recode 4 digit ISCO-68 occupational codes
  • iscogen module to translate ISCO codes
  • iscoil module to recode Israeli CBS occupation standard classification into ISCO-08 occupational classification
  • iscooesch module to recode ISCO codes into Oesch class scheme
  • isko module to recode 4 digit ISCO-88 occupational codes
  • isograph module to compute inequality over logit ranks of social hierarchy
  • isopoverty module to generate data for Inequality-Poverty and Iso-Poverty curves
  • istdize module to generate indirectly standardized rates using a standard population
  • isvar module to filter names into variable names and others
  • itpscore module to implement Iterative Propensity Score Logistic Regression Model Search Procedure
  • itsa module to perform interrupted time series analysis for single and multiple groups
  • itsamatch module to perform matching in multiple group interrupted time-series analysis
  • itsaperm module to perform permutation tests for matched multiple group interrupted time series analysis
  • itsarand module for conducting randomization tests for single-case and multiple-baseline AB phase designs
  • itsp_ado module to accompany Introduction to Stata Programming book
  • itspower module for simulation based power calculations for linear interrupted time series (ITS) designs
  • itvalpctile module for estimation of interval-valued percentiles (quantiles) for interval-valued data
  • ivactest module to perform Cumby-Huizinga test for autocorrelation after IV/OLS estimation
  • ivbounds module providing instrumental variable method to bound treatment-effects estimates with potentially misreported and endogenous program participation
  • ivcheck module to choose between OLS and contaminated IV
  • ivcrc module to implement the instrumental variables correlated random coefficients estimator
  • ivdesc module to profile compliers and non-compliers for instrumental variable analysis
  • ivendog module to calculate Durbin-Wu-Hausman endogeneity test after ivreg
  • ivgauss2 module to estimate two-parameter log-inverse Gaussian regression
  • ivglog module to estimate inverse Gaussian distribution-log link MLE model
  • ivgmm0 module to perform instrumental variables via GMM
  • ivgravity module containing method-of-moment IV estimators of exponential-regression models with two-way fixed effects from a cross-section of data on dyadic interactions and endogenous covariates
  • ivhettest module to perform Pagan-Hall and related heteroskedasticity tests after IV
  • ivolsdec module to produce decomposition of the IV-OLS coefficient gap
  • ivpermute module to estimate nearly collinear robust instrumental variables regression
  • ivpois module to estimate an instrumental variables Poisson regression via GMM
  • ivprob-ivtobit -ivtobit modules to estimate instrumental variables probit and tobit
  • ivprob-ivtobit6 -ivtobit6 modules to estimate instrumental variables probit and tobit
  • ivqreg2 module to provide structural quantile function estimation
  • ivreg2 module for extended instrumental variables/2SLS and GMM estimation
  • ivreg210 module for extended instrumental variables/2SLS and GMM estimation (v10)
  • ivreg28 module for extended instrumental variables/2SLS and GMM estimation (v8)
  • ivreg29 module for extended instrumental variables/2SLS and GMM estimation (v9)
  • ivreg2h module to perform instrumental variables estimation using heteroskedasticity-based instruments
  • ivreg2hdfe module to estimate an Instrumental Variable Linear Regression Model with two High Dimensional Fixed Effects
  • ivreg_ss module to compute confidence intervals, standard errors, and p-values in an IV regression in which the excluded instrumental variable has a shift-share structure
  • ivreghdfe module for extended instrumental variable regressions with multiple levels of fixed effects
  • ivregress2 module to export first and second-stage results similar to ivregress
  • ivreset module to perform Ramsey/Pesaran-Taylor/Pagan-Hall RESET specification test after IV/GMM/OLS estimation
  • ivrobust module to perform weak instrument test for a single endogenous regressor in TSLS and LIML
  • ivtreatreg module to estimate binary treatment models with idiosyncratic average effect
  • ivvif module to report variance inflation factors after IV

J

  • jarowinkler module to calculate the Jaro-Winkler distance between strings
  • jb module to perform Jarque-Bera test for normality on series
  • jb6 modules to perform Jarque-Bera test for normality
  • jc module to dynamically load and call Java plugins
  • jformat module to justify formats for a list of variables
  • jmpierce module to perform Juhn-Murphy-Pierce decomposition
  • jmpierce2 module to compute trend decomposition of outcome differentials
  • jnsn module to fit Johnson distributions
  • johans module to perform Johansen-Juselius ML estimates of cointegration
  • joinvars module to join values of variables
  • jonter module to perform Jonckheere-Terpstra test
  • joy_plot module to produce joy plots
  • joyplot module to produce joyplots or ridgeline plots
  • jrule module to detect model misspecifications in SEM
  • jsonio module for I/O operations on JSON data

K

  • kalpha module to compute Krippendorff's Alpha-Reliability
  • kanom module to estimate Krippendorff's alpha for nominal variables
  • kapgof module to compute confidence intervals for the kappa statistic
  • kaplansky module to graph examples of distributions of varying kurtosis
  • kappa2 module to produce Generalizations of weighted kappa for incomplete designs
  • kappaetc module to evaluate interrater agreement
  • kapprevi module to plot the dependence of kappa statistic on true prevalence
  • kaputil module to generate confidence intervals and sample size calculations for the kappa-statistic
  • katego module to split a continuous numerical variable in custom categories
  • kdbox module to generate kernel density plot with boxplot
  • kdens module for univariate kernel density estimation
  • kdens2 module to estimate bivariate kernel density
  • kdmany module to perform kernel density estimation for several variables
  • keeporder module to keep and order a set of variables
  • keepvar module to keep a list of variables in the order of their appearance in the list
  • kernel module to compute various kernels
  • kernreg1 module to compute kernel regression (Nadaraya-Watson estimator)
  • kernreg2 module to compute kernel regression (Nadaraya-Watson estimator)
  • keyby module to key the dataset by a variable list
  • keyplot module to generate scatter plot with keys in user-chosen positions
  • kfoldclass module for generating classification statistics of k-fold cross-validation for binary outcomes
  • khb module to decompose total effects into direct and indirect via KHB-method
  • kinkyreg module to perform kinky least squares estimation and inference
  • kit_livingincome module providing Tables and Bar charts of the Gap to the Living Income Benchmark
  • kitchensink module to return the model with the highest number of statistically significant predictors
  • kmatch module module for multivariate-distance and propensity-score matching, including entropy balancing, inverse probability weighting, (coarsened) exact matching, and regression adjustment
  • kmest module to compute Kaplan-Meier survival probabilities as estimation results
  • knapsack module to solve the knapsack problem
  • kobo2stata module to create labelled Stata datasets from KoboToolbox
  • konfound module to quantify robustness of causal inferences
  • kotlarski module to execute deconvolution kernel density estimation and produce a robust construction of its uniform confidence band
  • kountry module to standardize country names across various datasets
  • kpss module to compute Kwiatkowski-Phillips-Schmidt-Shin test for stationarity
  • kr20 module to calculate Kuder-Richardson coefficient of reliability
  • krippalpha module to compute Krippendorff's alpha intercoder reliability coefficient
  • krls module to perform Kernel–Based Regularized Least Squares
  • ksi module to compute Krugman specialization index
  • kssur module to calculate Kapetanios, Shin & Snell unit root test statistic along with critical values and p-values
  • ksur module to calculate Kapetanios & Shin unit root test statistic along with finite-sample critical values and p-values
  • kwallis2 module to perform Kruskal-Wallis Test for equality of populations
  • kwstat module to compute kernel weighted sample statistics
  • ky_fit module to fit mixture models of the Kapteyn-Ypma type to linked survey and administrative data

L

  • labcenswdi module to automatically manage datasets obtained from US Census 2000 and World Development Indicators databases
  • labeldatasyntax module to produce syntax to label variables and values, given a data dictionary
  • labellacking module to report numeric variables with values lacking value labels
  • labellist module to list value labels
  • labelmiss module to label missing data
  • labelsof module to obtain a list of labeled values
  • labelutil programs to create multiple value labels
  • labgen module to generate or replace variables with definitions in variable labels
  • lablist module to list value labels (if present) for one or more variables
  • labmatch module to find observations by label values
  • labmm module to modify multiple value labels simultaneously
  • labmv module to change numeric values to extended missing values preserving value labels
  • labone module to label variables after import excel
  • labrec module to recode variables according to value label
  • labsort module to recode a grouping variable according to a group statistic and reorder its value labels
  • labsumm module to generate summary table with variable labels
  • labundef module to list undefined value labels attached to variables in the current dataset
  • labup module to module to order/move variables based on label contents
  • labutil modules for managing value and variable labels
  • labutil2 module to manage value and variable labels
  • labvalch3 module to change value labels
  • labvalcl module to clear value labels of null strings
  • labvalpool module to change value labels
  • labvars module to attach a list of labels to varlist
  • lambda module for Goodman and Kruskal's lambda measures for two-way tables
  • landemets module to compute boundaries for group sequential clinical trials using alpha spending functions
  • laplacereg module to perform Laplace regression for censored data
  • lars module to perform least angle regression
  • lasagna module to produce lasagna plots
  • lassopack module for lasso, square-root lasso, elastic net, ridge, adaptive lasso estimation and cross-validation
  • lastupto module to collapse a dataset to have 1 observation for each of a list of X-values
  • latab module to generate LaTeX output from tabulate
  • lbpower module to calculate approximate power (or sample size) for longitudinal studies with binary response and two equally sized treatment groups
  • lbsvmat module to create labeled variables from a matrix
  • lclogit module to fit latent class conditional logit models via EM algorithm
  • lclogit2 module to estimate latent class conditional logit models
  • lcmc module to estimate latent class missing covariate model for continous main response, ordinal covariate with missing values, and informative selection
  • ldecomp module decomposing the total effects in a logistic regression into direct and indirect effects
  • ldtest module to compute Lorenz Dominance tests
  • leanout module to produce lean output formatting for estimation results
  • leebounds module for estimating Lee (2009) treatment effect bounds
  • leedtwoway module to solve two way labor models
  • leftalign module to left-align (or right-align) variables
  • levels module to report distinct levels of integer or string variable
  • levene module to test for equal population variances
  • levinlin module to perform Levin-Lin-Chu panel unit root test
  • levpredict module to compute log-linear level predictions reducing retransformation bias
  • lfk module to compute LFK index and Doi plot for detection of publication bias in meta-analysis
  • lfsum modules to describe variables located by name fragments
  • lgamma2 module to estimate two-parameter log-gamma regression
  • lgraph module to draw line graphs with optional error bars
  • lianxh module to Search and share Stata resources and blogs within Stata Command Window
  • libd3 module providing D3js Mata library
  • libhtml module providing an object oriented implementation of HTML in Mata
  • libjson module to provide Mata class library for obtaining and parsing JSON strings into object trees
  • lincheck module to graphically assess the linearity of a continuous covariate in a regression model
  • lincom2 module to compute multiple linear combinations
  • lincomest module to generate linear combinations of estimators saved as estimation results
  • linequate module to calculate linear equating constants using the Tucker and Levine Methods
  • linkplot module for linked (connected) scatter plots
  • lintrend module to graph observed proportions or means for a continuous or ordinal X variable
  • linuxlsd1 module to create a dataset of file records from the output of a Linux ls -d1 command
  • linuxlsdl module to create a dataset of file records from the output of a Linux ls -d1 command
  • lisrelinput module to generate input for pasting into LISREL
  • listmiss module to analyse missing values related to an estimation command
  • listsome module to list a (possibly random) sample of observations
  • listtab module to list variables as rows of a TeX, HTML or word processor table
  • listtex module to list variables as rows of a TeX, HTML or word processor table
  • listutil modules to manipulate lists of words
  • ljs module to left-justify string variables for printing
  • lmabg Module to compute OLS Autocorrelation Breusch-Godfrey Test at Higher Order AR(p)
  • lmabg2 Module to Compute 2SLS-IV Autocorrelation Breusch-Godfrey Test at Higher Order AR(p)
  • lmabgnl module to compute NLS Autocorrelation Breusch-Godfrey Test at Higher Order AR(p)
  • lmabgxt module to compute Panel Data Autocorrelation Breusch-Godfrey Test
  • lmabp module to compute Box-Pierce Autocorrelation LM Test at Higher Order AR(p)
  • lmabp2 module to compute 2SLS-IV Box-Pierce Autocorrelation LM Test at Higher Order AR(p)
  • lmabpg module to compute OLS Autocorrelation Breusch-Pagan-Godfrey Test at Higher Order AR(p)
  • lmabpg2 Module to Compute 2SLS-IV Autocorrelation Breusch-Pagan-Godfrey Test at Higher Order AR(p)
  • lmabpgnl Module to Compute NLS Autocorrelation Breusch-Pagan-Godfrey Test at Higher Order AR(p)
  • lmabpgxt module to compute Panel Data Autocorrelation Breusch-Pagan-Godfrey Test
  • lmabpnl module to compute NLS Autocorrelation Box-Pierce Test at Higher Order AR(p)
  • lmabpxt module to compute Panel Data Autocorrelation Box-Pierce Test
  • lmabxt module to compute Panel Autocorrelation Baltagi Test
  • lmadurh module to compute Durbin h, Harvey LM, Wald LM Autocorrelation Tests
  • lmadurh2 module to compute 2SLS-IV Autocorrelation Dynamic Durbin h, Harvey LM, and Wald Tests
  • lmadurhxt module to Compute Panel Data Autocorrelation Dynamic Durbin h and Harvey LM Tests
  • lmadurm module to compute OLS Autocorrelation Dynamic Durbin m Test at Higher Order AR(p)
  • lmadurm2 module to compute 2SLS-IV Autocorrelation Dynamic Durbin m Test at Higher Order AR(p)
  • lmadurmnl module to compute NLS Autocorrelation Dynamic Durbin m Test at Higher Order AR(p)
  • lmadurmxt module to compute Panel Data Autocorrelation Dynamic Durbin m Test
  • lmadw module to compute Durbin-Watson Autocorrelation Test
  • lmadw2 module to compute 2SLS-IV Autocorrelation Durbin-Watson Test at Higher Order AR(p)
  • lmadwnl module to compute NLS Autocorrelation Durbin-Watson Test at Higher Order AR(p)
  • lmadwxt module to compute Panel Data Autocorrelation Durbin-Watson Test
  • lmalb module to compute Ljung-Box Autocorrelation LM Test at Higher Order AR(p)
  • lmalb2 module to compute 2SLS-IV Autocorrelation Ljung-Box Test at Higher Order AR(p)
  • lmalbnl module to compute NLS Autocorrelation Ljung-Box Test at Higher Order AR(p)
  • lmanlsur module to perform Overall System NL-SUR Autocorrelation Tests
  • lmareg3 module to compute Overall System Autocorrelation Tests after 3SLS and SURE
  • lmasem module to perform Overall System Structural Equation Modeling (SEM) Autocorrelation Tests
  • lmavon module to compute Von Neumann Ratio Autocorrelation Test at Higher Order AR(p)
  • lmavon2 Module to Compute 2SLS-IV Autocorrelation Von Neumann Ratio Test at Higher Order AR(p)
  • lmavonnl module to compute NLS Autocorrelation Von Neumann Ratio Test at Higher Order AR(p)
  • lmavonxt module to compute Panel Data Autocorrelation Von Neumann Ratio Test
  • lmawxt Module to Compute Panel Data Autocorrelation Wooldridge Test
  • lmaz module to compute OLS Autocorrelation Z Test at Higher Order AR(p)
  • lmaznl Module to Compute NLS Autocorrelation Z Test at Higher Order AR(p)
  • lmcol module to compute OLS Multicollinearity Diagnostic Tests
  • lmcovnlsur module to perform Breusch-Pagan Lagrange Multiplier Diagonal Covariance Matrix Test after (NL-SUR) Regressions
  • lmcovreg3 module to Compute Breusch-Pagan Lagrange Multiplier Diagonal Covariance Matrix Test after (3SLS-SURE) Regressions
  • lmcovsem module to perform Overall System Structural Equation Modeling (SEM) Breusch-Pagan Lagrange Multiplier Diagonal Covariance Matrix Test
  • lmcovvar module to compute (VAR) Breusch-Pagan Diagonal Covariance Matrix Test
  • lmcovxt module to Compute Breusch-Pagan Lagrange Multiplier Diagonal Covariance Matrix Test for Panel Data
  • lmdi module to compute Logarithmic Mean Divisia Index (LMDI) Decomposition
  • lmeg module to compute Augmented Engle-Granger Cointegration Test at Higher Order AR(p)
  • lmfreg module to Compute OLS Linear vs Log-Linear Functional Form Tests
  • lmfreg2 module to compute 2SLS-IV Linear vs Log-Linear Functional Form Tests
  • lmgc module to compute Granger Causality Test at Higher Order AR(p)
  • lmharch module to compute OLS Heteroscedasticity Engle (ARCH) Test
  • lmharch2 Module to Compute 2SLS-IV Heteroscedasticity Engle (ARCH) Test
  • lmharchnl Module to Compute NLS Heteroscedasticity Engle (ARCH) Test
  • lmharchxt Module to Compute Panel Data Heteroscedasticity Engle (ARCH) Test
  • lmhcw Module to Compute OLS Heteroscedasticity Cook-Weisberg Test
  • lmhcw2 Module to Compute 2SLS-IV Heteroscedasticity Cook-Weisberg Test
  • lmhcwnl module to compute NLS Heteroscedasticity Cook-Weisberg Test
  • lmhcwxt Module to Compute Panel Data Heteroscedasticity Cook-Weisberg Test
  • lmhgl module to Compute Glejser Lagrange Multiplier Heteroscedasticity Test for Residuals after OLS Regression
  • lmhgl2 Module to Compute 2SLS-IV Heteroscedasticity Glejser Test
  • lmhglnl module to compute NLS Heteroscedasticity Glejser Test
  • lmhharv module to Compute Harvey Lagrange Multiplier Heteroscedasticity Test for Residuals after OLS Regression
  • lmhharv2 Module to Compute 2SLS-IV Heteroscedasticity Harvey Test
  • lmhhp Module to Compute OLS Heteroscedasticity Hall-Pagan Test
  • lmhhp2 Module to Compute 2SLS-IV Heteroscedasticity Hall-Pagan Test
  • lmhhpnl module to compute NLS Heteroscedasticity Hall-Pagan Test
  • lmhhpxt module to compute Panel Data Heteroscedasticity Hall-Pagan Test
  • lmhlmxt module to Compute Breusch-Pagan Lagrange Multiplier Panel Heteroscedasticity Test
  • lmhlrxt module to Compute Greene Likelihood Ratio Panel Heteroscedasticity Test
  • lmhmss2 Module to Compute 2SLS-IV Heteroscedasticity Machado-Santos-Silva Test
  • lmhnlsur module to perform Overall System NL-SUR Heteroscedasticity Tests
  • lmhreg3 module to compute Overall System Heteroscedasticity Tests after (3SLS-SURE) Regressions
  • lmhsem module to perform Overall System Structural Equation Modeling (SEM) Heteroscedasticity Tests
  • lmhwald module to compute OLS Heteroscedasticity Wald Test
  • lmhwaldxt module to compute Panel Data Heteroscedasticity Wald Test
  • lmnad Module to Compute OLS Non Normality Anderson-Darling Test
  • lmnad2 Module to Compute 2SLS-IV Non Normality Anderson-Darling Test
  • lmnadnl Module to Compute NLS Non Normality Anderson-Darling Test
  • lmnadxt module to compute Panel Data Non Normality Anderson-Darling Test
  • lmndh Module to Compute OLS Non Normality Doornik-Hansen Test
  • lmndp module to Compute OLS Non Normality D'Agostino-Pearson Test
  • lmndp2 module to compute 2SLS-IV Non Normality D'Agostino-Pearson Test
  • lmngr module to compute Jarque-Bera Non Normality Lagrange Multiplier Runs Test for Residuals after OLS Regression
  • lmngry module to compute Geary Non Normality Lagrange Multiplier Runs Test
  • lmngry2 Module to Compute 2SLS-IV Non Normality Geary Runs Test
  • lmngryxt module to compute Panel Data Non Normality Geary Runs Test
  • lmnjb module to compute Lagrange Multiplier LM Jarque-Bera Normality Test
  • lmnjbnl module to compute NLS Non Normality Jarque-Bera Test
  • lmnjbxt Module to Compute Panel Data Non Normality Jarque-Bera Test
  • lmnnlsur module to perform Overall System NL-SUR Non-Normality Tests
  • lmnreg3 module to compute Overall System Non Normality Tests after (3SLS-SURE) Regressions
  • lmnsem module to perform Overall System Structural Equation Modeling (SEM) Non Normality Tests
  • lmnwhite module to Compute White Non Normality Lagrange Multiplier Test after OLS Regression
  • lmnwhite2 Module to Compute 2SLS-IV White IM Non Normality Test
  • lmnwhitenl module to compute NLS Non Normality White Test
  • lmnwhitext module to compute Panel Data Non Normality White Test
  • lmoments module to generate L-moments and derived statistics
  • lms module to perform least median squares regression fit
  • lmsrd module to compute Spurious Regression Diagnostic after OLS Regression
  • lmtest module to perform Lagrange multiplier test after constrained maximum likelihood estimation
  • loasampsi module to compute power and sample size for limits of agreement (LOA) analysis
  • localp module for kernel-weighted local polynomial smoothing
  • locpr module for semi-parametric estimation
  • loevh module to compute Guttman errors and Loevinger H coefficients
  • log2do2 module to convert log file to do file
  • log2html module to produce HTML log files
  • log2markup module to transform a Stata text log into a markup document
  • logitcprplot module to graph component-plus-residual plot for logistic regression
  • logitfe module to compute analytical and jackknife bias corrections for fixed effects estimators of panel logit models with individual and time effects
  • logithetm module to estimate Logit Multiplicative Heteroscedasticity Regression
  • logittorisk module for conversion of logistic regression output to differences and ratios of risk
  • lognfit module to fit lognormal distribution by maximum likelihood
  • logout module to convert log or ASCII files into various output formats
  • logpred module to calculate logistic regression probabilities
  • logtest module to test significance of a predictor in logistic models
  • lomackinlay module to perform Lo-MacKinlay variance ratio test
  • lomodrs module to perform Lo R/S test for long range dependence in timeseries
  • longch module to identify how many records satisfy a condition
  • longplot module to produce exploratory plot for longitudinal data
  • longshape module to reshape long (limited alternative version)
  • looclass module for generating classification statistics of Leave-One-Out cross-validation for binary outcomes
  • loocv module to perform Leave-One-Out Cross-Validation
  • lookfor2 module to search for string in variable names, variable labels, value labels, and notes
  • lookfor_all module to search for variables/patterns in .dta files
  • lookfor_val module to search the current dataset for values that match a specified pattern
  • lookforit module to search variable names and labels for some string or strings
  • loopplot modules to generate scatter plots with loops
  • lorenz module to estimate and display Lorenz curves and concentration curves
  • louvain module to find communities in weighted graph
  • lowyseattle module for managing settings and recompiling
  • lowyseattlea module for tables, statistics, data management, output
  • lowyseattleb module for creating, transforming, labeling, variables
  • lppinv module to solve an under-, over- and identified linear problem without an objective function with the Moore-Penrose pseudoinverse and singular value decomposition (SVD)
  • lprplot module to produce logistic regression partial residual plots
  • lrchg module to calculate change in coefficients between logistic models
  • lrdrop1 module to calculate likelihood-ratio test after dropping one term
  • lrmatx module to make logistic regression estimates available
  • lrplot module to plot coefficients from a logistic regression
  • lrseq module to calculate sequential likelihood-ratio test after model estimation
  • lrutil modules providing utilities for logistic regression
  • lsacsetup module to create a longitudinal dataset for Growing Up in Australia: The Longitudinal Study of Australian Children (LSAC)
  • lstack module to stack variables with labelled _stack
  • lstrfun module to modify long local macros
  • ltable2 module to generate life tables for rare events
  • ltimbimata module containing six general-purpose Mata functions
  • luvain module to find communities in weighted graph
  • lvalues module for letter value calculation
  • lvr2plot2 module to produce leverage versus squared residual plot with Cook's D
  • lxhuse module to access Stata datasets of lianxh.cn blogs
  • lxpct_2 module to calculate multistate life expectancies

M

  • m_stats module to implement interpoint distance distribution analysis
  • mac_unab module to unabbreviate Global Macro Lists
  • macrof module to compute the macroF evaluation criterion for multi-class outcomes
  • madfuller module to perform Dickey-Fuller test on panel data
  • madot module to create dot plot for summarizing pooled estimates of multiple outcomes from meta-analysis
  • mads module to calculate Median Absolute Deviations
  • mahapick module to select matching observations based on a Mahalanobis distance measure
  • mail module to send progress reports (Mac OSX/Linux/Unix)
  • majority module for majority calculations for real or hypothetical elections
  • makeddi module to improve the quality and efficiency of meta-data documentation production
  • makehlp module to automatically create a help file
  • makeid module to create a unique ID for every observation in the dataset.
  • makematrix module to make a matrix of results from other commands
  • maketex module to generate LaTeX code from a text file
  • malmq2 module to compute Malmquist Productivity Index
  • manski_ci module to use Manski type bounds (Manski 2003) to calculate confidence intervals around a treatment variable's regression coefficient in a (covariate-adjusted) regression
  • map module to map string variables using an external dictionary file
  • mapch module map chains of events
  • maptile module to map a variable
  • margdistfit module to check the distributional assumptions underlying a parametric regression model
  • margeff module to compute average marginal effects for categorical and limited dependent variable models
  • margfx module to compute mean marginal effects with nonlinear models
  • margin module to compute average marginal effects for categorical and limited dependent variable models
  • marginscontplot2 module to graph margins for continuous predictors
  • margintegrate module to estimate non-parametric smooth functions for generalized additive models
  • marglmean module to compute marginal log means from regression models
  • margprev module to compute marginal prevalences from binary regression models
  • marhis module to produce predictive margins and marginal effects plots with histogram after regress, logit, xtmixed and mixed
  • mark_changes module to generate a variable indicating where one or more variables changes value
  • markdoc module for literate programming
  • marker module to generate indicator variable marking desired sample
  • markov module to generate Markov probabilities
  • markstat module to support literate data analysis using Stata and Markdown
  • marktouse module to mark the observations to be used
  • markupest module for markup estimation via Micro and Macro approaches
  • mat2txt module to write matrix to ASCII file
  • matamatrix module to enable using Mata functions on Stata matrices
  • matchit module to match two datasets based on similar text patterns
  • matin4-matout4 -matout4 module to import and export matrices
  • matmap module to perform elementwise calculations for matrices
  • matnames module to return matrix row and column names
  • matodd modules to produce various matrix tasks
  • matpwcorr module to takes the output from pwcorr and creates the corresponding matrices
  • matrixof module to produce matrix or vector of results for paired or single variables
  • matrixtools module to build, present and style Stata matrices
  • matsave module to save and load matrices
  • matsort module to sort a matrix by a given column
  • matvsort module for sorting vectors or rows or columns of matrices
  • matwrite module to write Stata variables as MATLAB matrices
  • mauchly module to compute Mauchly’s sphericity test for repeated measures ANOVA models
  • maxdrawdown module to calculate the maximum drawdown of a stock, fund or other financial product
  • mbitobit module to fit bivariate Tobit regression
  • mbsens module to compute Sensitivity metric for matched sample using McNemar's test
  • mc module to calculate a matched concordance index
  • mca module to perform multiple correspondence analysis
  • mcenter module to center variables at their means
  • mces module for Marginal Comparison Effect Sizes
  • mcib module to estimate income distribution and inequality statistics from grouped data
  • mcl module to estimate multinomial conditional logit models
  • mcmccqreg module to perform simulation assisted estimation of censored quantile regression using adaptive Markov chain Monte Carlo
  • mcmclinear module for MCMC sampling of linear models
  • mcmcstats module to compute convergence and summary statistics for MCMC estimation
  • mcqscore module to score the Monetary Choice Questionnaire using logistic regression
  • mcwr module to compute Markov chain with rewards calculations
  • mdensity module for univariate kernel density estimation, for variables or groups
  • mdepriv module to compute synthetic indicators of multiple deprivation
  • mdesc module to tabulate prevalence of missing values
  • mean2 module to make a table of estimate means with subpopulation differences
  • meaning module to use internet search for the meaning for a word or phrase
  • medcouple module to compute medcouple measure of asymmetry and heaviness of the tails
  • median module to perform the median test
  • mediation module for causal mediation analysis and sensitivity analysis
  • medoid module to calculate medoids
  • medsem module to perform mediation analysis using structural equation modelling
  • medsurv module to calculate the median survival time after Cox/Poisson regression
  • mehetprob module to compute marginal effects at means and their standard errors after hetprob
  • meloreg2 module to perform Minimum Expected Loss (MELO) Instrumental Variables Regression
  • melt module to melt variables into a dataset containing aggregated data by variable
  • meoprobit module to compute marginal effects after estimation of ordered probit
  • mequate module to calculate equating constants using the Mean/Mean and Mean/Sigma methods
  • meresc module to rescale the results of mixed nonlinear probability models
  • mergeall module to merge multiple files
  • mergemany module to merge many files
  • mergepoly module to merge adjacent polygons from a shapefile
  • merlin module to fit mixed effects regression for linear and non-linear models
  • meta_analysis module to perform subgroup and regression-type fixed- and random-effects meta-analyses
  • meta_lr module to graph positive and negative likelihood ratios in diagnostic test
  • metaaggr modules for meta-analysis of aggregate data
  • metaan module to perform fixed- or random-effects meta-analyses
  • metabias module to test for small-study effects in meta-analysis
  • metacum module to perform cumulative meta-analysis, with graphics
  • metadata module to enable access to metadata
  • metadialog module to provide sub-menu and dialogs for meta-analysis commands
  • metadta module to perform fixed- and random-effects meta-analysis and meta-regression of diagnostic accuracy studies
  • metaeff module to perform effect sizes calculations for meta-analyses
  • metafrag module to compute the fragility index for meta-analysis
  • metafunnel module to produce funnel plots for meta-analysis
  • metagen module to perform meta-analysis of genetic-association studies
  • metagraph module to draw Forrest plot after meta command
  • metamiss module to perform meta-analysis with missing data
  • metamiss2 module accounting for missing outcome data in meta-analysis
  • metan module for fixed and random effects meta-analysis
  • metandi module to perform meta-analysis of diagnostic accuracy
  • metaninf module to evaluate influence of a single study in meta-analysis estimation
  • metaparm module to perform meta-analysis and transformations using parmest resultssets
  • metapow module for simulation based sample size calculations for designing new clinical trials and diagnostic test accuracy studies to update an existing meta-analysis
  • metapred module producing outlier and influence diagnostics for meta-analysis
  • metapreg module to compute fixed and random effects meta-analysis and meta-regression of proportions
  • metaprop module to perform fixed and random effects meta-analysis of proportions
  • metaprop_one module to perform fixed and random effects meta-analysis of proportions
  • metareg module to perform meta-analysis regression
  • metastrong module for estimating the proportion of true effect sizes above or below a threshold in random-effects meta-analysis
  • metatef module to perform IPD meta analysis of an interaction between treatment and a continuous covariate
  • metatrend module to implement regression methods for detecting trends in cumulative meta-analysis
  • metatrim module to perform nonparametric analysis of publication bias
  • mfelogit module to estimate marginal effects (AME) and average treatment effects (ATE) in fixed effect logit models
  • mfilegr module to view and save multiple graphs with filenames based on a numeric identifier
  • mfpi module for modelling and displaying interactions
  • mfpigen module for modelling and displaying interactions between continuous predictors
  • mfpmi module to build multivariable fractional polynomial models in multiply imputed data
  • mfx2 module to enhance mfx command for obtaining marginal effects or elasticities after estimation
  • mgbe module to compute Multimodel Generalized Beta Estimator
  • mgen module to apply generate to a matrix
  • mgof module to perform goodness-of-fit tests for multinomial data
  • mhl module to compute Hodges and Lehman (1963) robust measure of location
  • mhtexp module to perform multiple hypothesis testing correction procedure
  • mhtreg module for multiple hypothesis testing controlling for FWER
  • mi_impute_wlogit module to perform weighted multiple imputation for binary/categorical variables "- mi_mvncat module to assign ""final"" values to (mvn) imputed categorical variables"
  • mi_twoway module for computing scores on questionnaires containing missing item responses
  • mibmi module for cleaning and multiple imputation algorithm for body mass index (BMI) in longitudinal datasets
  • mice module for multiple imputation of missing values
  • mice7 module for multiple imputation of missing values (version 7)
  • mict module to provide Multiple imputation for Categorical Time-series
  • midas module for meta-analytical integration of diagnostic test accuracy studies
  • mif2dta module convert MapInfo Interchange Format boundary files to Stata boundary files
  • miinc module to conduct multi-model inference using information criteria
  • mim module to analyse and manipulate multiply imputed datasets
  • mimix module to perform reference based multiple imputation for sensitivity analysis of longitudinal clinical trials with protocol deviation
  • mimpt module to impute missing values and persist in case of non-convergence
  • mimrgns module to run margins after mi estimate
  • mimstack module to stack multiply-imputed datasets into format required by mim
  • minap module to calculate minimum average partial correlation for principal components
  • minmse module to create balanced groups for treatment in experiments with one or several treatment arms
  • mint module to examine across-groups equivalence of confirmatory factor analysis (CFA) measurement model parameters
  • miparallel module to perform parallel estimation for multiple imputed datasets
  • mipolate module to interpolate values
  • mira module to compute Rubin's measure for multiple imputation regression analysis
  • missing module to replace missing values
  • missingplot module to draw plot showing patterns of missing values in a dataset
  • missings module to manage missing values
  • misum module to calculate summary statistics in MI dataset
  • mivcausal module for testing the hypothesis about the signs of the 2SLS weights
  • mivif module to calculate variance inflation factors after mi estimate regress
  • mixlogit module to fit mixed logit models by using maximum simulated likelihood
  • mixlogitwtp module to estimate mixed logit models in WTP space
  • mixmcm module to estimate finite mixtures of non-stationary Markov chain models by maximum likelihood (ML) and the Expectation-Maximization (EM) algorithm
  • mixmixlogit module to estimate mixed-mixed multinomial logit model
  • mkbilogn module to create bivariate lognormal variables
  • mkcorr module to generate correlation table formatted for easy inclusion in articles
  • mkdat module providing easy SOEP retrievals
  • mkdensity module to graph kernel densities of several variables
  • mkern module to perform multivariate nonparametric kernel regression
  • mkest module to convert variables to estimates matrix
  • mkprofile module to create or edit your 'profile.do'
  • mkproject module to create a project folder with some boilerplate code and research log
  • mkstrsn modules to format Social Security number variables
  • mktab module to print table of estimates in delimited or screen-presentation format
  • mlad module to perform maximum likelihood using automatic differentiation
  • mlboolean module to implement Boolean logit and probit
  • mlcoint module to compute Johansen cointegration tests
  • mlogitroc module to calculate multiclass ROC Curves and AUC from Multinomial Logistic Regression
  • mlogpred module to produce predicted probabilities after mlogit and svymlog
  • mlowess module for lowess smoothing with multiple predictors
  • mlr2sls module for 2SLS estimation with multiple-LATEs robust standard error under treatment effect heterogeneity
  • mlt module to provide multilevel tools
  • mmat2tex module to output Mata matrix as LaTeX table
  • mmeiv module to perform Multiple Marginal Effects IV Estimation
  • mmerge module: Safer and easier to use variant of merge.
  • mmodes module to calculate the mode for a numeric varlist
  • mmqreg module to estimate quantile regressions via Method of Moments
  • mmsel module to simulate (counterfactual) distributions from quantile regressions (w/optional sample selection correction)
  • mmsrm module to estimate Multidimensional Marginally Sufficient Rasch Model (MMSRM)
  • mmws module to perform marginal mean weighting through stratification
  • mnthplot module for scatter plot for monthly data with repetition of data
  • mod11 module to generate Chile's National Identification Number (RUT) check digit (DV) (modulo 11)
  • modeldiag module to generate graphics after regression
  • modlpr module to estimate long memory in a timeseries
  • mog module to produce one way or two way tables of means (or totals)
  • mol module to evaluate literacy level
  • moments module to compute moment-based statistics
  • moments2 module to compute skewness and kurtosis measures
  • moranplot module to produce Moran scatter plots
  • moransi module to compute Moran's I
  • more_clarify module to estimate quantities of interest through simulation and resampling methods
  • moremata module (Mata) to provide various functions
  • moreobs module to add observations to dataset
  • moss module to find multiple occurrences of substrings
  • motivate module providing motivation to users
  • motivatedolly module to provide quotes, lyrics and links to motivational songs from Dolly Parton
  • movavg module using Mata to generate Moving Averages
  • movestay module for maximum likelihood estimation of endogenous regression switching models
  • mpi module to compute the Alkire-Foster multidimensional poverty measures and their decomposition by deprivation indicators and population sub-groups
  • mplotoffset module to produce marginsplots with offset plotting symbols
  • mpovline module to calculate FGT0, FGT1 and FGT2 by intervals of multiple thresholds
  • mpr module for computing the Medication Possession Ratio
  • mqgamma module to estimate quantiles of potential-outcome distributions
  • mrdum module to create dummy variables and summary table for multiple response data
  • mrobust module to estimate model robustness and model influence
  • mrprobit module to estimate probit with Misclassification of the Dependent Variable
  • mrsprep module to estimate marginal relative survival models
  • mrtab module to compute one- and two-way tables of multiple responses
  • mscatter module to produce multiple scatter plots
  • msdeco module to calculate the Mookherjee & Shorrocks (1982) over-time inequality decomposition by subgroup
  • msdirb module to create a dataset of file names from the output of a MS-DOS dir/b command (Windows only)
  • mseffect module to estimate the mean effect size of (binary/multiple group) treatment on multiple outcomes
  • msp module to perform the Mokken Scale Procedure
  • msplot module for multiple median-spline plots
  • mss module to perform heteroskedasticity test for quantile and OLS regressions
  • mstdize module to produce marginal standardization of two-way tables
  • mstore module to Store and Retrieve Matrices with Dataset
  • mtab module to store results in a matrix
  • mtad module to perform Multinomial Test of Agglomeration and Dispersion
  • mtebinary module to compute Marginal Treatment Effects (MTE) With a Binary Instrument
  • mtefe module to compute marginal treatment effects with factor variables
  • mtemore module to compute Marginal Treatment Effects (MTE) With a Binary Instrument
  • mtpi module for the modified Toxicity Probability Interval design
  • mtreatreg module to fits models with multinomial treatments and continuous, count and binary outcomes using maximum simulated likelihood
  • mulogit module to calculate multivariate and univariate odds ratios in logistic regression
  • multencode module to encode multiple string variables into numeric
  • multibar module to produce bar and dot graphs for use with overlapping over() categories
  • multicoefplot module to produce advanced repeated cross-section graphical analysis
  • multidensity module for kernel density estimation for many variables or groups
  • multidot module for multiple panel dot charts and similar
  • multif module to construct multiple if-restrictions with the same value for different variables
  • multiline module for multiple panel line plots
  • multimport module to import multiple non-Stata datafiles into memory, appending them automatically
  • multipurt module to run 1st and 2nd generation panel unit root tests for multiple variables and lags
  • multishell module to allot do files and variations of loops across parallel instances of Windows Stata and computers efficiently
  • multistate module to perform multi-state survival analysis
  • multivrs module to conduct multiverse analysis
  • mundlak module to estimate random-effects regressions adding group-means of independent variables to the model
  • muxplot module to produce scatter plots with y versus multiple x variables
  • muxyplot module to produce scatter plots with multiple x and y variables
  • mvcorr module to generate moving-window correlation or autocorrelation in time series or panel
  • mvdcmp module to compute multivariate decomposition for nonlinear response models
  • mvfiles module to provide a convenient way to move/copy matched files from a specified input directory (also including, if wanted, additionally recursively matched subsets of files within distinctly matched offspring-directories) to a specified output directory
  • mvmeta module to perform multivariate random-effects meta-analysis
  • mvnxpb module for computation of multivariate normal probabilities using bivariate conditioning
  • mvport module for Collection, Optimization and Backtest of Financial Portfolios
  • mvprobit module to calculate multivariate probit regression using simulated maximum likelihood
  • mvsamp1i module to determine sample size and power for multivariate regression
  • mvsampsi module to determine sample size and power for multivariate regression
  • mvsktest module to test for multivariate skewness and kurtosis
  • mvsumm module to generate moving-window descriptive statistics in time series or panel
  • mvtest module to perform multivariate F tests
  • mvtnorm module to work with the multivariate normal and multivariate t distributions, with and without variable truncation
  • mvtobit module to calculate multivariate tobit models by simulated maximum likelihood (SML)
  • myaxis module to reorder categorical variable by specified sort criterion
  • mycd10 module to process ICD-10 diagnosis and procedure codes
  • mycolours module for setting a palette of colours through local macros
  • mydatelabels module to generate axis labels with a label every time a component changes
  • mylabels module for axis labels or ticks on transformed scales or for daily dates
  • mypkg module to inform on packages installed over net

N

  • nb_adjust module to identify and adjust outliers of a variable assumed to follow a negative binomial distribution
  • nbercycles module to generate graph command (and optionally graph) timeseries vs. NBER recession dating
  • nbfit module for fitting negative binomial distribution by maximum likelihood
  • nbinreg module to estimate negative binomial regression models
  • nbstrat module to estimate Negative Binomial with Endogenous Stratification
  • ncf modules related to the noncentral F distribution
  • nct modules related to the noncentral t distribution
  • ndbci module extending ci for single variable with exposure time.
  • nearest module to calculate nearest neighbours from point coordinates
  • nearmrg module to provide nearest-match merging of datasets
  • nearstat module to calculate distance-based variables and export distance matrix to text file
  • nehurdle module for estimation of models with corner solutions
  • neoclassical module to estimate neoclassical education transitions model
  • netplot module to provide social network visualization
  • netreg module to perform linear regression of a network response with the exchangeable assumption
  • network module to perform network meta-analysis
  • newey2 module to extend newey (HAC covariance estimation)
  • newsimpact module to compute news impact curve for ARCH models
  • next module to perform regression discontinuity
  • ngram module to provide n-gram feature extractor
  • nharvey module to perform Nyblom-Harvey panel test of common stochastic trends
  • nicedates module for nice dates, especially for time series graphs
  • niceest module to export regression table to excel
  • niceloglabels module to produce nice axis labels for logarithmic scales
  • nicewords module to pay compliments
  • njc_stuff module documenting Stata programs and help files by Nicholas J. Cox
  • nlcheck module to check linearity assumption after model estimation
  • nlcorr module to compute correlation metric for cross-sample comparisons using non-linear probability models
  • nmissing module to show numbers of missing or present values
  • nnest module to perform J test and Cox-Pesaran-Deaton test for nonnested models
  • nnipolate module for nearest neighbour interpolation
  • nnmatch module to compute nearest-neighbor bias-corrected estimators
  • nonparmde module to calculate the minimum detectable effect in randomized experiment
  • nopomatch module to implement Nopo's decomposition
  • norm module to normalize variables
  • normalbvr module to generate Normal bivariate ridits
  • normalizepath module to parse (and normalize) files' paths
  • normalrir module to calculate ridits of inverse ridits between Normal populations
  • normtest module to perform tests of univariate kurtosis and skewness
  • npeivreg module for estimation of nonparametric errors-in-variables (EIV) regression and construction of its uniform confidence band
  • npinfo module to merge network-based nodal characteristics
  • npiv module to perform Nonparametric instrumental-variable regression on a scalar endogenous regressor
  • nproc module to produce nonparametric receiver operating curves
  • npseries module to perform Nonparametric Power Series Estimation
  • npss module to estimate nonparametric heteroskedastic state space models
  • npsynth module to implement Nonparametric Synthetic Control Method
  • nrow module to rename variables as their nth-row values
  • nruns module to compute number of runs compared with random shuffles
  • nscale module to scale data
  • nsplit module to split numeric variable into components
  • nstage module for multi-arm, multi-stage (MAMS) trial designs for time-to-event outcomes
  • nstagebin module to perform sample size calculation for multi-arm multi-stage randomised controlled trials with binary outcomes
  • nstagebinopt module to compute admissible multi-arm multi-stage trial designs with binary outcomes
  • ntreatreg module for estimation of treatment effects in the presence of neighbourhood interactions
  • num2base26 module to provide an interface to Mata's numtobase26() function
  • num2words module to convert numbers to text
  • numdate module to generate date-times or components
  • nvars module to count the number of variables
  • nw_fromlist module to build a network from a list of long-form data
  • nw_projection module to project a bipartite network into one of its two dimensions
  • nw_wcc module to calculate Weighted Clustering Coefficients (WCC) in Complex Direct Networks
  • nwannd module to compute ANND (average nearest neighbor degree) and related measures
  • nwcluster module to compute the clustering coefficient of a network's vertices
  • nwdisparity module to calculate the disparity of a network's nodes
  • nwind module to compute Newey-Windmeijer VCE after ivreg2 GMM-CUE estimation
  • nwreciprocity module to calculate reciprocity metrics for (weighted) directed networks
  • nwstrengthcent module to compute Freeman's centrality index (1979) for strength centrality
  • nysiis module to calculate nysiis codes from string variables
  • nytimes module to display top news stories from the New York Times

O

  • oaxaca module to compute the Blinder-Oaxaca decomposition
  • oaxaca8 module to compute decompositions of outcome differentials
  • oaxaca9 module to compute the Blinder-Oaxaca decomposition
  • obsdiff module to identify differences in values across observations for a variable
  • obsofint module to display observations of interest
  • ocmt module to perform multiple testing approach in high-dimensional linear regression
  • ocratio modules to fit continuation-ratio models on ordinal response data
  • oda module for conducting Optimal Discriminant Analysis (Windows only)
  • oddsrisk module to convert Logistic Odds Ratios to Risk Ratios
  • odi module to score Oswestry Disability Index
  • odkexport module to export xlsForms to readable docx or xlsx files
  • odkmeta module to import ODK data
  • odksplit module to split and label multiple response variables generated from ODK or SurveyCTO
  • oeratio module to calculate ratio of observed to expected outcomes
  • oesch module to recode ISCO codes into Oesch class scheme
  • ofrtplot module to plot observed, fitted and residuals versus time variable
  • oglm module to estimate Ordinal Generalized Linear Models
  • oglm9 module to estimate Ordinal Generalized Linear Models
  • omega module to calculate the omega reliability coefficient
  • omegacoef module to calculate the omega reliability coefficient
  • omninorm module to calculate omnibus test for univariate/multivariate normality
  • omodel modules to perform tests on ordered probit and ordered logit models
  • onespell module to generate single longest spell for each unit in panel data, listwise
  • onewayplot module for oneway plots
  • onewplot module for oneway plots
  • oparallel module providing post-estimation command for testing the parallel regression assumption
  • openall module to open all specified files with append
  • opencagegeo module for forward and reverse geocoding using the OpenCage Geocoder API
  • oplabdata module to load data from the Equality of Opportunity Project
  • opplot module to generate a vertical bar chart to summarize a binary outcome in cluster survey data
  • oprobpr module to display predicted probabilities from ordered probit and logit
  • optaspect module to compute heuristic criteria for optimal aspect ratios in a two-variable line plot
  • optifact module to find the best summated rating scale from a list of items
  • ordcatsampsi module to compute power and sample size for ordered categorical outcomes
  • ordplot module for cumulative distribution plot of ordinal variable
  • ordvar module to calculate measures of ordinal consensus and dispersion
  • orse module to save odds ratios and their standard errors after logit, ologit
  • orth_out module to automate and export summary stats/orthogonality tables
  • orthog module to orthogonalize variables
  • osgen module to add Python os_stat() file attributes to a xdir resultsset