查看原文
其他

软件应用 | Stata外部命令速查表,快快收藏!

数据Seminar 2022-12-31

文章经授权转载自「连享会 ( ID: lianxh_cn )」

作者:连享会

Source: Archive of user-written Stata packages

导言

这里汇集了截至 2015年1月1日 为止的所有 Stata 外部命令。

对于感兴趣的命令,可以使用 findit 在 Stata 命令窗口中搜索后下载,亦可直接使用 ssc install 命令直接下载。

按 a-z 顺序浏览所有外部命令。

SSC - Stata 外部命令列表

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
  • 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
  • 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"""
  • 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
  • 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
  • arimafit module to calculate AIC, SIC for ARIMA model
  • 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 for complex sample size calculation in randomized trials
  • 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 generates 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
  • 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
  • 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
  • bineq module to analyze multidimensional inequality in two dimensions of wellbeing
  • binscatter module to generate binned scatterplots
  • bioprobit module for bivariate ordered probit regression
  • biplot module to generate biplots
  • biplotvlab module to produce biplot with variable labels
  • 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
  • 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
  • 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

  • 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
  • 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
  • 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
  • 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
  • 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
  • circstat modules to calculate circular statistics
  • circular module for circular statistics
  • 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
  • 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
  • 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
  • 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
  • cngcode module to geocode Chinese addresses
  • 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
  • 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
  • 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
  • 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
  • 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
  • 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
  • crtest module to perform Cramer-Ridder Test for pooling states in a Multinomial logit
  • crtrees module to compute Classification and Regression Trees algorithms
  • csipolate module to perform cubic spline interpolation
  • csjl module to extend cs command for exposures with more than two categories
  • 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
  • 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_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
  • 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
  • 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
  • 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
  • diagt module to report summary statistics for diagnostic tests compared to true disease status
  • diagtest module to report summary statistics for diagnostic test
  • 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
  • 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
  • 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
  • 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
  • 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
  • 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
  • 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
  • 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
  • ebct module to perform entropy reweighting to create balanced samples for continuous treatments
  • 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
  • edm module to implement empirical dynamic modeling
  • eealogit module to estimate endogenous attribute attendance models
  • 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
  • encodefrom module to rename and encode variables using an external crosswalk
  • 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
  • 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
  • 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
  • evhistplot module to produce event history plot
  • 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
  • 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
  • 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
  • filtertrace module to trace filter or contingency questions
  • find module to find matching strings across files in the current directory
  • finddup module to find non-unique values or observations
  • findname module to list variables matching name patterns or other properties
  • 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
  • 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
  • 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
  • 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
  • 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
  • gboxplot module to create Box plot for skewed or heavy-tailed distributions
  • 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
  • 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
  • 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
  • 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
  • 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
  • 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
  • grqreg module to graph the coefficients of a quantile regression
  • 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
  • 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
  • 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)
  • 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)
  • 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
  • hettreatreg module to compute diagnostics for linear regression when treatment effects are heterogeneous
  • 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
  • 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)
  • 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
  • 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
  • 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
  • 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
  • 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
  • ingap module to insert gap observations into a data set before output by listtex
  • inorm module to perform multiple imputation using Schafer's method
  • insheetjson module for importing tabular data from JSON sources on the internet
  • insingap module to insert a single gap observation at the top of each by-group
  • insob module to insert empty observations
  • 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
  • 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
  • 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
  • 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
  • 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
  • ivactest module to perform Cumby-Huizinga test for autocorrelation after IV/OLS estimation
  • ivcheck module to choose between OLS and contaminated IV
  • 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
  • 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
  • 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
  • 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
  • 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

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
  • 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
  • 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
  • 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
  • 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
  • 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
  • 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
  • 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
  • madfuller module to perform Dickey-Fuller test on panel data
  • 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
  • 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
  • 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
  • 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
  • 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_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
  • 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
  • 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
  • metatrend module to implement regression methods for detecting trends in cumulative meta-analysis
  • metatrim module to perform nonparametric analysis of publication bias
  • 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
  • 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
  • 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
  • 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
  • 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'
  • mkstrsn modules to format Social Security number variables
  • mktab module to print table of estimates in delimited or screen-presentation format
  • 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
  • mm_regress module to compute robust regression estimates
  • 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
  • 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
  • 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
  • mrtab module to compute one- and two-way tables of multiple responses
  • 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
  • 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
  • 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
  • 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
  • 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
  • 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)
  • mycd10 module to process ICD-10 diagnosis and procedure codes
  • 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
  • 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
  • ocratio modules to fit continuation-ratio models on ordinal response data
  • oda module for conducting Optimal Discriminant Analysis
  • oddsrisk module to convert Logistic Odds Ratios to Risk Ratios
  • odi module to score Oswestry Disability Index
  • 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
  • omninorm module to calculate omnibus test for univariate/multivariate normality
  • omodel modules to perform tests on ordered probit and ordered logit models
  • onemode module to produce one-mode projections of a bipartite network
  • 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
  • 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
  • osort module to reorder variable(s) and sort data
  • outdat module to export data to other statistical packages
  • outfix module to produce fixed format output (version 5)
  • outfix2 module to output formatted data
  • outfixt module to write fixed-format text file
  • outreg module to write estimation tables to a Word or TeX file
  • outreg2 module to arrange regression outputs into an illustrative table
  • outreg5 module to format regression output for published tables
  • outseries module to write timeseries to text files
  • outsum module to write formatted descriptive statistics to a text file
  • outtable module to write matrix to LaTeX table
  • outtex module to LaTeX code for result tables after any estimation command
  • outwrite module to consolidate multiple regressions and export the results to a .xlsx, .xls, .csv, or .tex file
  • ovbd module to generate correlated random binomial data
  • overdisp module to detect overdispersion in count-data models using Stata
  • overfit module to calculate shrinkage statistics to measure overfitting as well as out- and in-sample predictive bias
  • overid module to calculate tests of overidentifying restrictions after ivreg2, ivreg29, ivregress, ivprobit, ivtobit, reg3
  • overlay module to overlay multiple x vs y graphs
  • ovfplot module for plots of observed vs fitted

P

  • p2ci module to calculate confidence limits of a regression coefficient from the p-value
  • pagetrend module to perform Page's L trend test for ordered alternatives
  • pairdata module to create paired datasets from individual-per-row data
  • pairplot module for plots of paired observations
  • pajek2stata module to import network data in Pajek's .net format
  • palette_all module to display all the named colours in Stata
  • palettes module to provide color palettes, symbol palettes, and line pattern palettes
  • pam Module to Estimate Policy Analysis Matrix (PAM)
  • panelauto module to support tests for autocorrelation on panel data
  • panelhetero module to examine the degree of heterogeneity across cross-sectional units using panel data
  • panell module to display panel length for a given set of variables
  • panels module to count panels and apply a command to panel units
  • panelthin module to identify observations for possible thinned panel dataset
  • panelunit module to support unit root tests on panel data
  • pantest2 module to perform diagnostic tests in fixed effects panel regressions
  • paragr module for parallel graphing of a coefficient across different equations
  • parallel module for Parallel Computing
  • paramed module to perform causal mediation analysis using parametric regression models
  • paran module to compute Horn's test of principal components/factors
  • paretofit module to fit a Type 1 Pareto distribution
  • parmest module to create new data set with one observation per parameter of most recent model
  • parmhet module to produce heterogeneity tests in parmest resultssets
  • parmparse module to parse a parameter name variable in a parmest resultsset
  • parplot module for parallel coordinates plots
  • parseloc module to extract coordinates from a geolocation variable generated by Survey Solutions
  • parseuas module to extract detailed information from user agent strings
  • partchart module to automatically output participant characteristics table in a variety of formats
  • partgam module to calculate partial gamma coefficient
  • partpred module to generate partial predictions
  • parttau module to calculate Kendall's partial tau and confidence interval
  • pascal module to draw Pascal's triangle
  • path module to support file path manipulation
  • pathof module to return the absolute path of any parent directory of the current working directory
  • pathutil module to support file path manipulation
  • paverage module to calculate p-period-average series in a panel dataset
  • payper module to compute the periodic payment and the entire schedule of a loan or annuity
  • pbeta module to generate probability plot for data compared with fitted beta distribution
  • pbreg module to fit the Preece and Baines (1978) family of growth curves and age, height, and velocity at peak height velocity
  • pca2 module to apply Principal Component Analisys (PCA) to standard and GMM-style instrumental variables
  • pcacoefsave module to save results of PCA to new dataset
  • pcdsearch module to extract code lists from primary care databases
  • pchipolate module for piecewise cubic Hermite interpolation
  • pciplot module to plot pointwise confidence intervals
  • pcmdif module to for diagnosing and considering a potential differential item functioning (DIF) when analysing patient reported outcomes using partial credit models
  • pcmodel module to estimate parameters of a Partial Credit Model or a Rating Scale Model by MML
  • pcmtest module to test the fit of a Partial Credit Model or a Rating Scale Model estimated using pcmodel
  • pcontract module to make a data set of frequencies and percentages
  • pcorr2 module to display partial and semipartial correlation coefficients
  • pcorrmat module to compute partial correlation coefficients controlled for a fixed set of covariates
  • pcpanel module to perform power calculations for randomized experiments with panel data, allowing for arbitrary serial correlation
  • pctrim module to trim variables based on percentiles
  • pdc module for computing the Proportion of Days Covered (of a medication)
  • pdplot module to produce Pareto dot plot
  • pdslasso module for post-selection and post-regularization OLS or IV estimation and inference
  • peerreview module to randomly assign papers to peers for review
  • pem Module to Estimate Partial EquiLibrium Model (PEM)
  • percat module to perform percentile-based categorisation
  • percentmatch module to calculate the highest percentage match (near duplicates) between observations
  • percom module to create permutations and combinations
  • personage module to calculate people's ages or similar daily date differences
  • perturb module to evaluate collinearity and ill-conditioning
  • pescadf module to perform Pesaran's CADF panel unit root test in presence of cross section dependence
  • petpoisson module to estimate an Endogenous Participation Endogenous Treatment Poisson model by MSL
  • pexp module to produce probability plot for data compared with fitted exponential distribution
  • pfs module to predict Financial Skill scale scores from CFPB survey instrument
  • pfwb module to predict Financial Well-Being scale scores from CFPB survey instrument
  • pgamma module to generate probability plot for data vs fitted gamma distribution
  • pgmhaz8 module to estimate discrete time (grouped data) proportional hazards models
  • phenotype module to simulate disease status and censored age for family data
  • piaactools module to provide PIAAC tools
  • pieplot module to plot pie charts of categorical frequencies
  • pindex module to compute targeted price indices
  • pisareg module to perform linear regression with PISA data and plausible values
  • pisatools module to facilitate analysis of the data from the PISA OECD study
  • plausexog module to implement Conley et al's plausibly exogenous bounds
  • plot3d module to draw colored, scalable, rotatable 3D plots
  • plotbeta module to plot linear combinations of coefficients
  • plotmatrix module to plot values of a matrix as different coloured blocks
  • plotrpys module to plot a spectrogram using CSV export from CRExplorer
  • pls module to calculate composite variables using the partial least squares path modeling (PLS) algorithm
  • plssas module to execute SAS partial least squares procedure (Windows only)
  • plssem module to implement Partial least squares structural equation modelling (PLS-SEM)
  • plztowknr module to translate German zip codes into electoral districts
  • pmanage module to manage large projects
  • pmcalplot module to produce calibration plot of prediction model performance
  • pmsampsize module to calculate the minimum sample size required for developing a multivariable prediction model
  • png2rtf module to include PNG graphics in RTF documents
  • pnrcheck module to verify the check digit in Swedish personal identification number
  • pobrezaecu module to predict poverty in Ecuador
  • poi2hdfe module to estimate a Poisson regression with two high-dimensional fixed effects
  • poisml module to estimate maximum likelihood Poisson regression models
  • polar module to plot polar coordinates
  • polyspline module to generate sensible bases for polynomials and other splines
  • poparms module for potential outcome parameter estimation
  • popsim module to simulate completed fertility and birth intervals for two generations
  • postrcspline module containing post-estimation commands for models using a restricted cubic spline
  • postrri module to calculate posterior relative risks
  • povcalnet module to access World Bank Global Poverty and Inequality measures
  • povdeco module to calculate poverty indices with decomposition by subgroup
  • poverty module to calculate poverty measures
  • povguide module to generate the U.S. Poverty Guideline value for a given family size and year
  • povimp module to provide poverty estimates in the absence of actual consumption data
  • povtime module to compute aggregate intertemporal poverty measures (poverty in a panel accounting for time)
  • power_tworates_zhu module to calculate sample size or power for a two-sample test of rates
  • powercal module to perform general power and sample size calculations
  • powerclus module to calculate sample size and/or cluster size for cluster designed studies
  • powerq module to calculates posterior probabilities for heterogeneity in a meta-analysis
  • powersim module for simulation-based power analysis for linear and generalized linear models
  • ppml module to perform Poisson pseudo-maximum likelihood estimation "- ppml_panel_sg module to estimate ""structural gravity"" models via Poisson PML"
  • ppmlhdfe module for Poisson pseudo-likelihood regression with multiple levels of fixed effects
  • ppplot module for P-P plots
  • ppschromy module to draw sample with probability proportionate to size, using Chromy's method of sequential random sampling
  • ppssampford module to draw sample with probability proportionate to size, without replacement, using Sampford's method
  • pre module to calculate the proportional reduction in errors accomplished by an estimated model
  • predcalc module to calculate out-of-sample predictions for regression, logistic
  • predsurv module to compute predicted survival to a specified time after streg
  • predxcat module to calculate predicted means, medians, or proportions for nominal X's
  • predxcon module to calculate predicted means, medians, or proportions for a continuous X variable
  • prepar module to write code and data file needed to process variables in PARSCALE
  • preparation module to facilitate a one-by-one observation of varlist to make it easier to control data and labels
  • primes module to generate prime numbers
  • printgph module to execute command for each matching file
  • probcalc module to calculate probabilities for Binomial, Poisson, and Normal Distributions
  • probexog-tobexog -tobexog modules to test exogeneity in probit/tobit
  • probitfe module to compute analytical and jackknife bias corrections for fixed effects estimators of panel probit models with individual and time effects
  • probitiv module to perform instrumental variables probit
  • probitmiss module for Efficient Probit Estimation with Partially missing Covariates
  • prodest module for production function estimation based on the control function approach
  • prodvars module to create product variables for two lists of input variables
  • prody module to calculate factor intensity and sophistication indicators
  • profhap module to construct profile likelihood confidence intervals for haplotype analysis
  • progres module to measure distributive effects of an income tax
  • project module providing a set of tools to build and manage a Stata project
  • prolist module to list programs, help files, dialogs
  • propcnsreg module fitting a measurement model with causal indicators
  • proprcspline module for restricted cubic spline smoothing of proportions
  • prosperity module to compute Shared Prosperity Convergence Index
  • prtab module to compute Precision-recall curves
  • prwe module to calculate the PRWE scores from your records
  • psacalc module to calculate treatment effects and relative degree of selection under proportional selection of observables and unobservables
  • psbayes module to perform pseudo-Bayes smoothing of cell estimates
  • psemail module to send email from within Stata for Windows environment
  • psestimate module to estimate the propensity score proposed by Imbens and Rubin
  • pshare module to compute and graph percentile shares
  • psidtools module to facilitate access to Panel Study of Income Dynamics (PSID)
  • psiduse module providing easy PSID access
  • psmatch2 module to perform full Mahalanobis and propensity score matching, common support graphing, and covariate imbalance testing
  • pspline module providing a penalized spline scatterplot smoother based on linear mixed model technology
  • pstrata module for optimal propensity score stratification
  • psweight module to perform IPW- and CBPS-type propensity score reweighting, with various extensions
  • ptrend module for trend analysis for proportions
  • ptvtools module contining various tools for PTV analysis
  • punaf module to compute population attributable fractions for cohort studies
  • punafcc module to compute population attributable fractions for case-control and survival studies
  • putdocxcrosstab module to produce crosstabulations with putdocx
  • putdocxfreqtable module to produce frequency oneway tables with putdocx
  • putwrap module to simplify creation of putdocx and putpdf documents
  • pv module to perform estimation with plausible values
  • pvenn module to create proportional Venn diagram
  • pvfix module to compute the present value of a series of equal payments (cash flows)
  • pvvar module to compute the present value of a series of payments (cash flows)
  • pvw module to perform predictive value weighting for covariate misclassification in logistic regression
  • pwcorr2 module to compute pairwise correlations and return results
  • pwcorrf module to compute pairwise correlations efficiently, with builtin reshape functionality
  • pwcorrs module for enhanced correlation matrix
  • pwcorrw module to print wide correlation matrix with significance indicators
  • pwcov module to compute pairwise covariances
  • pweibull module to generate probability plot for data vs fitted Weibull distribution
  • pwmc module to compute pairwise multiple comparisons (unequal variances)
  • pwploti module to plot power curve for sample size and power calculation
  • pyramid tutorial for population pyramids
  • python module for using the Python language within Stata

Q

  • qap module to perform quadratic assignment procedure
  • qbeta module to generate quantile-quantile plot for data vs fitted beta distribution
  • qconvert module to convert a raw Q-sort file into a new Q-sort file which is ready for analysis by QFACTOR program
  • qcount program to fit quantile regression models for count data
  • qenv module to generate quantile envelopes for quantile-quantile plots
  • qexp module to produce quantile-quantile plot for data vs fitted exponential distribution
  • qfactor module to perform Q-analysis on Q-sorts using different factor extraction and factor rotation techniques
  • qgamma module to generate quantile-quantile plot for data vs fitted gamma distribution
  • qhapipf module to perform analysis of quantitative traits using regression and log-linear modelling when PHASE is unknown
  • qic module to compute model selection criterion in GEE analyses
  • qll module to implement Elliott-M�ller efficient test for general persistent time variation in regression coefficients
  • qlqc15 module for scoring of the EORTC QLQ-C15-PAL
  • qn module to estimate Rousseeuw and Croux (1993) robust measure of dispersion "- qog module to access the most recent release of the ""Quality of Government"" data"
  • qogbook module to access Quality of Government codebooks
  • qpfit module containing various quantile and probability plots for assessing distribution fit
  • qqcompare module to evaluate balance after matching using quantile-quantile plots
  • qqplot2 module to produce quantile-quantile plot
  • qqplot3 module to plot the unweighted and weighted quantiles of one variable against the corresponding quantiles of another
  • qqvalue module to generate quasi-q-values by inverting multiple-test procedures
  • qreg2 module to perform quantile regression with robust and clustered standard errors
  • qregpd module to perform Quantile Regression for Panel Data
  • qrisk2cmd module to run QRISK2 from within Stata
  • qrprocess module for quantile regression: fast algorithm, pointwise and uniform inference
  • qsim module to produce variables for clarify routines
  • qsub module to emulate a cluster environment using your desktop PC
  • quadas module to provide graphical depiction of quality assessment in diagnostic accuracy reviews
  • qualtricsload module to download survey results from Qualtrics server and optionally convert to Stata dataset
  • quandl module to obtain data from Quandl using the Quandl API
  • quantiles module to categorize by quantiles
  • quickicc module to compute intraclass correlation and standard error calculation after xtmixed
  • quine module providing a self-producing program
  • qv module to compute quasi-variances
  • qweibull module to generate quantile-quantile plot for data vs fitted Weibull distribution

R

  • r2_mz module to compute McKelvey & Zavoina's R2
  • r2c module to compute several fit statistics for count data models
  • r2nlsur module to perform Overall System (NL-SUR) System R2, Adj. R2, F-Test, and Chi2-Test
  • r2o module to calculate an ordinal explained variation statistic
  • r2reg3 module to compute System R2, Adj. R2, F-Test, and Chi2-Test after reg3 or sureg
  • r2sem module to perform Overall System Structural Equation Modeling (SEM) R2, Adj. R2, F-Test, and Chi2-Test
  • r2var Module to Compute (VAR) Overall System R2, F-Test, and Chi2-Test
  • radar module to draw radar (spider) plots
  • radiusmatch module to perform distance-weighted radius matching with bias adjustment
  • raewma module to plot the risk adjusted exponentially weighted moving average
  • ralloc module to design randomized controlled trials
  • ralpha module to generate pseudo-random characters or words
  • randinf module to calculate the treatment effect and p-value of a stratified randomized controlled experiment
  • randomforest module to implement Random Forest algorithm
  • randomid module to identify every observation in the dataset with random alphanumeric characters
  • randomize module to create random assignments for experimental trials, including blocking, balance checking, and automated rerandomization
  • randomizr module to implement random assignment procedures
  • randomselect module to randomly select and tag observations
  • randomtag module to draw observations without replacement
  • randtreat module to randomly assign treatments uneven treatments and deal with misfits
  • randtreatseq module for generating treatments in a random sequence for each individual in the sample
  • rangejoin module to form pairwise combinations if a key variable is within range
  • rangerun module to run Stata commands on observations within range
  • rangestat module to generate statistics using observations within range
  • rankseg module to compute rank-order segregation measures with finite sample-bias correction
  • ranktest module to test the rank of a matrix using the Kleibergen-Paap rk statistic
  • ranova module to estimate single factor repeated measures ANOVA
  • ranvar module to compute the random group variance estimator of the mean for survey data
  • raschcvt module to produce data in WINSTEPS format
  • raschfit module to implement the Raschfit algorithm defined by Hardouin and Mesbah (2004)
  • raschify module to transform 1PL model estimates to Rasch metric
  • raschpower module to estimate power of the Wald test in order to compare the means of the latent trait in two groups of individuals
  • raschtest module to estimate parameters of the Rasch model by CML, MML or GEE
  • raschtestv7 module to estimate parameters of the Rasch model by CML, MML or GEE (v7)
  • rasprt module to plot the risk adjusted sequential probability ratio test (+/- risk adjusted cusum)
  • rassign module to perform regression-based test for random assignment to peer groups
  • rbounds module to perform Rosenbaum sensitivity analysis for average treatment effects on the treated
  • rc2 module to estimate Goodman's Row and Columns model 2
  • rc_spline module to generate restricted cubic splines
  • rca module to compute various revealed comparative advantage (RCA) indices
  • rcall module to provide seamless R in Stata
  • rcd module to run commands recursively
  • rcentile module to compute robust confidence intervals for percentiles
  • rcl module for estimation and simulation of random coefficient logit models
  • rcolp2mat module to produce a two-way table with row and column percentages as a matrix
  • rcsgen module to generate restricted cubic splines and their derivatives
  • rcspline module for restricted cubic spline smoothing
  • rct_minim module to assign treatments to subjects in a controlled trial
  • rctable module to create a table used in randomized controlled trials
  • rctmiss module to analyse a randomised controlled trial (RCT) allowing for informatively missing outcome data
  • rd module for regression discontinuity estimation
  • rdatasets module to access R datasets available in CSV format from GitHub
  • rdci module to calculate risk difference confidence intervals
  • rdcont module to compute non-randomized approximate sign test of density continuity
  • rdcv module to perform Sharp Regression Discontinuity Design with Cross Validation Bandwidth Selection
  • rddsga module to conduct subgroup analysis for regression discontinuity designs
  • rdecompose module to implements Gupta's rate decomposition method for aggregated data
  • rdesigni module to perform design analysis
  • rdexo module to produces relevant estimates for testing the external validity of LATE
  • rdpermute module to perform a permutation test for the Regression Kink (RK) and Regression Discontinuity (RD) Design
  • rdplot module to graph residual distribution after regression-type command
  • rdpower module to perform power calculations for random designs
  • rdrobust module to provide robust data-driven inference in the regression-discontinuity design
  • rds module for respondent driven sampling
  • readlog module to read and process a file
  • readreplace module to make replacements that are specified in an external dataset
  • readshare module to access Survey of Health Ageing and Retirement in Europe (SHARE) data
  • realcomimpute module to export and import data to the realcomImpute software package
  • recap module to perform capture-recapture analysis for three sources with Goodness-of-Fit based confidence intervals
  • recast2 module to change storage type of variable
  • reclink module to probabilistically match records
  • recode2 module to provide extended recode capabilities
  • reffadjust module to estimate adjusted regression coefficients for the association between two random effects variables
  • reffect module to compute Pearson's r Effect Size Computation for Analysis of Variance (ANOVA)
  • reformat module to reformat regression output
  • reg2docx module to report regression results to formatted table in DOCX file.
  • reg2hdfe module to estimate a Linear Regression Model with two High Dimensional Fixed Effects
  • reg_sandwich module to compute cluster-robust (sandwich) variance estimators with small-sample corrections for linear regression
  • reg_ss module to compute confidence intervals, standard errors, and p-values in a linear regression in which the regressor of interest has a shift-share structure
  • regall module to run and compare all regressions derived from complete sets of regressors
  • reganat module to perform graphical inspection of linear multivariate models based on regression anatomy
  • regaxis module to make regular linear and logarithmic axis scales, ranges and tick lists
  • regcheck module to examine regression assumptions
  • regcoef module to compute coefficients for quantifying relative importance of predictors
  • regdis module to control variables and decimals in regression displays
  • regen module to create new or change existing variable
  • reggae_music module for rasta Stata users
  • reghdfe module to perform linear or instrumental-variable regression absorbing any number of high-dimensional fixed effects
  • regife module to estimate linear models with interactive fixed effects
  • regintfe module to estimate a linear regression model with one interacted high dimensional fixed effect
  • reglike module to calculate log-likelihood function value from regress
  • regmain module to perform Quasi-Maximum Likelihood Regression
  • regoprob module to estimate random effects generalized ordered probit models
  • regoprob2 module to estimate random effects generalized ordered probit models (update)
  • regpar module to compute population attributable risks from binary regression models
  • regplot module to plot regression fit
  • regpred module to calculate linear regression predictions
  • regresby module to generate regression residuals by byvarlist
  • regsave module to save regression results to a Stata-formatted dataset
  • regtable module to produce file of conditional average treatment effects
  • regwls module to estimate Weighted Least Squares with factor variables
  • regxfe module to fit a linear high-order fixed-effects model
  • rel_clust module to compute indices of relative clusterability of variables
  • relicoef module to compute Raykov's factor reliability coefficient
  • relrank module to generate relative data (grade transformation)
  • rely module to graph reliability plot of predictions for linear or logistic regression models
  • relyplot module to graph reliability plot of predictions for linear or logistic regression models
  • renames module to rename variables
  • renfiles module providing a convenient way to change filenames for (a matched subset of) files in a directory of choice (and, if wanted, also recursively in a matched subset of offspring-directories)
  • rensheet module to edit variable names and labels
  • renvarlab module to rename variables, with option of using variable labels to create new variable names
  • reorder module to reorder variables in dataset, reversibly
  • repest module to run estimations with weighted replicate samples and plausible values
  • replacebylab module to replace values by drawing on value labels
  • report module to produce tables for XML
  • reporterror module to estimate true distribution from noisy measurements
  • repsample module to perform representative sampling from a population or theoretical distributions
  • reset module to calculate specification tests in regression analysis
  • reset2 module to calculate specification tests in 2SLS-IV regression analysis
  • resetxt Module to Compute Panel Data REgression Specification Error Tests (RESET)
  • reshape3 module to enhance reshape for multilevel data
  • reshape7 module to provide improved reshape
  • reshape8 module to reshape while preserving variable labels
  • respdiff module for generating response differentiation indices
  • reswage module to estimate a reservation wage model with endogenous selection
  • retrodesign module to compute type-S (Sign) and type-M (Magnitude) errors
  • reu module to compute number of random error units (REU) in epidemiological studies
  • rev module to reverse value order of variables
  • revcat module to fit reversible catalytic models
  • revrs module to reverse variable value order
  • revv module to reverse value order of variables
  • reweight module for survey reweighting
  • reweight2 module to reweight survey data to user-defined control totals
  • rewrite module to rewrite text files from disk performing macro substitutions
  • rfl module to maintain lists of recently accessed files
  • rforest module to implement Random Forest algorithm
  • rfregk module to estimate random-effects model with weights
  • rgb2 module to generate GB2 random numbers
  • rglm module to estimate robust generalized linear models
  • rgroup module for Random Group Variance Estimation
  • rhausman module to perform Robust Hausman Specification Test
  • rhetplot module to graph residual heteroscedasticity after regression-type command
  • rho_xtregar module to estimate a consistent and asymptotically unbiased autocorrelation coefficient for xtregar fixed-effects or random-effects linear model with an AR(1) disturbance
  • rhsbsample module for repeated half-sample bootstrap sampling
  • richness module to compute measures of income richness
  • ridder module to solve equation by Ridder's method
  • ridge2sls module to compute Two-Stage Least Squares (2SLS) Ridge & Weighted Regression
  • ridgereg module to compute Ridge Regression Models
  • rif module to compute Recentered Influence Functions (RIF): RIF-Regression and RIF-Decomposition
  • rifle module to perform Randomization Inference for Leader Effects
  • rii module to perform Repeated-Imputation Inference
  • riigen module to generate Variables to Compute the Relative Index of Inequality
  • ritest module to perform randomization inference and permutation tests
  • rmanova module to estimate repeated measures ANOVA
  • rmfiles module to provide a convenient way to remove matched files within a specified directory and possibly, if applicable, corresponding empty directories (which will also, if wanted, be applied recursively to a matched subset of offspring-directories) "- rmpw module to implement the RMPW method of causal mediation analysis to decompose treatment effects into ""direct"" and ""indirect"" effects"
  • rmse module to calculate raw or adjusted RMSE (Root MSE)
  • rnd modules for random number generation
  • robbox module to compute generalized box plots
  • robjb module to compute Brys et al. (2008) robust Jarque-Bera Normality test
  • roblpr module to estimate long memory in a set of timeseries
  • robreg module providing robust regression estimators
  • robstat module to compute robust univariate statistics
  • robumeta module to perform robust variance estimation in meta-regression with dependent effect size estimates
  • rocmic module to estimate minimally important change (MIC) thresholds for continuous clinical outcome measures using ROC curves
  • rocss module to calculate ROC curve and other statistics for any classification method
  • roctabi module for performing nonparametric ROC analysis using summarized data
  • rolling2 module to perform rolling window and recursive estimation
  • rolling3 module to compute predicted values for rolling regressions
  • rollreg module to perform rolling regression estimation
  • rollstat module to compute rolling-window statistics for time series or panel data
  • roman module for handling Roman numerals and decimal equivalents
  • romantoarabic module for converting roman numerals to arabic numbers
  • rosssekh module to perform forecast comparison and forecast rationality tests
  • rotate2 module to produce sorted and labeled rotated matrix
  • rowmat_utils module to perform parallel computation on sequences of matrices in Mata
  • rowranks module to create row ranks of a set of variables
  • rowsort module to row sort a set of integer variables
  • rpme module to compute Robust Pareto midpoint estimator
  • rpnfcn module to provide a Mata generic function evaluator based on Reverse Polish Notation
  • rq module to compute Reynal-Querol index of ethnic polarization
  • rqrs module to install required community-contributed packages
  • rrcalc module to calculate AAPOR compliant response rates
  • rrlogit module to estimate logistic regression for randomized response data
  • rrreg module to estimate linear probability model for randomized response data
  • rscore module for estimation of responsiveness scores
  • rscript module to call an R script from Stata
  • rsens module to perform sensitivity analysis after matching with multiple nearest neighbours
  • rsgt module to generate skewed generalized t random numbers
  • rsoort module to perform Oort's Structural Equations Modeling (SEM) based procedure to detect Response Shift
  • rsort module to perform reproducible random sorting of dataset
  • rsource module to run R from inside Stata using an R source file
  • rspeedindex module to compute a response speed index and perform outlier identification
  • rsz module to draw a stratified simple random sample, a systematic sample, or a randomly split zones sample, with probabilities proportional to size
  • rtfutil module to provide utilities for writing Rich Text Format (RTF) files
  • rtmci module to estimate regression to the mean effects with confidence intervals
  • rtnorm Mata module to produce truncated normal pseudorandom variates (Mata)
  • runby module to run a user's program on by-groups of observations
  • runmixregls module to run the MIXREGLS software from within Stata
  • runmlwin module to run the MLwiN multilevel modelling software from within Stata
  • runmplus module to run Mplus from Stata
  • running module for symmetric nearest neighbour smoothing
  • runningprod Mata module to obtain the running product of a vector
  • runparscale module to run PARSCALE from Stata
  • russ_stata tutorial in Russian
  • rvfplot2 module to produce residual-versus-fitted plot after regression-type command
  • rvlrplot module to plot residuals vs lagged residuals for time series data
  • rvpplot2 module to graph residual-versus-predictor plot after regression-type command
  • rwg module to compute within group interrater reliability
  • rwolf module to calculate Romano-Wolf stepdown p-values for multiple hypothesis testing

S

  • sadi module to compute Sequence Analysis Distance Measures
  • sae module to provide commands and mata functions devoted to unit level small area estimation
  • safedrop module to drop variables if and only if varnames specified in full
  • sampicc module to compute sample size for an intra-class correlation (ICC)
  • samplepps module to draw a random sample with probabilities proportional to size
  • samplesize module to execute sampsi multiple times and produce a graph
  • sampsi_fleming module to compute exact sample size calculation for single-stage designs
  • sampsi_gehan module to give the parameters of the single stage Gehan design
  • sampsi_mcc module to calculate Sample Size or Power for Matched Case-Control Studies
  • sampsi_reg module to calculate the sample size/power for linear regression
  • sampsi_rho module to compute sample size for a Pearson correlation
  • sampsi_sccs module to calculate the sample size for self controlled case series study designs
  • saswrapper module to run a SAS program from within Stata
  • savasas module to save your dataset as a SAS dataset
  • save12 module to save data in version 12 format
  • save12_13 module to save data in version 12 or version 13 format
  • save13 module to save data in version 13 format
  • save9 module to save dataset in Stata 9 format
  • saveascii module to provide wrapper for saveold, incorporating translation of unicode characters to extended ASCII encodings
  • saveresults module to save output from a command in a file on disk
  • savesome module to save subset of data
  • savespss module to save data to SPSS (.sav) system file
  • sbbq module to implement the Harding and Pagan (2002) business cycle dating algorithm
  • sbmeff module to estimate slack-based measure efficiency of decision-making units
  • sbplot module to generate scatter plot with one y variable shown by vertical bars
  • sbplot5 module to generate scatter plot with one y variable shown by vertical bars
  • sbri module to calculate the Spearman-Brown reliability
  • sbrowni module to calculate Spearman-Brown reliability correction for test length
  • scale_transformation module to find a 6th-degree monotonic polynomial transformation for a test score scale
  • scandata module to scan a dataset for specified characteristics
  • scat3 module for crude three-dimensional graphics
  • scatter3d module to create 3D scatter plots for the web, using HTML5 3D feature and java api developped by CanvasXpress
  • scdensity module to perform univariate self-consistent density estimation
  • scenreg module for estimating effects in models for binary variables given a scenario concerning unobserved variables
  • scentest module to compute scenario arithmetic means and their difference
  • scenttest module to compute scenario arithmetic means and their difference
  • scfcombo module to estimate errors using the Survey of Consumer Finances
  • scheme-burd -burd module to provide a ColorBrewer-inspired graphics scheme with qualitative and blue-to-red diverging colors
  • scheme-mrc -mrc module to provide graphics scheme for UK Medical Research Council
  • scheme-tfl -tfl module to provide graph scheme, based on Transport for London's corporate colour pallette
  • scheme_rbn1mono module to provide minimal monochrome graphics schemes
  • scheme_scientific module to provide a graphic scheme favored by many scientific journals
  • scheme_tufte module to provide a Tufte-inspired graphics scheme
  • scls module to perform symmetrically censored least squares
  • scm module to process data for Social Cognitive Mapping
  • scoregof module to perform Score test of normality for probit and bivariate probit
  • scoregrp module to perform a score test for equality of parameters across groups of observations
  • scores module to creates scores (row-wise) of a set of variables allowing the specification of the number of valid values required and/or to produce various transformations of scores
  • screen module to screen observations that meet specific distributional criteria in terms of percentile, standard deviation or interquartile range
  • scsomersd module to compute rank statistics for scenario comparisons
  • scto module to provide utility functions for data collected using SurveyCTO
  • sctree module to implement classification trees via optimal pruning, bagging, random forests, and boosting methods
  • sdecode module to decode a numeric variable into a string variable
  • sdist module to simulate the Central Limit Theorem
  • sdlim module to rescale variables measured with a limited rating scale
  • sdline module to plot SD line or reduced major axis
  • sdmxuse module to import data from statistical agencies using the SDMX standard
  • sdtest modules (corrected) sdtest, sdtesti
  • searchfor module to search for texts in selected or all string variables
  • seast module to calculate tests for seasonality with a variable population at risk
  • seg module to compute multiple-group diversity and segregation indices
  • segregation module to compute segregation indices
  • seldum module to transform indicator variables coefficients in semilog model
  • selectvars module for selecting all possible n-tuples from a varlist
  • semean module to compute standard error of mean (optionally from transformed data)
  • semipar module to compute Robinson's (1988) semiparametric regression estimator
  • sencode module to encode a string variable non-alphanumerically into a numeric variable
  • sendtoslack module to send notifications from Stata to your smartphone through Slack
  • sensatt module to compute sensitivity for matching estimators
  • sensemakr module to provide sensitivity tools for OLS
  • sensimatch module to provide data-driven sensitivity analysis for Matching estimator
  • senspec module to compute sensitivity and specificity results saved in generated variables
  • sentinel module for selecting sentinel variants from SNPs in a case-control study
  • sepscatter module to draw scatter (or other twoway) plots separated by a third variable
  • seq module to generate sequences of integers
  • seqfind module to find the sequence of a numeric character within a variable list
  • seqlogit module to fit a sequential logit model
  • sequence module for generating versatile numeric sequences
  • setpoisson module to estimate a Selection Endogenous Treatment Poisson model by MSL
  • setrngseed module to to set random-number seed using truly random integer from random.org
  • sf12 module to validate sf12 input and calculate sf12 version 2 t scores
  • sf36 module to calculate summary statistics for the SF-36 Health Survey Instrument
  • sf36fr module to compute the scores of the French versions of the SF36 questionnaire
  • sf36v2 module to score Short-Form 36 version 2
  • sfcross module for cross-sectional stochastic frontier models estimation
  • sfkk module to estimate endogenous stochastic frontier models in the style of Karakaplan and Kutlu
  • sfpanel module for panel data stochastic frontier models estimation
  • sgpv module to calculate Second-Generation P-Value(s) (SGPV) and their associated diagnosis
  • sgtreg module to perform Regression using the Skewed Generalized T Distribution
  • shapley module to perform additive decomposition of sample statistic
  • shapley2 module to compute additive decomposition of estimation statistics by regressors or groups of regressors
  • sheafcoef module to compute sheaf coefficients
  • shortdir module to return the short Windows directory path name
  • shorth module for descriptive statistics based on shortest halves
  • showgph module to to show graphs previously saved
  • shownear module to show nearby values of numeric variable
  • shp2dta module to converts shape boundary files to Stata datasets
  • shuffle module to shuffle a list
  • shuffle8 module to shuffle a list
  • shufflevar module to shuffle variables relative to the rest of the dataset
  • sicff module to create Fama French Industry Variable from SIC Code
  • sigcoef module to count statistically significant coefficients across models
  • silhouette module to calculate and graph silhouette width for cluster analysis
  • sim_arma module to simulate data for ARMA processes
  • simarwilson module to perform Simar & Wilson (2007) efficiency analysis
  • simirt module to process data generated by IRT models
  • simon2stage module to to compute the design parameters for a Simon two-stage design
  • simpplot module creating a plot describing p-values from a simulation by comparing nominal significance levels with the coverages
  • simpute module to evaluate the effect of missing data on a published clinical trial
  • simsum module to perform analyses of simulation studies including Monte Carlo error
  • simulate2 module enhancing and parallelising simulate
  • simuped module to simulate two- and three-generation family data
  • singlearm module supporting design and analysis of single-arm clinical trials
  • singleb module to compute Contingent Valuation using Single-Bounded Dichotomous Choice
  • sivreg module to perform adaptive Lasso with some invalid instruments
  • sixplot module to display six diagnostic and descriptive graphs for a single variable
  • sizefx module to compute effect size correlations
  • skbim module to generate a sample from a bimodal distribution using normal or skewed (skew-normal) unimodal distributions, as defined by the user
  • skdecomp module to estimate Shapley value of growth, price, and distribution components on changes in poverty indicators
  • skewplot module to draw skewness plots
  • skilmack module to calculate Skillings-Mack statistic
  • sknor module to generate a sample from a normal or skewed (skew-normal) distribution, as defined by the user
  • skprobit module to perform Lagrange Multiplier Test for Normality for Probit model
  • sliceplot module for time series or other plot in slices
  • slideplot module for sliding bar plot for frequencies or percents
  • slideviewer module to manage linked SMCL presentations "- slist module to ""smart list"" variables in compact format"
  • slopepower module to compute sample size and power calculator for rate outcomes
  • sls module to perform semiparametric least squares
  • smcfcs module to perform multiple imputation of covariates by substantive model compatible fully conditional specification
  • smcl2do module to convert log files to do-files in a robust fashion
  • smclpres module to create a SMCL presentation from a do file
  • smcvir module to compute sliced mean variance-covariance inverse regression
  • smfit module to fit a Singh-Maddala distribution by maximum likelihood
  • smgfit module to fit a Singh-Maddala distribution to grouped data via ML
  • smhsiao module to conduct Small-Hsiao test for IIA in multinomial logit
  • smileplot module to create plots for use with multiple significance tests
  • smithwelch module to compute trend decomposition of outcome differentials
  • smrtbl module to produce various tables for putdocx
  • smvcir module to compute sliced mean variance-covariance inverse regression
  • smwoodbury module to compute Sherman-Morrison-Woodbury rank-k update to matrix inverse
  • sob module to perform second-order bootstrap standard error correction
  • soepdo module to handle SOEP drop-outs
  • soepren module providing easy SOEP renames
  • soepuse module providing easy SOEP access
  • somersd module to calculate Kendall's tau-a, Somers' D and median differences
  • soreg module to implement the stereotype ordinal regression model
  • sortl module to sort factor loadings or rotated matrix from PCA or factor
  • sortlistby module to sort by random or by ancillary numlist
  • sortobs module to sort observations according to a specified order
  • sortrows program to perform sort within observation
  • spaces module to parse a file for delimiters
  • spagg module to create aggregate source or target contagion spatial effect variable for directed dyadic data
  • sparkline module for sparkline-type plots
  • sparl module to produce scatter plot and y-x regression line
  • spautoc modules to calculate spatial autocorrelation (Moran and Geary measures)
  • spautoreg module to estimate Spatial (Lag-Error-Durbin-SAC-SPGKS-SPGSAR-GS2SLS-GS3SLS-SPML-SPGS-SPIVREG-IVTobit)
  • spcs2xt module to Convert Cross Section to Panel Spatial Weight Matrix
  • spdir module to create directed dyad contagion spatial effect variable
  • spearman2 module to calculate Spearman rank correlations, extended
  • spec_stand module to create dataset of stratum-specific, unadjusted and standardized rates
  • specc module to create specification curves
  • speccheck module to check model specification
  • spechist module to produce specific histograms for continuous variables
  • specialexp module to obtain expression that evaluates to specified string
  • spectdens module to compute sample spectral density
  • speedergles module to compute the GLES response speed index
  • spell module for identification of spells or runs of similar values
  • spellutil module of utilities for the manipulation of timespan data
  • spgen module to generate spatially lagged variables
  • spglsxt module to estimate Spatial Panel Autoregressive Generalized Least Squares Regression
  • spgmm module to estimate Spatial Autoregressive Generalized Method of Moments Cross Sections Regression
  • spgmmxt module to estimate Spatial Panel Autoregressive Generalized Method of Moments Regression
  • spgrid module to generate two-dimensional grids for spatial data analysis
  • sphdist module to compute spherical distances
  • spike module to allow for a zero willingness to pay
  • spikeplt module to generate spike plot showing fine structure of the data
  • spineplot module for spine plots for two-way categorical data
  • spkde module to perform kernel estimation of density and intensity functions for two-dimensional spatial point patterns
  • splagvar module to generate spatially lagged variables, construct the Moran Scatter plot, and calculate Moran's I statistics
  • split modules for splitting string variables into parts
  • splitit module to split chronological overlapping spells in spell data
  • splitvallabels module to split up value labels for multi-line graph labelling
  • spmap module to visualize spatial data
  • spmlreg module to estimate the spatial lag, the spatial error, the spatial durbin, and the general spatial models by maximum likelihood
  • spmon module to create spatial effect variable for monadic data
  • spmstar module to Estimate (m-STAR) Spatial Multiparametric Spatio Temporal AutoRegressive Regression Models
  • spmstard module to estimate Multiparametric Spatio Temporal AutoRegressive Regression Spatial Durbin Cross Sections Models
  • spmstardh module to Estimate (m-STAR) Spatial Multiparametric Spatio Temporal AutoRegressive Regression: Spatial Durbin Multiplicative Heteroscedasticity Cross Sections Models
  • spmstardhxt module to estimate (m-STAR) Spatial Multiparametric Spatio Temporal AutoRegressive Regression: Spatial Durbin Multiplicative Heteroscedasticity Panel Models
  • spmstardxt module to Estimate (m-STAR) Spatial Multiparametric Spatio Temporal AutoRegressive Regression: Spatial Durbin Panel Models
  • spmstarh Module to Estimate (m-STAR) Spatial Multiparametric Spatio Temporal AutoRegressive Regression: Spatial Lag Multiplicative Heteroscedasticity Cross Sections Models
  • spmstarhxt module to Estimate (m-STAR) Spatial Multiparametric Spatio Temporal AutoRegressive Regression: Spatial Lag Multiplicative Heteroscedasticity Panel Models
  • spmstarxt module to Estimate (m-STAR) Spatial Panel Multiparametric Spatio Temporal AutoRegressive Regression Models
  • sppack module for cross-section spatial-autoregressive models
  • spregcs Module Econometric Toolkit to Estimate Spatial Cross Section Regression Models
  • spregdhp module to estimate Spatial Panel Han-Philips Linear Dynamic Regression: Lag & Durbin Models
  • spregdpd module to estimate Spatial Panel Arellano-Bond Linear Dynamic Regression: Lag & Durbin Models
  • spregfext module to compute Spatial Panel Fixed Effects Regression: Lag and Durbin Models
  • spreghetxt module to Estimate Spatial Panel Random-Effects Multiplicative Heteroscedasticity Regression: Lag and Durbin Models
  • spregrext module to compute Spatial Panel Random Effects Regression: Lag and Durbin Models
  • spregsac module to estimate Maximum Likelihood Estimation AutoCorrelation (SAC) Cross Section Regression
  • spregsacxt module to Estimate Maximum Likelihood Estimation Spatial AutoCorrelation (SAC) Panel Regression
  • spregsar module to estimate Maximum Likelihood Estimation Spatial Lag Cross Sections Regression
  • spregsarxt module to Estimate Maximum Likelihood Estimation Spatial Lag Panel Regression
  • spregsdm Module to Estimate Maximum Likelihood Estimation Spatial Durbin Cross Sections Regression
  • spregsdmxt Module to Estimate Maximum Likelihood Estimation Spatial Panel Durbin Regression
  • spregsem Module to Estimate Maximum Likelihood Estimation Spatial Error Cross Sections Regression
  • spregsemxt Module to Estimate Maximum Likelihood Estimation Spatial Error Panel Regression
  • spregxt Econometric Toolkit to Estimate Spatial Panel Regression Models
  • sproper module to get proper case for foreign names in variables
  • spseudor2 module to calculate goodness-of-fit measures in spatial autoregressive models
  • spspc module to create specific source or target contagion spatial effect variable for directed dyadic data
  • spsurv module to fit split population survival ('cure') model
  • sptobitmstar Module to Estimate Tobit (m-STAR) Spatial Multiparametric Spatio Temporal AutoRegressive Regression: Spatial Lag Cross Sections Models
  • sptobitmstard Module to Estimate Tobit (m-STAR) Spatial Multiparametric Spatio Temporal AutoRegressive Regression: Spatial Durbin Cross Sections Models
  • sptobitmstardh Module to Estimate Tobit (m-STAR) Spatial Multiparametric Spatio Temporal AutoRegressive Regression: Spatial Durbin Multiplicative Heteroscedasticity Cross Sections Models
  • sptobitmstardhxt Module to Estimate Tobit (m-STAR) Spatial Multiparametric Spatio Temporal AutoRegressive Regression: Spatial Durbin Multiplicative Heteroscedasticity Panel Models
  • sptobitmstardxt module to estimate Tobit (m-STAR) Spatial Multiparametric Spatio Temporal AutoRegressive Regression: Spatial Durbin Panel Models
  • sptobitmstarh Module to Estimate Tobit (m-STAR) Spatial Multiparametric Spatio Temporal AutoRegressive Regression: Spatial Lag Multiplicative Heteroscedasticity Cross Sections Models
  • sptobitmstarhxt module to estimate Tobit (m-STAR) Spatial Multiparametric Spatio Temporal AutoRegressive Regression: Spatial Lag Multiplicative Heteroscedasticity Panel Models
  • sptobitmstarxt module to estimate Tobit (m-STAR) Spatial Multiparametric Spatio Temporal AutoRegressive Regression: Spatial Lag Panel Models
  • sptobitsac module to Estimate Tobit MLE Spatial Autocorrelation Cross Sections Regression
  • sptobitsacxt module to estimate Tobit MLE Spatial AutoCorrelation (SAC) Panel Regression
  • sptobitsar module to Estimate Tobit MLE Spatial Lag Cross Sections Regression
  • sptobitsarxt module to estimate Tobit MLE Spatial Lag Panel Regression
  • sptobitsdm module to Estimate Tobit MLE Spatial Durbin Cross Sections Regression
  • sptobitsdmxt module to estimate Tobit MLE Spatial Panel Durbin Regression
  • sptobitsem module to Estimate Tobit MLE Spatial Error Cross Sections Regression
  • sptobitsemxt module to estimate Tobit MLE Spatial Error Panel Regression
  • spundir module to create directed dyad contagion spatial effect variable
  • spweight module to compute Cross Section Spatial Weight Matrix
  • spweightcs module to compute Cross Section Spatial Weight Matrix
  • spweightxt module to compute Panel Spatial Weight Matrix
  • spwmatfill module to assign first nearest neighbors to observations with no contiguous neighbors
  • spwmatrix module to generate, import, and export spatial weights
  • spxttobit module to estimate Tobit Spatial Panel Autoregressive Generalized Least Squares Regression
  • sq module for sequence analysis
  • sqmc module to compute squared multiple correlation
  • sqn module to estimate Rousseeuw and Croux (1993) robust measure of dispersion
  • sqr module to make graphs square, or any other shape
  • sratio module to calculate ratio study statistics
  • sreweight module for survey reweighting
  • srtree module to implement regression trees via optimal pruning, bagging, random forests, and boosting methods
  • ssaggregate module to create shock-level aggregates for shift-share IV
  • ssccount module to download ssc hits over time for user-written packages
  • sscsubmit module -- some notes on SSC Archive use for Stata users
  • ssi module to estimate sample size for randomized controlled trials
  • ssizebi module to calculate sample size and power for the comparison of two or more proportions
  • sskapp module to compute sample size for the kappa-statistic measure of interrater agreement
  • sslope module to calculate slope coefficients for regression interactions
  • ssm program to estimate endogenous switching and sample selection models for binary, count, and ordinal variables using ML
  • sspecialreg module to estimate binary choice model with discrete endogenous regressor via special regressor method
  • sssplot module to generate seasonal subseries plots
  • st2openbugs module to implement an interface between Stata and OpenBUGS on Linux
  • stack module to stack datasets
  • staft module to fit flexible parametric accelerated failure time models
  • stak module to do simple reshapes or stacks
  • stan module to use Stan software for Bayesian modeling
  • starjas module to produce Arjas plot to check proportional hazards assumption
  • stat2data module to generate a Dataset of Descriptive Statistics Calculated for a List of Variables
  • stata2pajek module to export data to Pajek .net format
  • statacmds module to produce list of all commands known to Stata, including fuctions and built-ins
  • stataid module to obtain and display information about running Stata instances under Microsoft Windows
  • statajava module to provide Java library of helper classes for Stata plug-ins
  • statapush module to send push notifications to mobile device
  • statastates module to add US state identifiers to dataset
  • statax module to highlight Stata syntax
  • statflow module for dynamically updating flowcharts in Excel
  • staticfc module to compute static forecasts for a recursive rolling regression
  • statplot module for plots of summary statistics, including by category
  • statsbyfast module to efficiently compute statistics for by-group
  • statsmat module to place descriptive statistics in matrix
  • stbget module to get packages from Stata Technical Bulletin
  • stbrier module to compute Brier score for censored time-to-event (survival) data
  • stbtcalc module to calculate time-varying regression coefficients in Cox PH models
  • stcapture module to estimate survival functions and hazard ratios
  • stcascoh module to create dataset suitable for case-cohort analysis
  • stcband module to compute Equal precision and Hall-Wellner confidence band for survival function
  • stciplot module to plot pointwise confidence intervals
  • stcmd module to execute StatTransfer command from within Stata
  • stcomlist module to list cumulative function in presence of competing risks
  • stcompadj module to estimate the covariate-adjusted cumulative incidence function in the presence of competing risks
  • stcompet module to generate cumulative incidence in presence of competing events
  • stcoxgof module to produce goodness-of-fit test and plot after a Cox model
  • stcoxplt module to plot predicted survival curves from Cox model
  • stcrmix module to estimate Mixtures of Generalized Gamma Models for Competing Risks
  • stcrprep module to prepare data for competing risks analysis using time-dependent weights
  • stcstat module to generate evaluation of fit for Cox regression model
  • stcstat2 module to compute Harrell's c-index for flexible parametric models
  • stcumh module to check proportional hazards assumption
  • std_beta module to calculate centered and standardized coefficients after estimation
  • stddiff module to compute Standardized differences for continuous and categorical variables
  • stdtable module to standardize cross-tabulations to pre-specified row and column totals
  • stexpect module to compute expected survival
  • stgenreg module to fit general parametric survival models
  • stgit module to retrieve information about a Git repository
  • stgtcalc module to calculate time-varying regression coefficients in Cox PH models (variant)
  • stjm module to fit shared parameter joint models of longitudinal and survival data
  • stjm11 module to fit shared parameter joint models of longitudinal and survival data
  • stjmgraph module to create a joint longitudinal and survival graph
  • stkap module to automatically center adjustment variables for Kaplan-Meier plots
  • stkerhaz module to produce baseline hazard estimates via kernel smoother and plots
  • stlda module for Limiting Dilution Analysis (LDA)
  • stmd module to convert dynamic Markdown to HTML format, using Stata dyndoc
  • stmix module to fit two-component parametric mixture survival models
  • stmixed module to fit multilevel mixed effects parametric survival models
  • stndzxage module to standardize by age
  • stnet module to calculate net survival
  • stns module for estimation of net survival
  • sto module to toggle trace switch
  • stockcapit module to calculate physical capital stock by the perpetual-inventory method
  • stockquote module to retrieve stock quotes to a Stata-formatted dataset
  • stop module to interrupt dofiles intelligently (closes logfiles and optionally sends a message to your smartphone)
  • stopenbugs module to implement an interface between Stata and OpenBUGS on Linux
  • storecmd modules to store and repeat commands using characteristics
  • stpepemori module to test the equality of cumulative incidences across two groups in the presence of competing risks
  • stphcoxrcs module to check proportional-hazards assumption using restricted cubic splines
  • stpiece module to estimate piecewise-constant hazard rate models
  • stpm module to fit flexible parametric models for survival-time data
  • stpm2 module to estimate flexible parametric survival models
  • stpm2_standsurv module to obtain standardized survival curves after fitting an stpm2 survival model
  • stpm2cif module to estimate cumulative incidence function after running stpm2
  • stpm2cm module for estimation of crude mortality after fitting stpm2 relative survival model
  • stpm2cr module to estimate flexible parametric competing risks regression models
  • stpm2illd module to estimate Flexible Parametric Illness-death Models
  • stpm_standsurv module to obtain standardized survival curves after fitting an stpm2 survival model
  • stpp module to compute Pohar-Perme non-parametric estimate of marginal relative (net) survival
  • stquant module to estimate quantiles for survival time
  • str2d module to compute explained variation for survival models
  • stratarand module to perform stratified random assignment
  • strbee module to estimate a treatment effect adjusting for treatment switches
  • strcs module to estimate flexible parametric survival models on the log hazard scale
  • strdate module to replace string date variables with numeric date variables with the same names
  • strdist module to calculate the Levenshtein distance, or edit distance, between strings
  • strgen module to generate string variables without knowing string type
  • strgroup module to match strings based on their Levenshtein edit distance
  • strip module to strip unwanted characters
  • stripplot module for strip plots (one-way dot plots)
  • strkeep module to clean string variables by keeping only whitelisted characters
  • strmst2 module to compare restricted mean survival time
  • strparse module to parse string variables
  • strrec module to recode string variables according to rules
  • strsrcs module to fit flexible parametric models for relative survival using restricted cubic splines
  • stselpre module to fit proportional hazards model to case-cohort data
  • stsurvdiff module to compute difference in Kaplan-Meier survival curves
  • stsurvimpute module for flexible imputation of censored survival data
  • studysi module to calculates sample size and power for comparative studies
  • stylerules module -- suggestions on programming style
  • subinfile module to perform byte-based substitution for the contents of a text-formatted file
  • sublime module to set up StataEditor (a package of Sublime Text) automatically
  • subsave module to save a subset of the dataset in memory to a disk file
  • subset module to implement best covariates and stepwise subset selection
  • subsetbyvif module to select a subset of covariates constrained by VIF
  • subsetplot module for plots for each subset with rest of the data as backdrop
  • subsim module providing subsidy simulation toolkit (SUBSIM)
  • subsim_1 module providing subsidy simulation toolkit (SUBSIM)
  • subsim_2 module providing subsidy simulation toolkit (SUBSIM)
  • suchowtest module to calculate successive Chow tests on cross section and time series data
  • sum2 module to store summary statistics
  • sum2docx module to report summary statistics to formatted table in DOCX file.
  • sumdist module to calculate summary statistics for income distributions
  • summdate module for summarizing date variable
  • summout module to produce comparative table of summary statistics
  • summtab module to compute summary statistics overall and/or across levels of a categorical variable
  • summvl module to generate summary table with variable labels (version 5)
  • sumscale module to generate summated scales
  • sumstats module to produce tables of summary statistics
  • sumup module to compute summary statistics by group
  • sunflower module to generate density distribution sunflower plots
  • supclust module to build superordinate categories
  • supsmooth module to perform Friedman's super smoother
  • surface module to draw a 3D wireform surface plot
  • surloads module to calculate simple scores
  • surrog module to compute surrogate variables after factor analysis
  • surveybias module to compute the B and B_w multinomial accuracy measures for polling bias
  • survsim module to simulate complex survival data
  • survtime module to compute survival time for use in stset
  • survwgt module to create and manipulate survey weights
  • sutex module to LaTeX code for summary statistics tables
  • sutex2 module to produce LaTeX tables for summary statistics
  • svalue module for computing and graphically displaying S-values against their respective P-values
  • svarsirf module to compute structural impulse response function after SVAR
  • svcom module to save calculations and estimations in parallel log file
  • svmachines module providing Support Vector Machines for both Classification and Regression
  • svmatf module to save a matrix to a file
  • svr module to compute estimates with survey replication (SVR) based standard errors
  • svret module to save returned results to your dataset
  • svtxt module to store text in a parallel log file
  • svvarlbl module to save variable labels to a file
  • svybsamp2 module to perform re-sampling for complex survey data
  • svygei_svyatk module to derive the sampling variances of Generalized Entropy and Atkinson inequality indices when estimated from complex survey data
  • svylorenz module to derive distribution-free variance estimates from complex survey data, of quantile group shares of a total, cumulative quantile group shares
  • svypxcat module to calculate predicted means or proportions for nominal X's for survey data
  • svypxcon module to calculate predicted means or proportions for a continuous X variable for survey data
  • svysampsi module to calculate sample size for a simple random survey with a dichotomous outcome
  • svyselmlog module to compute selectivity adjustment based on the multinomial logit for survey design
  • svytabs module to Create Tables for export Combining Multiple Survey Tabulations
  • swain module to correct the SEM chi-square overidentification test in small sample sizes or complex models
  • swapval module for swapping values of two variables
  • swblock module to perform parsimonious model selection in haplotype analysis
  • swboot module to bootstrap stepwise linear or logistic regression models
  • switch module to evaluate a given value against possible cases and their corresponding values
  • switch_oprobit module to estimate a switching regression for a binary endogenous treatment and ordered outcome
  • switchoprobit module to estimate a switching regression for a binary endogenous treatment and ordered outcome
  • switchoprobitsim module to estimate a switching regression for a binary endogenous treatment and ordered outcome using a latent factor structure
  • switchr module to estimate switching regression models
  • swpermute module to compute Permutation tests for Stepped-Wedge Cluster-Randomised Trials
  • sxpose module to transpose string variable dataset
  • symmetry modules to perform tests of symmetry for NxN contingency tables
  • syncmrates module to compute child mortality rates using synthetic cohort probabilities
  • synlight module to highlight syntax in SMCL and translate to HTML format
  • synth module to implement Synthetic Control Methods for Comparative Case Studies

T

  • t2docx module to report Mean Comparison for variables between two groups with formatted table output in DOCX file
  • t2way5 module to perform Tukey's Two-Way Analysis by Medians
  • tab2mat module to produce a one-way table as a matrix
  • tab2way module to handle two-way tables with percentages
  • tab3way module to handle three-way tables with percentages
  • tab_chi modules for tabulation of multiple variables in Stata 8.2 or better
  • taba module for tabulation of frequencies
  • tabcond module to tabulate frequencies satisfying specified conditions
  • tabcount module to tabulate frequencies, with zeros explicit
  • tabcusum module to graph observed minus expected CUSUM vertically aligned with tabular CUSUM
  • tabex module to efficiently export tabulations to Excel
  • tabexport module to export tables of summary statistics to text files
  • tabform module to export tables of means, standard deviations to text file
  • tabhbar module to show table of frequencies as horizontal bar chart
  • tabhplot module to show table of frequencies as horizontal plot
  • tablab module to autocrosstabulate a variable "- table1 module to create ""table 1"" of baseline characteristics for a manuscript" "- table1_mc module to create ""table 1"" of baseline characteristics for a manuscript"
  • tablecol module to add column percentages to table command
  • tablemat module to produce and export table of results in a matricial format
  • tablepc module for percent calculation prior to table
  • tableplot module giving graphical display in two-way table format
  • tabletutorial module to provide tutorial on automated table generation and reporting with Stata
  • tabm module to extend tabulate and produce XML format
  • tabmerge module to tabulate report on merge
  • tabmult module to produce multiple two-way tabulations
  • tabone module for exporting single or multiple one-way tabulations into various formats
  • tabout module to export publication quality cross-tabulations
  • tabplot module to show table of frequencies as table of bars
  • tabsheet module to rapidly output cross-tabular statistics to a tab-delimited file
  • tabstat2excel module to export summary statistics generated from a tabstat command to an Excel spreadsheet
  • tabstatmat module to save matrices saved by tabstat to single named matrix
  • tabxml module to save results in XML format for use in Microsoft Excel and OpenOffice Calc
  • tail module to print the tail observations (last observations in data set)
  • tarow module to tabulate each row against all others
  • tcod module to perform Gloudemans' COD tolerance tests
  • tddens module to estimate and graph bivariate density with heat map
  • tdpd module to analyze third-degree price discrimination
  • ted module to test Stability of Regression Discontinuity Models
  • testcase module to provide a code-testing framework for Mata
  • tex2col module to Split Text into Columns
  • tex3pt module to produce LaTeX documents from estout with threeparttable
  • tex_equal module to compare text files
  • texdoc module to create a LaTeX document including Stata output
  • texify module to compile a LaTeX document
  • texmerge module to merge many .tex files into one and then compile the final file to .pdf
  • texresults module to create external file of LaTeX macros with results
  • texsave module to save a dataset in LaTeX format
  • textbarplot module to produce horizontal text and bar plot
  • texteditors module -- some notes on text editors for Stata users
  • textfind module to identify, analyze, and convert text entries into categorical data
  • textgph module to add strings of text to a graph
  • textpad module to call TextPad to edit a file
  • tfdiff module to compute pre- and post-treatment estimation of the Average Treatment Effect (ATE) with fixed binary treatment
  • tfinsert module to insert text into an open text file
  • tfr2 module to compute Age-specific fertility rates (ASFRs), total fertility rates (TFRs), fertility trends and rate ratios from birth histories
  • tfv module to produce transformations of variables
  • tgmixed module to perform Theil-Goldberger mixed estimation of regression equation
  • tgraph module to plot graph with transformed axes
  • theildeco module to produce refined Theil index decomposition by group and quantile
  • theilr2 module to compute Theil R2 Multicollinearity Effect
  • thsearch module to evaluate threshold search model for non-linear models based on information criterion
  • tidy module to ease reshaping of data
  • tihtest module to test for time invariant unobserved heterogeneity in GLMs for panel data
  • timeit module to provide single line version of timer on/off
  • timestamp module to obtain a UNIX timestamp and the current time of a user-specified timezone
  • title module to create a title for logfiles
  • tkdensity module for univariate kernel density estimation with calculation on transformed scale
  • tknz module to tokenize string into named macros
  • tmap module for simple thematic mapping
  • tmpdir module to indicate the directory Stata is using for a temporary directory
  • tmpm module to implement Trauma Mortality Prediction Model using AIS, ICD-9 or ICD-10 codes
  • tobithetm module to estimate Tobit Multiplicative Heteroscedasticity Regression
  • tobitiv module to perform instrumental variables tobit
  • todate module to generate Stata date variables from run-together date variables
  • todummy module to create dummy variables
  • tolerance module to generate tolerance intervals from input data
  • tolong module to provide a faster reshape long
  • tolower module to rename variables with lower case names
  • tomata module to make vectors in Mata of variables in Stata
  • tomode module to change values of a variable to mode(s)
  • torats module to facilitate transfer of data to RATS
  • torumm module to produce data in RUMM format
  • tosql module to transfer data to SQL database
  • touch module to create a blank data file
  • tpm module to estimate two-part cross-sectional models
  • tpoisson module to estimate truncated Poisson regression
  • tpred module to generate predictions from Tobit model
  • tpvar module to generate turning-point variable for graphics labelling
  • tr module providing prefix command to trace program execution
  • traces module to display traces of items
  • trackobs module to keep a record of the number of observations in the current dataset.
  • trans_unicode module to convert files to and from Unicode
  • transint help files for transformations
  • translog module to create new variables for a translog function.
  • traveltime module to generate travel time and travel distance information
  • treatoprobit module to estimate a treatment effects model for a binary endogenous treatment on an ordered outcome
  • treatoprobitsim module to estimate a treatment effects model for a binary endogenous outcome and ordered outcome using a latent factor structure
  • treatrew module to estimate Average Treatment Effects by reweighting on propensity score
  • trellis module to create a trellis graph
  • trimlabs module to trim variable labels
  • trimmean module for trimmed means as descriptive or inferential statistics
  • trimplot module for plots of trimmed means
  • trinary module containing extensions to generate to implement three-way logic
  • triplot module to generate triangular plots
  • triprobit module to estimate trivariate probit model using the GHK simulator
  • trnbin0 module to estimate zero-truncated negative binomial regression
  • trpois0 module to estimate zero-truncated Poisson regression models
  • truecrypt module to mount or dismount TrueCrypt volumes
  • truernd module to generate true random numbers
  • tryem module to run all possible subset regressions
  • tscollap module to compact timeseries into dataset of means, sums, end-of-period values
  • tsegen module to call an egen function using a time-series varlist
  • tsgraph module to produce time series line graph
  • tslist module to list time series data
  • tslstarmod module to estimate a Logistic Smooth Transition Autoregressive Regression (LSTAR) Model for Time Series Data
  • tsmktim module to generate time-series calendar variable
  • tsplot module to produce a time series plot
  • tsspell module for identification of spells or runs in time series
  • tstf module to compute intervention time-series models
  • ttab module to produce formatted tables with t-test for two-groups mean-comparison
  • ttable module to produce Mean Comparison for many variables between two groups with formatted table output
  • ttable2 module to produce Mean Comparison for many variables between two groups with formatted table output
  • ttestplus module to automate t-tests
  • ttesttable module to compute differences in means by groups including the T-test
  • tuples module for selecting all possible tuples from a list
  • turnbull module to estimate the Turnbull empirical distribution estimator of willingness to pay
  • tvdiff module to compute pre- and post-treatment estimation of the Average Treatment Effect (ATE) with binary time-varying treatment
  • tw3xls module to export publication-ready three-way and four-way tables into xls or xlsx
  • twby module to create a cross-tabulation of graphs
  • twexp module to estimate exponential-regression models with two-way fixed effects
  • twfe module to perform regressions with two-way fixed effects or match effects for large datasets
  • twgravity module to estimate exponential-regression models with two-way fixed effects from a cross-section of data on dyadic interactions
  • twitter2stata module to import data from Twitter
  • twofold module to perform multiple imputation using the two-fold fully conditional specification algorithm to impute missing values in longitudinal data
  • twopm module to estimate two-part models
  • twostepweakiv module to implement two-step weak-instrument-robust confidence sets for linear instrumental-variable (IV) models
  • twoway_estfit module to enable graph twoway estfit
  • twoway_parea module to generate area graph with pattern fills (Windows only)
  • twowayfeweights module to estimate the weights and measure of robustness to treatment effect heterogeneity attached to two-way fixed effects regressions
  • txt2qr module to produce QR codes containing plain text
  • txtlabdef module to define value labels from ASCII (text) file
  • txttool module providing utilities for text analysis

U

  • ua module to provide prefix command for unicode utilities
  • ucgof module to perform univariate categorical goodness-of-fit tests
  • ucspsplit module to extract paradata from a string variable produced by the universal client-side paradata script
  • udiff module to estimate the generalized unidiff model for individual-level data
  • ueve module to compute unbiased errors-in-variables estimator and variants from grouped data
  • uirt module to fit unidimensional Item Response Theory models
  • uirt_sim module to simulate data from unidimensional Item Response Theory models
  • ultimatch module to implement Nearest Neighbor, Radius, Coarsened Exact, Percentile Rank and Mahalanobis Distance Matching
  • umbrella module to perform O'Brien's Umbrella test
  • umeta module for u-statistic-based univariate and multivariate random-effects meta-analysis
  • unemp module module to compute aggregate households employment deprivation (or unemployment) measures
  • unicode2ascii modules to translate between Unicode and ASCII
  • unique module to report number of unique values in variable(s)
  • uniquestrata module to abort the program if the specified variables don't collectively account for every observation
  • unitab program to display a univariate table for a binary outcome variable
  • univar module to generate univariate summary with box-and-whiskers plot
  • univstat module to produce summary statistics in matrix form
  • urcovar module to perform Elliott-Jansson test for unit roots with stationary covariates
  • usagelog module to log usage of Stata programs in an existing text file
  • usd module to get US dollar exchange rates from the Federal Reserve
  • use10 module to use and describe version 10 datafiles in Stata 9.2
  • use10save9 module to save matched Stata 10/11 files, from within Stata 9+, in Stata 9 format - either as new files in an automatically created directory or through replacing previous Stata 10/11 files
  • use13 module to import Stata 13 (*.dta) data into older versions of Stata
  • use13save12 module to load sets of matched Stata 13-files into Stata 10-12 and saving them in older formats readable for the Stata 10-12 user
  • uselab module to list value labels and variables using them
  • useold module to provide a convenient wrapper for unicode translate in Stata 14+
  • usepackage module to find and install a list of user-written packages needed to run a do-file
  • usesas module to use a SAS dataset
  • usesome module to use subset of Stata dataset
  • usespss module to import SPSS (*.sav) data (Windows only)
  • usexmlex module to import data stored in XML format
  • usmaps module to provide US state map coordinates for tmap
  • usmaps2 module to provide US county map coordinates for tmap
  • usswm module to provide US state and county spatial weight (contiguity) matrices
  • utest module to test for a U-shaped relationship

V

  • vaf module to compute mediation effect in SEM
  • valcuofon module for downloading daily share values and assets balances of Chile's unemployment insurance funds and pension system
  • validly module to correct Stata’s handling of missing values in logical and relational expressions
  • validscale module to assess validity and reliability of a multidimensional scale
  • vallab module to pack values and labels into a new string variable
  • vallabdef module to define value labels from label name, value and label variables
  • vallabsave module to save and load label-only Stata datasets
  • vallist module to list distinct values of a variable
  • valtovar module to rename value labels to match variable names
  • valuesof module to return the contents of a variable in a macro
  • vam module to compute teacher value-added measures
  • vanelteren module to perform van Elteren's test (generalized Wilcoxon-Mann-Whitney ranksum test)
  • varcase module to toggle the case of variable names
  • variog module to calculate and graph semi-variograms
  • varlab module to save and load variable labels
  • varlabdef module to define a value label with values corresponding to variables
  • varlag module to determine the appropriate lag length in VARs, ECMs
  • varlocal module to transform values of a variable in local
  • varmi module to create a dummy variable that takes 1 when all the variable in the varlist are missing
  • varprod module to Generate Row Product of Variables
  • varsearch program to search variable names and labels
  • vartyp module to set variable types for codebook2
  • vce2way module to adjust a Stata command's standard errors for two-way clustering
  • vcemway module to adjust a Stata command's standard errors for multi-way clustering
  • vcf module to import VCF (Variant Caller Format) Files into Stata and format genotype data
  • vclose module to close viewer windows
  • vecar module to estimate vector autoregressive (VAR) models
  • vecar6 module to estimate vector autoregressive (VAR) models (version 6)
  • vececm module to estimate vector error correction models (ECMs)
  • venndiag module to generate Venn diagrams
  • veracrypt module to mount or dismount a VeraCrypt volume
  • viewresults module to display results of a command in the Viewer
  • vincenty module to calculate distances on the Earth's surface
  • violin module to generate violin plots
  • vioplot module to produce violin plots with current graphics
  • vlc module to compare value labels across datasets
  • vlgen module to generate variables and descriptive labels based on how the variables were generated
  • vlist module to expand variable list in command syntax
  • vmatch module to match variables between subjects
  • vmerge module to provide a wrapper for the Stata merge command that provides additional details regarding the results of the update and replace options
  • vorter module to reorder variables in dataset based on sorted values
  • vplplot modules to generate paired data plots
  • vratio module to compute variation ratio and proportion of maximum heterogeneity (measures of dispersion) for categorical variables
  • vreverse module to reverse existing categorical variable
  • vsave module to save Stata dataset under version control
  • vselect module to perform linear regression variable selection
  • vtokenize module to split a variable into its tokens

W

  • wald_mse module to calculate the maximum mean square error (MSE) of a point estimator of the mean
  • wbdata module to access World Bank databases
  • wbopendata module to access World Bank databases
  • wbull module to fit Weibull distribution by maximum likelihood
  • wclogit module to perform conditional logistic regression with within-group varying weights
  • wdireshape module to reshape World Development Indicators database
  • wdiscrim module to compute earnings discrimination statistics
  • weakiv module to perform weak-instrument-robust tests and confidence intervals for instrumental-variable (IV) estimation of linear, probit and tobit models
  • weakiv10 module to perform weak-instrument-robust tests and confidence intervals for instrumental-variable (IV) estimation of linear, probit and tobit models
  • weakivtest module to perform weak instrument test for a single endogenous regressor in TSLS and LIML
  • weathr module to display US weather conditions
  • weaver module to produce dynamic reports in HTML, LaTeX and PDF
  • webdoc module to create a HTML or Markdown document including Stata output
  • webimage module to print images from web files in pdf, png, jpeg, gif, and bmp format
  • weeklyclaims module to Get Weekly Initial Jobless Claims from the US Dept. of Labor
  • weibullfit module to fit a two-parameter Weibull distribution
  • welcom module for simulating distributional impacts of changes in competition (WELCOM)
  • welflossas module to compute well-being (monetary) gain/loss measures and social welfare loss indices and curves associated with segregation using either disaggregated or aggregated data for the quantitative variable
  • wgttest module to test the impact of sampling weights in regression analysis
  • whereis module to keep track of ancillary programs and files
  • which_version module to return location and programmer's version of ado-files
  • whichpkg module to display information on components of a Stata package
  • white module to perform White's test for heteroscedasticity
  • whitetst module to perform White's test for heteroskedasticity
  • whotdeck module to perform multiple imputation using the Approximate Bayesian Bootstrap with weights
  • wid module to download data from the World Wealth and Income Database (WID.world)
  • williams module to estimate logistic regression via Williams procedure
  • windowsmonitor module to send a winexec command to a Windows operating system and display the output in the Stata results window in (almost) real time
  • winsor module to Winsorize a variable
  • winsor2 module to winsorize data
  • witch module to mystically manage files on adopath
  • wntstmvq module to compute multivariate Ljung-Box Q test
  • wordcb module to create a codebook in MS Word format
  • wordconvert module to transfer files among several types in Windows
  • workdays module to compute elapsed workdays
  • worldstat module to produce a visualisation of the state of world development
  • wosaddress module to convert datasets from Web of Science data from wide to long
  • wosload module to load datasets from Web of Science data
  • wridit module to generate weighted ridits
  • writeinput module to write dataset in memory to new do-file as an input command
  • writekml module to write Keyhole Markup Language file
  • writepsfrag module to translate Stata text to EPS
  • wtd module to produce analysis of waiting time distribution
  • wtd_perc module to calculate percentile of inter-arrival density based on the parametric Waiting Time Distribution (WTD)
  • wtdttt module to estimate parameters of the ordinary and reverse Waiting Time Distribution (WTD) by maximum likelihood
  • wtp module to estimate confidence intervals for willingness to pay measures
  • wtpcikr module to estimate Krinsky and Robb Confidence Intervals for Mean and Median Willingness to Pay
  • wyoung module to perform multiple testing corrections

X

  • xb2pi module to transform the logit scores into probabilities
  • xbalance module to compute standardized differences for stratified comparisons via R
  • xbrcspline module to tabulate differences in predicted responses after restricted cubic spline models
  • xcollapse module to make data set of summary statistics on disk or in memory
  • xcontract module to make a data set of frequencies and percents on disk or in memory
  • xcorplot module to calculate and graph cross-correlation function
  • xdatelist module to create ascending numeric lists of dates
  • xdir module to create a resultsset with one observation per file in a directory
  • xfrac module to produce tabulation using categories defined by fractions of a cut-off value
  • xglm module to extend glm
  • xgroup module to create a grouping variable with key values in an output dataset
  • xls2dta module to save Excel files as Stata datasets
  • xls2stata module to provide Stata Dialog Box to Import Excel Files into Stata
  • xmiss module to perform cross-tabulation of missing data
  • xml_tab module to save results in Excel XML format
  • xpredict module to extend predict command
  • xrewide module to extend reshape wide command
  • xrigls module to calculate reference intervals via generalised least squares
  • xriml module for estimation of reference intervals ('normal ranges') by maximum likelihood
  • xsampsi module to calculate sample size for cross-over trials with continuous measures
  • xsmle module for spatial panel data models estimation
  • xsvmat module to convert a matrix to variables in an output dataset
  • xtab module to tabulate longitudinal data
  • xtable module for exporting table output to Excel
  • xtabond2 module to extend xtabond dynamic panel data estimator
  • xtarsim module to perform Monte Carlo analysis for dynamic panel data models
  • xtavplot module to produce added-variable plots for panel data estimation
  • xtbalance module to transform the dataset into balanced Panel Data
  • xtbcfe module to perform bootstrap-corrected Fixed Effects estimation and inference in dynamic panel models
  • xtcaec module to estimate heterogeneous error correction models in cross-sectional dependent panel data
  • xtcbfe module to perform bootstrap-corrected Fixed Effects estimation and inference in dynamic panel models
  • xtcce module to implement the Common Correlated Effects estimator
  • xtcd module to investigate Variable/Residual Cross-Section Dependence
  • xtcd2 module to test for weak cross sectional dependence
  • xtcdf module to perform Pesaran's CD-test for cross-sectional dependence in panel context
  • xtcenter module to disaggregate within and between-person effects by centering variables for mixed and melogit models
  • xtcips module to compute Pesaran Panel Unit Root Test in the Presence of Cross-section Dependence
  • xtcointreg module for panel data generalization of cointegration regression using fully modified ordinary least squares, dynamic ordinary least squares, and canonical correlation regression methods
  • xtcsd module to test for cross-sectional dependence in panel data models
  • xtcse2 module to estimate the exponent of cross-sectional dependence in large panels
  • xtcsi module to investigate Residual Cross-Section Independence
  • xtdcce module to estimate heterogeneous coefficient models using common correlated effects in a dynamic panel
  • xtdcce2 module to estimate heterogeneous coefficient models using common correlated effects in a dynamic panel
  • xtdolshm module to perform panel data cointegration
  • xtdpdgmm module to perform generalized method of moments estimation of linear dynamic panel data models
  • xtdpdml module to estimate Dynamic Panel Data Models using Maximum Likelihood
  • xtdpdqml module to perform quasi-maximum likelihood linear dynamic panel data estimation
  • xtendothresdpd module to estimate a Dynamic Panel Data Threshold Effects Model with Endogenous Regressors
  • xteurostat module to import data from Eurostat in panel data structure
  • xtewreg module to estimate errors-in-variable model with mismeasured regressors
  • xtfeis module to estimate linear Fixed-Effects model with Individual-specific Slopes (FEIS)
  • xtfisher module to compute Fisher type unit root test for panel data
  • xtfixedcoeftvcu module to estimate Panel Data Models with Coefficients that Vary over Time and Cross-sectional Units
  • xtfmb module to execute Fama-MacBeth two-step panel regression
  • xtgcause module to test for Granger non-causality in heterogeneous panels
  • xtgeebcv module to compute bias-corrected (small-sample) standard errors for generalized estimating equations
  • xtgraph module to produce graphs of cross-sectional time series (xt) data
  • xtheckmanfe module to fit panel data models in the presence of endogeneity and selection
  • xthrtest module to perform Born & Breitung Bias-corrected HR-test for first order panel serial correlation
  • xthst module to test slope homogeneity in large panels
  • xthybrid module to estimate hybrid and correlated random effect (Mundlak) models within the framework of generalized linear mixed models (GLMM)
  • xtidt module to compute Identification Variables in Panel Data
  • xtile2 module to create a new variable that categorizes exp by its quantiles
  • xtiletest module to test equality of percentiles across groups of observations
  • xtine module to calculate percentile and quantile for a numeric variable
  • xtistest module to perform Portmanteau test for panel serial correlation
  • xtivreg2 module to perform extended IV/2SLS, GMM and AC/HAC, LIML and k-class regression for panel data models
  • xtivreg28 module to perform extended IV/2SLS, GMM and AC/HAC, LIML and k-class regression for panel data models (version 8)
  • xtkr module to implement the Keane and Runkle estimator for dynamic panel data models
  • xtlhazard module for Adjusted First-Differences Estimation of the Linear Discrete-Time Hazard Model
  • xtlsdvc module to estimate bias corrected LSDV dynamic panel data models
  • xtmg module to estimate panel time series models with heterogeneous slopes
  • xtmis module to report missing observations for each variable in xt data
  • xtmissingfill module to balance panel datasets and fill in missing values
  • xtmixed_corr module to compute model-implied intracluster correlations after xtmixed
  • xtmixediou module to estimate Linear mixed effects Integrated Ornstein-Uhlenbeck model
  • xtmod module to analyze and display interactions based on time-series data
  • xtmrho module to calculate intra-class correlations after xtmixed
  • xtnptimevar module to estimate non-parametric time-varying coefficients panel data models with fixed effects
  • xtoos module for evaluating the out-of-sample prediction performance of panel-data models
  • xtoverid module to calculate tests of overidentifying restrictions after xtreg, xtivreg, xtivreg2, xthtaylor
  • xtpattern module to generate code showing pattern of xt data
  • xtpatternvar module to generate string variable describing panel patterns
  • xtpdyn module to estimate dynamic random effects probit model with unobserved heterogeneity
  • xtpedroni module to perform Pedroni's panel cointegration tests and Panel Dynamic OLS estimation
  • xtpmg module for estimation of nonstationary heterogeneous panels
  • xtpqml module to estimate Fixed-effects Poisson (Quasi-ML) regression with robust standard errors
  • xtprobitunbal module to estimate Dynamic Probit Random Effects Models with Unbalanced Panels
  • xtpsse module to estimate a conditional fixed-effects Poisson panel regression
  • xtqptest module to perform Born & Breitung Bias-corrected LM-based test for serial correlation
  • xtqreg module to compute quantile regression with fixed effects
  • xtregam module to estimate Amemiya Random-Effects Panel Data: Ridge and Weighted Regression
  • xtregbem module to estimate Between-Effects Panel Data: Ridge and Weighted Regression
  • xtregbn module to estimate Balestra-Nerlove Random-Effects Panel Data: Ridge and Weighted Regression
  • xtregcluster module to estimate partially heterogeneous linear panel data with fixed effects
  • xtregdhp module to estimate Han-Philips (2010) Linear Dynamic Panel Data Regression
  • xtregfem module to estimate Fixed-Effects Panel Data: Ridge and Weighted Regression
  • xtreghet module to estimate MLE Random-Effects with Multiplicative Heteroscedasticity Panel Data Regression
  • xtregmle module to estimate Trevor Breusch MLE Random-Effects Panel Data: Ridge and Weighted Regression
  • xtregre2 module to estimate random effects model with weights
  • xtregrem module to estimate Fuller-Battese GLS Random-Effects Panel Data: Ridge and Weighted Regression
  • xtregsam module to estimate Swamy-Arora Random-Effects Panel Data: Ridge and Weighted Regression
  • xtregwem module to estimate Within-Effects Panel Data: Ridge and Weighted Regression
  • xtregwhm module to estimate Wallace-Hussain Random-Effects Panel Data: Ridge and Weighted Regression
  • xtscc module to calculate robust standard errors for panels with cross-sectional dependence
  • xtsemipar module to compute Semiparametric Fixed-Effects Estimator of Baltagi and Li
  • xtseqreg module to perform sequential estimation of linear panel data models
  • xtserialpm module to perform a portmanteau test for serial correlation in panel data
  • xtsfkk module to estimate endogenous panel stochastic frontier models in the style of Karakaplan and Kutlu
  • xtspj module for split-panel jackknife estimation
  • xtss module to estimate (S,s) rule regression models for panel data
  • xtsum2docx module to report summary statistics of panel data to a formatted table in the DOCX format
  • xtsur module to estimate seemingly unrelated regression model on unbalanced panel data
  • xttest2 module to perform Breusch-Pagan LM test for cross-sectional correlation in fixed effects model
  • xttest3 module to compute Modified Wald statistic for groupwise heteroskedasticity
  • xttrans2 module to compute tables of transition probabilities
  • xtusreg module to estimate dynamic panel models under irregular time spacing
  • xtvar module to compute panel vector autoregression
  • xtvc module to compute confidence intervals for the variance component of random-intercept linear models
  • xtwest module for testing for cointegration in heterogeneous panels
  • xvalols module to crossvalidate an OLS regression

Y

  • yrdif module to calculate daily date differences

Z

  • zandrews module to calculate Zivot-Andrews unit root test in presence of structural break
  • zb_qrm module to Recoding multiple responses into binary variables
  • zcq module to score Zurich Claudication Questionnaire
  • zicen module to estimate a finite mixture model of a degenerate distribution with mass at zero and one or two censored (Tobit) normals
  • zinb module to estimate zero inflated negative binomial model on count data
  • zip module to estimate zero inflated Poisson model on count data
  • zipffit module to fit the Zipf distribution or the Zipf-Mandelbrot distribution by maximum likelihood
  • zippkg module to create ZIP archives of community-contributed content for offline distribution
  • zipsave module to save and use datasets compressed by zip
  • zmap module for binned scatter maps
  • zoib module to fit a zero-one inflated beta distribution by maximum likelihood
  • zscore06 module to calculate anthropometric z-scores using the 2006 WHO child growth standards
  • ztg module to estimate zero-truncated geometric regression
  • ztnbp module to estimate zero-truncated NegBin-P regression
  • ztpflex module to estimate zero-truncated Poisson mixture regression


本文转载自公众号:连享会(ID:lianxh_cn)

作者:连享会






星标⭐我们不迷路!
想要文章及时到,文末“在看”少不了!

点击搜索你感兴趣的内容吧

往期推荐

软件应用 | 一文读懂用Stata读入不同类型的数据

软件应用 | 政策评估利剑:合成控制法的Stata操作

机器学习 | 谷歌出品!机器学习常用术语总结(建议收藏!)

统计计量 | 遗漏变量?敏感性分析!新命令sensemakr

数据呈现 | 对比学习,用Excel和Python绘制「子弹图」






数据Seminar




这里是大数据、分析技术与学术研究的三叉路口


推荐 | 马纯菲


    欢迎扫描👇二维码添加关注    

点击下方“阅读全文”了解更多

您可能也对以下帖子感兴趣

文章有问题?点此查看未经处理的缓存