This archive includes the complete list of user-written Stata packages till January 1st 2015 and includes a brief description and HTML help file. This archive has been created for education purpose (not for installing packages!), particularly for those who wish to find interesting packages or study a user-written package as quick as a mouse click. The archive includes several useful features such as providing HTML help files as well as categories that indicate what kind of Stata programming files (ado, mata, plugin, dlg, tut, scheme, style) are included in each package. In addition, literate package - packages that comment the procedure and structure of the ado files - are specified with a red circle and are excellent materials for learning/improving Stata programming.
findit command, Stata can search and install user-written Stata packages on your machine. But why do we need an archive for searching through packages, viewing them on ado and the help files online, and downloading them? My main argument is that user-written Stata packages are the source of learning advanced Stata programming. In general, any program - whether it is written by Stata staff or a Stata user - intends to solve a problem or facilitate a task. While other users can get benefit from using the program, reading the source code can reveals how the problem was solved. But I have had other reasons for spending the entire 2014 Christmas and New Years' holidays, working full-time on this archive which are:
This archive receives monthly update at the end of each month, based on the latest updates on SSC server. If your package is not included in this archive, please add comments to your programs (i.e. describe the procedure, the more you explain the more generous you are) and submit the files to haghish[at]imbi.uni-freibourg[dot]de
Different colors are used to categorize the packages. Blue text color indicates that the package includes only one ado file and can be viewed on your web-browser. Pink text color indicates that the package includes several files which will be downloaded as a zip file and cannot be viewed on your web-browser. Color circles are used to indicate what type of programs are included in the package which are listed below:
● Purple circle indicates that the package includes .tut file which is Stata tutorial program. Read more...
● Yellow circle indicates that the package includes Mata programming
● Aquamarine circle indicates that the package has .dlg dialog box
● Green circle indicates that the package has .plugin or programs/files written in another programming language
● Gray circle indicates that the package has a Stata .scheme or a .style file
● Red circle indicates that the package includes comments explaining the logic and procedure of the program. These packages can be used by Stata programming learners of all levels, based on the difficulty of the package. You can add comments to your packages and submit the files to haghish[at]imbi.uni-freibourg[dot]de
Package Name Description and HTML Help File --------------------------------------------------------------------------------------------------
a2reg Module to estimate models with two fixed effects 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 acplot Module to plot the autocorrelogram ● actest Module to perform Cumby-Huizinga general test for autocorrelation in time series addinby Module to add in data from a disk dataset using a foreign key addnotes Module 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 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 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 adotype Module to type ado file affiliationexposure Module to compute an affiliation exposure model using two-mode actor(row)-by-event(column) network data 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 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 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 apc Module for estimating age-period-cohort effects apcd Module for estimating age-period-cohort effects with detrended coefficients 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 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 ● ascii Module to display the ASCII character set asciiplot Module to graph ASCII character set in current graph font ashell Module to capture output from OS shell command asl_norm Module computing bootstrap Gaussianity tests assertky Module to assert unique dataset keys 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 ● avar module to perform asymptotic covariance estimation for iid and non-iid data robust to heteroskedasticity, autocorrelation... clustering... cross-panel avg_effect Module to calculate mean (standardized) effect size across multiple outcomes 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 b1x2 Module to account for changes when X2 is added to a base model with X1 backrasch Module to implement a backward procedure with a Rasch model backup Module to make daily backup of important files (Windows only) 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 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 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 rando bcuse Module to access instructional datasets on Boston College server 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 bgtest Module to calculate Breusch-Godfrey test for serial correlation 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 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 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 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 bmjcip Module to format confidence intervals and P-values for medical journals bnormpdf Module to calculate the bivariate normal density 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 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 ● bstrap Module providing tutorial for bootstrap 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 butterworth Module to implement Butterworth square-wave highpass filter for timeseries data bygap Module to produce interlaced histograms 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 cal Module to generate calendar calibest Module to estimate proportions and means after survey data have been calibrated to population totals calibrate Module to calibrate survey datasets to population totals 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 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 cdout Module to display the current working directory cdreg Module to estimate Linear Regression under Measurement Error using Auxiliary Information ● 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 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 charutil Module of utilities for working with characteristics checkfor2 Module to check whether a variable exists or not in a dataset 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 chiplot Module to produce graphical assessment plot for dependence chm Module to copy hard missings ● 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 cid Module to calculate confidence intervals for means or differences ciform Module to format confidence interval for tables in documents 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 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 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 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 clustpop Module to estimate population cluster group assignments 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 cmaxuse Module to access Cmax instructional datasets cme Module to estimate generalized linear models with covariate measurement error cmogram Module to plot histogram-style conditional mean or median graphs ● cmp Module to implement conditional (recursive) mixed process estimator cnbreg Module to estimate negative binomial regression - canonical parameterization cndnmb3 Module to calculate condition number of regressor matrix 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 cntrade Module to retrieve Chinese stock market quotations from NetEase 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 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 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 combomarginsplot Module to combine the saved results from multiple calls to margins into one marginsplot complogit Module to compare logit coefficients across groups 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 conddens Module to estimate a conditional density to correct for measurement error and missing values ● 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 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 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 couliari Module to implement Corbae-Ouliaris frequency domain filter to time series data countmatch Module to count matching values for one variable in another cpcorr Module for correlations for each row vs each column variable cpigen Module to add US CPI series to current dataset 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 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 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 ctabstat Module to display table of summary statistics ctreatreg Module for estimating dose-response models under exogenous and endogenous treatment 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 cvxhull Module to compute and plot convex hulls of bivariate data cycleplot Module for cycle plot (month plot or seasonal subseries plot) d3network Module to create network visualizations using D3.js to view in browser 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 dataframe Module to store/restore multiple Stata datasets to/from memory 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 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 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 des2 Module to describe current dataset with clickable output 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 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 ● 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 difd Module to evaluate test items 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 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 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 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 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 drdecomp Module to estimate Shapley value of growth and distribution components of changes in poverty indicators 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 dta2sav Module to export in SPSS format 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 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 dyads Module to transform observations into dyads ● 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 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 ● eaalogit 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 egen_inequal Module providing extensions to generate inequality and poverty measures egenmore Modules to extend the generate function egfr Module to calculate estimated glomerular filtration rate (eGFR) egranger Module to perform Engle-Granger cointegration tests and 2-step ECM estimation eitc Module to compute U.S. Earned Income Tax Credit receipts elapse Module to calculate elapsed time in procedure electool Module containing toolkit to analyze electoral data elife Module to model annual increments of life expectancy ● 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 email Module to send emails from Stata via Python emailme Module to facilitate sending mail on Windows systems emh Module to compute extended Mantel-Haenszel statistics enlarge Module to propagate constant values through group 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 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 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 erepost Module to repost the estimation results eret2 Module to save results in e() 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 estrat Module to perform Endogenous Stratification for Randomized Experiments estsave Module to save estimation results with current dataset estwrite Module to store estimation results on disk etime Module to time how long a program runs ● eventstudy Module to perform event studies in finance 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 examples Module to show examples from on-line help 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 d expandby Module to duplicate observations by variable 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 extfunnel Module to produce graphical augmentations to the funnel plot to indicate the potential impact of a new study on an existing meta-analysis extremes Module to list extreme values of a variable faam Module to score Foot and Ankle Ability Measure 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 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 fastcollapse Module to make dataset of summary statistics using fast hash-based algorithm fastgini Module to calculate Gini coefficient with jackknife standard errors fastsample Module to quickly draw random sample 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 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 ● fgtest Module to Compute Farrar-Glauber Multicollinearity Chi2, F, t Tests 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 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 findval Module to find a specific value firstdigit Module to analyse first digits of numeric variables firthlogit Module to calculate bias reduction in logistic regression 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 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 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 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 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 ● 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 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 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 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 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) 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) gbgfit Module to fit a Generalized Beta (Type 2) distribution to grouped data via ML gby Module to subset graphs and calculate in the same output gcause Module to perform Granger causality tests 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 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 genscore Module to generate a score genspec Module to implement a General-to-Specific modelling algorithm gentrun Module to generate truncated normal variate genvars Module to generate covariate patterns ● geochart Module to create interactive map web pages from Stata data geocode Module to geocode data geocode3 Module to retrieve coordinates or addresses from Google Geocoding API Version 3 geocodeopen Module to geocode addresses using MapQuest Open Geocoding Services and Open Street Maps geodist Module to compute geodetic distances geonear Module to find nearest neighbors using geodetic distances getfilename2 program for handling filename specifications gets Module to implement a General-to-Specific modelling algorithm 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 ggtax 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 ● ghxt Module to compute Panel Groupwise Heteroscedasticity Tests ginidesc Module to compute Gini index with within- and between-group inequality decomposition 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 Module 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 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 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 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 Module 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 ● 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 grouplabs Module to create value labels for grouped variables groups Module to list group frequencies 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 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 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 gumbelfit Module to fit a two-parameter Gumbel distribution 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 gzsave Module to save and use datasets compressed by gzip hadrilm Module to perform Hadri panel unit root test haif Module to compute Homoskedastic Adjustment Inflation Factors for model selection hallt-skewt Module to compute skewness-adjusted bootstrap t-statistics 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 hash Module to combine multiple integer variables into a single variable using non-minimal perfect hashing 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 hdquantile Module for Harrell-Davis estimator of quantiles heckprob2 Module to run heckprob and svyheckprob with d2 evaluator hegy4 Module to compute Hylleberg et al seasonal unit root test heterogi Module to quantify heterogeneity in a meta-analysis hetprob Module to estimate heteroskedastic probit model ● hetred Module to implement heterogeneity reducing algorithms hgclg Module to estimate geometric-complementary log log hurdle regression hglogit Module to estimate geometric-logit hurdle regression hhi Module to compute Herfindahl index 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 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 hotvalue Module to generate scales with missing values conditionally imputed hpclg Module to estimate Poisson-complementary log log hurdle regression hplogit Module to estimate Poisson-logit hurdle regression hplot Module to generate horizontal plots hprescott Module to implement Hodrick-Prescott filter for timeseries data 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 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 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 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 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' ●● igencox Module to fit generalized Cox models iia Module to test the iia assumption in conditional logistic regression (version 5) imbalance Module to check covariate imbalance before and after matching 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 ineq Module to calculate measures of inequality ineqdec0 Module to calculate inequality indices with decomposition by subgroup ineqdeco Module to calculate inequality indices with decomposition by subgroup ineqfac Module to calculate inequality decomposition by factor components 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 intext Module to read text files into string variables intgph Module to interpret interaction effects and present graphically ● 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 ● 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 ipdforest Module to produce forest plot for individual patient data IPD meta-analysis (one stage) ipdmetan Module for performing two-stage IPD meta-analysis ipf Module to perform log-linear modelling using Iterative Proportional Fitting 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 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 isko Module to recode 4 digit ISCO-88 occupational codes 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 itsp_ado Module to accompany Introduction to Stata Programming book 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 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 Modules to estimate instrumental variables probit and tobit ivprob-ivtobit6 Modules to estimate instrumental variables probit and tobit ● ivreg2 Module for extended instrumental variables/2SLS and GMM estimation 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 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 ivtreatreg Module to estimate binary treatment models with idiosyncratic average effect ivvif Module to report variance inflation factors after IV 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 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 kalpha Module to compute Krippendorff's Alpha-Reliability 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 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) ● ketchup Module to produce modern-looking dynamic reports in HTML and PDF keyby Module to key the dataset by a variable list keyplot Module to generate scatter plot with keys in user-chosen positions ● 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 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 kwallis2 Module to perform Kruskal-Wallis Test for equality of populations kwstat Module to compute kernel weighted sample statistics labcenswdi Module to automatically manage datasets obtained from US Census 2000 and World Development Indicators databases 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 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 lars Module to perform least angle regression 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 ● 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 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 ● 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 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) ● 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) ● 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) ● 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) ● 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) ● 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 ● lmaz Module to compute OLS 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 ● 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 ● lmhcw Module to Compute OLS Heteroscedasticity Cook-Weisberg Test ● lmhcwnl Module to compute NLS Heteroscedasticity Cook-Weisberg Test ● lmhgl Module to Compute Glejser Lagrange Multiplier Heteroscedasticity Test for Residuals after OLS Regression ● lmhharv Module to Compute Harvey Lagrange Multiplier Heteroscedasticity Test for Residuals after OLS Regression ● 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 ● 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 ● 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 ● 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 ● 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 ● 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 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 logitcprplot Module to graph component-plus-residual plot for logistic regression ● 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 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) loocv Module to perform Leave-One-Out Cross-Validation 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 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 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 lxpct_2 Module to calculate multistate life expectancies 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 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 makehlp Module to automatically create a help file makematrix Module to make a matrix of results from other commands maketex Module to generate LaTeX code from a text file mapch Module map chains of events ● 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 margin Module to compute average marginal effects for categorical and limited dependent variable models 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 mark_changes Module to generate a variable indicating where one or more variables changes value ● markdoc Module to convert SMCL logfiles to Markdown format marker Module to generate indicator variable marking desired sample markov Module to generate Markov probabilities 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 matin4-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 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 mbsens Module to compute Sensitivity metric for matched sample using McNemar's test mca Module to perform multiple correspondence analysis mcenter Module to center variables at their means 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 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 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 ● 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 ● 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 ● 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 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 mfx2 Module to enhance mfx command for obtaining marginal effects or elasticities after estimation mgen Module to apply generate to a matrix mgof Module to perform goodness-of-fit tests for multinomial data mi_mvncat Module to assign "final" values to (mvn) imputed categorical variables mi_twoway Module for computing scores on questionnaires containing missing item responses mice Module for multiple imputation of missing values 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 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 miparallel Module to perform parallel estimation for multiple imputed datasets 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 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 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 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 mlt Module to provide multilevel tools mm_regress Module to compute robust regression estimates mmerge Module: Safer and easier to use variant of merge mmodes Module to calculate the mode for a numeric varlist 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 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 movavg Module using Mata to generate Moving Averages movestay Module for maximum likelihood estimation of endogenous regression switching models mpovline Module to calculate FGT0, FGT1 and FGT2 by intervals of multiple thresholds mqgamma Module to estimate quantiles of potential-outcome distributions mrdum Module to create dummy variables and summary table for multiple response data mrprobit Module to estimate probit with Misclassification of the Dependent Variable mrtab Module to compute one- and two-way tables of multiple responses msdirb Module to create a dataset of file names from the output of a MS-DOS dir/b command (Windows only) 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 ● 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 multipurt Module to run 1st and 2nd generation panel unit root tests for multiple variables and lags 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 distinct mvmeta Module to perform multivariate random-effects meta-analysis ● mvport Module for Collection and Optimization 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 mvtobit Module to calculate multivariate tobit models by simulated maximum likelihood (SML) mycd10 Module to process ICD-10 diagnosis and procedure codes mylabels Module for axis labels or ticks on transformed scales or for daily dates mypkg Module to inform on packages installed over net 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 neoclassical Module to estimate neoclassical education transitions model netplot Module to provide social network visualization newey2 Module to extend newey (HAC covariance estimation) newsimpact Module to compute news impact curve for ARCH models nharvey Module to perform Nyblom-Harvey panel test of common stochastic trends nicedates Module for nice dates, especially for time series graphs 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 normalizepath Module to parse (and normalize) files' paths normtest Module to perform tests of univariate kurtosis and skewness npinfo Module to merge network-based nodal characteristics nproc Module to produce nonparametric receiver operating curves npseries Module to perform Nonparametric Power Series Estimation nruns Module to compute number of runs compared with random shuffles 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 num2words Module to convert numbers to text nvars Module to count the number of variables nwind Module to compute Newey-Windmeijer VCE after ivreg2 GMM-CUE estimation nysiis Module to calculate nysiis codes from string variables nytimes Module to display top news stories from the New York Times 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 oddsrisk Module to convert Logistic Odds Ratios to Risk Ratios odi Module to score Oswestry Disability Index odkmeta Module to import ODK data oeratio Module to calculate ratio of observed to expected outcomes 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 oprobpr Module to display predicted probabilities from ordered probit and logit 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 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 ovbd Module to generate correlated random binomial data 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 ivreg, ivreg2, ivreg29, ivprobit, ivtobit, reg3 overlay Module to overlay multiple x vs y graphs ovfplot Module for plots of observed vs fitted p2ci Module to calculate confidence limits of a regression coefficient from the p-value 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 ● pam Module to Estimate Policy Analysis Matrix (PAM) ● panelauto Module to support tests for autocorrelation on panel data 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 parseuas Module to extract detailed information from user agent strings 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 ●● pathof Module to return the absolute path of any parent directory of the current working directory 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 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 pctrim Module to trim variables based on percentiles pdplot Module to produce Pareto dot plot ● pem Module to Estimate Partial EquiLibrium Model (PEM) 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 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 plotbeta Module to plot linear combinations of coefficients plotmatrix Module to plot values of a matrix as different coloured blocks plssas Module to execute SAS partial least squares procedure (Windows only) png2rtf Module to include PNG graphics in RTF documents pnrcheck Module to verify the check digit in Swedish personal identification number 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 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) powercal Module to perform general power and sample size calculations 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 ppplot Module for P-P plots ppschromy Module to draw sample with probability proportionate to size, using Chromy's method of sequential random sampling 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 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 Modules to test exogeneity in probit/tobit probitiv Module to perform instrumental variables probit probitmiss Module for Efficient Probit Estimation with Partially missing Covariates prodvars Module to create product variables for two lists of input variables 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 prwe Module to calculate the PRWE scores from your records psacalc Module to calculate treatment effects or bounds 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 psiduse Module providing easy PSID access psidtools module to facilitate access to Panel Study of Income Dynamics (PSID) ● 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 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 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 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 qap Module to perform quadratic assignment procedure qbeta Module to generate quantile-quantile plot for data vs fitted beta distribution qcount Module 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 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 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 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 qsim Module to produce variables for clarify routines quadas Module to provide graphical depiction of quality assessment in diagnostic accuracy reviews 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 r2_a Module to generate adjusted R squared after regression ● 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 randomtag Module to draw observations without replacement ● randwalk Tutorial for random walk ● 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) 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) 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 rcd Module to run commands recursively rcentile Module to compute robust confidence intervals for percentiles 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 rd Module for regression discontinuity estimation rdci Module to calculate risk difference confidence intervals rdcv Module to perform Sharp Regression Discontinuity Design with Cross Validation Bandwidth Selection rdpower Module to perform power calculations for random designs readlog Module to read and process a file readreplace Module to make replacements that are specified in an external dataset 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 reg2hdfe Module to estimate a Linear Regression Model with two High Dimensional Fixed Effects 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 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 reghdfe Module to perform linear or instrumental-variable regression absorbing any number of high-dimensional 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 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 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 rel_clust Module to compute indices of relative clusterability of variables relrank Module to generate relative data (grade transformation) 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-directorie 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 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 reshape8 Module to reshape while preserving variable labels reswage Module to estimate a reservation wage model with endogenous selection rev Module to reverse value order of variables 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 rfregk Module to estimate random-effects model with weights rglm Module to estimate robust generalized linear models rgroup Module for Random Group Variance Estimation rhausman Module to perform Robust Hausman Specification Test 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 rii Module to perform Repeated-Imputation Inference riigen Module to generate Variables to Compute the Relative Index of Inequality 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 rmse Module to calculate raw or adjusted RMSE (Root MSE) rnd Modules for random number generation 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 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 rolling2 Module to perform rolling window and recursive estimation 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 ● 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 ● rpnfcn Module to provide a Mata generic function evaluator based on Reverse Polish Notation rq Module to compute Reynal-Querol index of ethnic polarization rrlogit Module to estimate logistic regression for randomized response data rrreg Module to estimate linear probability model for randomized response data 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 rtfutil Module to provide utilities for writing Rich Text Format (RTF) files rtmci Module to estimate regression to the mean effects with confidence intervals 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 runparscale Module to run PARSCALE from Stata rwg Module to compute within group interrater reliability 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_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 save9 Module to save dataset in Stata 9 format 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 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 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 scenttest Module to compute scenario arithmetic means and their difference ● scheme-burd Module to provide a ColorBrewer-inspired graphics scheme with qualitative and blue-to-red diverging colors ● scheme-mrc Module to provide graphics scheme for UK Medical Research Council ● scheme_rbn1mono Module to provide minimal monochrome graphics schemes ● 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 create scores (row-wise) of a set of variables allowing the specification of the number of valid values required scsomersd Module to compute rank statistics for scenario comparisons sdecode Module to decode a numeric variable into a string variable sdlim Module to rescale variables measured with a limited rating scale sdline Module to plot SD line or reduced major axis sdtest Modules (corrected) sdtest, sdtesti 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 sensatt Module to compute sensitivity for matching estimators senspec Module to compute sensitivity and specificity results saved in generated variables sepscatter Module to draw scatter (or other twoway) plots separated by a third variable seq Module to generate sequences of integers seqlogit Module to fit a sequential logit model ● 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 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 ● sfpanel Module for panel data stochastic frontier models estimation 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 sigcoef Module to count statistically significant coefficients across models 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 simuped Module to simulate two- and three-generation family data singleb Module to compute Contingent Valuation using Single-Bounded Dichotomous Choice 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 ● sls Module to perform semiparametric least squares smcl2do Module to convert log files to do-files in a robust fashion 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 smvcir Module to compute sliced mean variance-covariance inverse regression ● smwoodbury Module to compute Sherman-Morrison-Woodbury rank-k update to matrix inverse 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 Module 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 spechist Module to produce specific histograms for continuous variables ● specialexp Module to obtain expression that evaluates to specified string spell Module for identification of spells or runs of similar values spellutil Module of utilities for the manipulation of timespan data ● 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 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 ● 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 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 ● sqc1 Module for estimating process capability indices with tutorial sqr Module to make graphs square, or any other shape sratio Module to calculate ratio study statistics sreweight Module for survey reweighting 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 Module 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 stak Module to do simple reshapes or stacks 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 ● statajava module to provide Java library of helper classes for Stata plug-ins 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 stbtcalc Module to calculate time-varying regression coefficients in Cox PH models stcascoh Module to create dataset suitable for case-cohort analysis stcband Module to compute Equal precision and Hall-Wellner confidence band for survival function stcmd Module to execute StatTransfer command from within Stata 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 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 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 stkerhaz Module to produce baseline hazard estimates via kernel smoother and plots stlda Module for Limiting Dilution Analysis (LDA) stmix Module to fit two-component parametric mixture survival models ● stmixed Module to fit multilevel mixed effects parametric survival models 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 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 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 stpm2cif Module to estimate cumulative incidence function after running stpm2 stpm2cm Module for estimation of crude mortality after fitting stpm2 relative survival model stpm2illd Module to estimate Flexible Parametric Illness-death Models stquant Module to estimate quantiles for survival time str2d Module to compute explained variation for survival models 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) 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 subsave Module to save a subset of the dataset in memory to a disk file subsetplot Module for plots for each subset with rest of the data as backdrop ●● 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 sumdist Module to calculate summary statistics for income distributions summdate Module for summarizing date variable summout Module to produce comparative table of summary statistics summvl Module to generate summary table with variable labels (version 5) sunflower Module to generate density distribution sunflower plots supclust Module to build superordinate categories 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 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 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 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 sxpose Module to transpose string variable dataset symmetry Modules to perform tests of symmetry for NxN contingency tables ● synlight Module to highlight syntax in SMCL and translate to HTML format ●● synth Module to implement Synthetic Control Methods for Comparative Case Studies t2way5 Module to perform Tukey's Two-Way Analysis by Medians 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 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 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 tabmerge Module to tabulate report on merge ● tabmiss Module to tabulate missing observations 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 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 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 ● 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 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 textgph Module to add strings of text to a graph textpad Module to call TextPad to edit a file 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 ● theilr2 Module to compute Theil R2 Multicollinearity Effect ● tihtest Module to test for time invariant unobserved heterogeneity in GLMs for panel data 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 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 transint help files for transformations traveltime Module to generate travel time and travel distance information traveltime3 command to retrieve travel time and road distance between two locations 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 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 tsgraph Module to produce time series line graph tslist Module to list 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 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 twfe Module to perform regressions with two-way fixed effects or match effects for large datasets twofold Module to perform multiple imputation using the two-fold fully conditional specification algorithm to impute missing values in longitudinal data ● twoway_estfit Module to enable graph twoway estfit ●● twoway_parea Module to generate area graph with pattern fills (Windows only) txtlabdef Module to define value labels from ASCII (text) file ueve Module to compute unbiased errors-in-variables estimator and variants from grouped data 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 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 Module 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 ● 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 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 ●● 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 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 vallab Module to pack values and labels into a new string variable 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 ● varprod Module to Generate Row Product of Variables varsearch Module to search variable names and labels ● vartyp Module to set variable types for codebook2 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 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 vreverse Module to reverse existing categorical variable vselect Module to perform linear regression variable selection vtokenize Module to split a variable into its tokens 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 and PDF weeklyclaims Module to Get Weekly Initial Jobless Claims from the US Dept. of Labor weibullfit Module to fit a two-parameter Weibull distribution wgttest Module to test the impact of sampling weights in regression analysis 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 williams Module to estimate logistic regression via Williams procedure 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 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 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 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 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 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 ● xtabond2 Module to extend xtabond dynamic panel data estimator xtarsim Module to perform Monte Carlo analysis for dynamic panel data models xtbalance Module to transform the dataset into balanced Panel Data xtcd Module to investigate Variable/Residual Cross-Section Dependence xtcips Module to compute Pesaran Panel Unit Root Test in the Presence of Cross-section Dependence xtcsd Module to test for cross-sectional dependence in panel data models xtcsi Module to investigate Residual Cross-Section Independence xtdolshm Module to perform panel data cointegration xtewreg Module to estimate errors-in-variable model with mismeasured regressors xtfisher Module to compute Fisher type unit root test for panel data xtfmb Module to execute Fama-MacBeth two-step panel regression xtgraph Module to produce graphs of cross-sectional time series (xt) data ● xtidt Module to compute Identification Variables in Panel Data xtile2 Module to create a new variable that categorizes exp by its quantiles xtine Module to calculate percentile and quantile for a numeric variable 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) 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 xtmixed_corr Module to compute model-implied intracluster correlations after xtmixed ● 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 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 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 ● 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 ● 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 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 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 zandrews Module to calculate Zivot-Andrews unit root test in presence of structural break zb_qrm Module to Recoding multiple responses into binary variables zinb Module to estimate zero inflated negative binomial model on count data zip Module to estimate zero inflated Poisson model on count data 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 zipffit Module to fit the Zipf distribution or the Zipf-Mandelbrot distribution by maximum likelihood 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 _gapport Module to calculates seats in party-list proportional representation _gclsort Module to sort a single variable via egen _gvreldif Module to compute relative difference between successive observations _gwtmean Module containing extensions to generate to implement weighted mean _peers Module to allow egen to compute the average characteristics of peers in a given unit (school, firm, etc.) specified by by()--------------------------------------------------------------------------------------------------