Practical Stata Programming
Applied Statistics Using Stata^{®}

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.

Using the `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:

- Creating online archive that allows people to search for a keywork across all user-written packages and quickly read the description of each package
- Categorize the packages into separate archives based on the type of files used in their packages
- Attach the online help file for each package that people can read on their web-browser
- Allow the users to read the Ado source code on their web browser or download it
- Allow the users to download packages that include more than one program file
- Encourage Stata programmers to comment their programs and share their knowledge within their Stata packages

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 NameDescription and HTML Help File---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- a2regModule to estimate models with two fixed effectsaaplotModule for scatter plot with linear and/or quadratic fit, automatically annotatedabarModule to perform Arellano-Bond test for autocorrelationabgModule to implement the Alpha-Beta-Gamma Method of Distributional Analysis ●aboutregModule providing tutorial on regression diagnosticsacplotModule to plot the autocorrelogram ●actestModule to perform Cumby-Huizinga general test for autocorrelation in time seriesaddinbyModule to add in data from a disk dataset using a foreign keyaddnotesModule to add notes to the end of text filesaddplotModule to add twoway plot objects to an existing twoway graphaddtexModule to display text on a graphaddtxtModule to add text to graphsadecompModule to estimate Shapley Decomposition by Components of a Welfare MeasureadjacentModule to list adjacent values of variablesadjksmModule to perform adjusted "ksm" for robust scatterplot smoothingadjmeanModule to calculate variables' means adjusted for covariatesadjpropModule to calculate adjusted probabilities from logistic regression estimatesadjustModule (corrected) to compute adjusted predictions and probabilities after estimationadodevModule to reorder ado-path for developers and other independent-minded usersadoeditModule to edit ado file in Stata's do-file editoradolistModule to manage lists of ado packagesadotypeModule to type ado fileaffiliationexposureModule to compute an affiliation exposure model using two-mode actor(row)-by-event(column) network dataagrmModule to calculate van der Eijk's measure of agreement "A"ainequalModule to compute measures of inequalityairnetModule to create networks from airline traffic dataakdensityModule to perform adaptive kernel density estimationalignedpairsModule to perform the aligned ranks test for matched pairs (Hodges-Lehmann)alignedranksModule to perform a two-sample aligned rank-sum (Hodges-Lehmann) test with exact statistics for small samplesalignedsetsModule to perform aligned ranks test for matched sets (Hodges-Lehmann)alignmicroModule to perform alignment in microsimulationallcrossModules to create variables corresponding to moment matricesallpossibleModule to fit all possible models with subsets of predictors ●allsubsetsModule to perform all subsets (combinatorial) meta-analysis in a set of studiesalorenzModule to produce Pen's Parade, Lorenz and Generalised Lorenz curvealphawgtModule to compute Cronbach's alpha for weighted data ●alsmleModule to perform Beach-Mackinnon AR(1) Autoregressive Maximum Likelihood Estimation ●amcmcModule to provide Mata functions and structures for adaptive Markov chain Monte Carlo samplinganketestModule to perform diagnostic tests for spatial autocorrelation in the residuals of OLS, SAR, IV, and IV-SAR modelsanogiModule to generate Analysis of GinianovaplotModule for plots of anova fit, including interaction plotsanymatchModule to perform distance matching based on any metricapcModule for estimating age-period-cohort effectsapcdModule for estimating age-period-cohort effects with detrended coefficientsapchModule for estimating age-period-cohort and hysteresis effectsapovertyModule to compute poverty measuresappendfileModule to append text filesarchlmModule to calculate LM test for ARCH effectsarchqqModule to generate Q-Q plot and distribution tests for ARCH modelsarimafitModule to calculate AIC, SIC for ARIMA modelarmadiagModule to compute post-estimation residual diagnostics for time seriesarmarootsModule to compute roots of AR- and MA-polynomialsarraypackage to support arrays of variablesarrowplotModule to produce combined plot for graphing inter-group and intra-group trends ●asciiModule to display the ASCII character setasciiplotModule to graph ASCII character set in current graph fontashellModule to capture output from OS shell commandasl_normModule computing bootstrap Gaussianity testsassertkyModule to assert unique dataset keysautofmtModule to automatically format a significant number of digitsautologModule to generate dialog to create log filesautorenameModule to automatically rename variables ●avarmodule to perform asymptotic covariance estimation for iid and non-iid data robust to heteroskedasticity, autocorrelation... clustering... cross-panelavg_effectModule to calculate mean (standardized) effect size across multiple outcomesavplot2Modules for added variable plotsavplot3Module to generate partial regression plots for subsamplesavplots4Module to graph added-variable plots for specified regressors in a single imageb1x2Module to account for changes when X2 is added to a base model with X1backraschModule to implement a backward procedure with a Rasch modelbackupModule to make daily backup of important files (Windows only)bandplotModule to plot summary statistics of responses for bands of predictorsbaplotModule to produce Bland-Altman plotsbarplotModule to plot varlist against xvarbarplot2Module to produce bar plot with optional error barsbatplotModule to produce Bland-Altman plots accounting for trendbayerhanckModule to compute test for non-cointegrationbayesmixedlogitModule to perform Bayesian estimation of mixed logit modelsbayesmlogitModule to perform Bayesian estimation of mixed logit modelsbciiModule 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 randobcuseModule to access instructional datasets on Boston College serverbeamplotModule to draw horizontal dotplots using beamsbenfordModule to test Benford's Law on a variablebetacoefModule to calculate beta coefficients from regressionbetafitModule to fit a two-parameter beta distributionbetapriorModule to calculate the parameters of a Beta distribution given the mean and variancebgtestModule to calculate Breusch-Godfrey test for serial correlationbicModule to evaluate the statistical significance of variables in a modelbicdrop1Module to estimate the probability a model is more likely without each explanatory variablebidensityModule to produce and graph bivariate density estimatesbihistModule to produce bihistogramsbinscatterModule to generate binned scatterplotsbioprobitModule for bivariate ordered probit regressionbiplotModule to generate biplotsbiplotvlabModule to produce biplot with variable labelsbirthsimModule to simulate completed fertility and birth intervalsbitobitModule to perform bivariate Tobit regressionbkingModule to implement Baxter-King filter for timeseries databkrosenblattModule for Blum, Kiefer and Rosenblatt test of bivariate independenceblindingModule to compute blinding indexesblistModule to list values of variables in as small a space as possibleblogit2Module to produce grouped data logit with support for inblpModule to estimate Berry Levinsohn Pakes random coefficients logit estimatorbmeModule to compute Bounded midpoint estimatorbmjcipModule to format confidence intervals and P-values for medical journalsbnormpdfModule to calculate the bivariate normal densityboxpanelModule to produce box plots for panel databoxtidModule to fit Box-Tidwell and exponential regression modelsbpaganModule to perform Breusch-Pagan test for heteroskedasticitybpassModule to compute band pass filter for time series databpmedianModule to compute Bonett-Price confidence intervals for medians and their contrastsbronchModule to describe bronchiolitis severitybsensModule to compute Sensitivity metric using McNemar's test ●bsopmModule to compute Black-Scholes European Option Pricing ModelbsplineModules to compute B-splines parameterized by their values at reference points ●bstrapModule providing tutorial for bootstrapbtobitModule to produce a test of the tobit specificationbuckleyModule to implement Buckley-James method for analysing censored databugsdatModule to convert a Stata datafile into the S-plus format used in WinbugsbugwriteModule to write data from Stata into a format compatible with WinBUGSbutterworthModule to implement Butterworth square-wave highpass filter for timeseries databygapModule to produce interlaced histogramsbyhistModule to produce interlaced histogramsbynoteModule to Create a note with a user-specified format for use with the by optionbysModule to automatically sort on the bylist (version 5)bystoreModule to repeat estimation commands and store estimatesbyvarModule to repeat a command by variablecalModule to generate calendarcalibestModule to estimate proportions and means after survey data have been calibrated to population totalscalibrateModule to calibrate survey datasets to population totalscallsadoModule to find (user-written) ado-files called by (a)do-filecanonModule (corrected) to compute canonical correlationscapassModule to wrap Stata's assert command, throws error messagescarryforwardModule to carry forward previous observationscartModule to perform Classification And Regression Tree analysiscasefatModule for estimating the case fatality ratio of a new infectious diseasecatdevModules for interpretation of categorical dependent variable modelscatenateModule to concatenate variables into string variablecatgraphModule to plotting means of a variable by categorycatplotModule for plots of frequencies, fractions or percents of categorical datacb2htmlModule to write a codebook to an HTML filecbarplotModule for centred bar plots of absolute or relative frequenciesccmatchModule to match cases and controls using specified variablesccmpreModule to compute PRE Measures for Cultural Consensus ModelscctableModule to calculate summary table for case-control studyccweightModule to generate inverse sampling probability weightscddensModule to estimate a Density under Measurement Error using Auxiliary InformationcdfplotModule to plot a cumulative distribution functioncdoutModule to display the current working directorycdregModule to estimate Linear Regression under Measurement Error using Auxiliary Information ●cemModule to perform Coarsened Exact MatchingcenpoisModule to estimate censored maximum likelihood Poisson regression modelscensornbModule to estimate censored negative binomial regression as survival modelcentcalcModule to calculate distribution-based centilescenterModule to center (or standardize) variablescentpowModule to calculate centrality and power indices for each node in a networkcentroidModule to calculate centroidscepoisModule to estimate censored maximum likelihood Poisson regression modelsceqModule to carry out Commitment to Equity (CEQ) fiscal incidence analysiscf2Module to compare two datasetscf3Module to compare two datasetscfbyModule to compare datasets and produce discrepancy ratescfitzrwModule to implement Christiano-Fitzgerald Random Walk band pass filter for timeseries datacflpoisModule to calculate confidence limits for rates based on Poisson outcomecfoutModule to compare two datasets, saving a list of differencescfvarsModule to compare variable name lists in two data setscgroupModule to group contiguous observations with identical values of a varlistchaidModule to conduct chi-square automated interaction detectionchaidforestModule to conduct random forest ensemble classification based on chi-square automated interaction detection (CHAID) as base learnerchangemeanModule to compute Income and Inequality Contribution on Poverty VariationchaosModule to iterate a logistic difference equationchardefModule to assign values to a characteristic of a list of variablescharlistModule to list characters present in string variablecharlsonModule to calculate Charlson index of comorbiditycharutilModule of utilities for working with characteristicscheckfor2Module to check whether a variable exists or not in a datasetcheckreg3Module to check identification status of simultaneous equations systemcheckrobModule to perform robustness check of alternative specificationscheckvarModule to check the values of a created variablechewfileModule to chew and digest ASCII file down to sizechina_mapModule to provide map of China's provinceschina_spatdwmModule to provide spatial distance matrices for Chinese provinces and citieschinafinModule to retrieve Chinese listed firms' financial datachiplotModule to produce graphical assessment plot for dependencechmModule to copy hard missings ●chowregModule to compute Structural Change Regressions and Chow TestchunkyModule to chunk a large text file into smaller partschunky8Module to chunk a large text file into smaller parts (version 8)ci2Module to compute confidence intervals for correlationsci_marg_muModule to produce simulation-based confidence intervals after gllapredcibarModule to plot bar graphs and confidence intervals over groupscibplotModule for bar-on-bar plots of confidence intervalscidModule to calculate confidence intervals for means or differencesciformModule to format confidence interval for tables in documentscihplotModule to show horizontally labelled plots showing confidence intervalscijModule for binomial confidence intervals for proportions using Jeffreys priorciplotModule for plots of confidence intervalscipolateModule for cubic interpolationcircstatModules to calculate circular statisticscircularModule for circular statisticscisdModule to compute confidence intervals for standard deviationscistatModule to produce confidence intervals in matrix formcivplotModule to plot confidence intervals verticallyciwModule for binomial confidence intervals for proportions using Wilson scores ckvar Module to allow error checking routines to easily be defined and attached directly to variablesclassplotModule to plot predicted probability and empirical values after a binary response modelcleancharsModule 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/stringscleanlogModule to clean log files clemao_io Module to perform unit root tests with one or two structural breaksclogithetModule to estimate heteroscedastic conditional logit modelclorenzModule to estimate Lorenz and concentration curves clrbound Module to perform estimation and inference on intersection boundsclstop_lbtModule to add stopping rule in cluster analysiscltestModules for performing cluster-adjusted chi-square and t-testsclumpModule to compute permutation test approach to assessing genetic associations with case/control statusclusterModule to perform nonhierarchical k-means (or k-medoids) cluster analysisclustpopModule to estimate population cluster group assignmentsclustsensModule to perform sensitivity analysis for cluster commandsclvModule to implement a clustering of variables around latent componentscm2inModule to provide conversion between inch/cm and otherscmaxuseModule to access Cmax instructional datasetscmeModule to estimate generalized linear models with covariate measurement errorcmogramModule to plot histogram-style conditional mean or median graphs ●cmpModule to implement conditional (recursive) mixed process estimatorcnbregModule to estimate negative binomial regression - canonical parameterizationcndnmb3Module to calculate condition number of regressor matrixcnormpModule to evaluate censored normal distributioncnsModule to compute Consensus Measure for Ordinal ScalescnsrsigModule to evaluate validity of restrictions on a regressioncntradeModule to retrieve Chinese stock market quotations from NetEasecochranModule to test for equality of proportions in matched samples (Cochran's Q)codciModule to calculate Bonett-Seier's Confidence Interval for the CODcodebook2Module to produce a codebook describing a data filecodebookoutModule to save codebook in MS excel formatcoefplotModule to plot regression coefficients and other resultscohendModule to compute Cohen's dcoldiagModule to perform BWK regression collinearity diagnosticscoldiag2Module to evaluate collinearity in linear regressioncolelmsModule to calculate Cole's LMS values for growth datacollapse2Module to extend the collapse commandcollapseuniqueModule to reduce data to unique observations based on specified key variablescombineModule to combine n, mean, and SD from two groups according to the Cochrane-recommended formula for meta-analysescombineplotModule to combine similar univariate or bivariate plots for different variablescombomarginsplotModule to combine the saved results from multiple calls to margins into one marginsplotcomplogitModule to compare logit coefficients across groupsconcindcModule to calculate concentration index with both individual and grouped dataconcindexModule to calculate measures of the concentration index ●concordModule for concordance correlationconddensModule to estimate a conditional density to correct for measurement error and missing values ●confaModule to perform confirmatory factor analysis modelingconfallModule to plot and display estimates to assess confoundingconfirmdirModule to confirm if a directory existsconfndModule to plot and display estimates to assess confoundingconfsvyModule to assess confounding effects in survey studiescontourModule to draw contour plotscontrastModule to calculate contrasts between factor levelsconvert_top_linesModule to handle leading lines of text filecopycodeModule to produce modular self-written ado filescopydescModule to copy description of variablecoranalModule to perform simple correspondence analysiscorr_svyModule to compute correlation tables for survey datacorrtabModule to display correlation coefficients in a formatted tabular outputcorrtableModule to show correlation matrix as graphical tablecorrtexModule to generate correlation tables formatted in LaTeXcorspModule to display combined Pearson and Spearman correlation matrixcortestiModule to test equality of two correlation coefficientscouliariModule to implement Corbae-Ouliaris frequency domain filter to time series datacountmatchModule to count matching values for one variable in anothercpcorrModule for correlations for each row vs each column variablecpigenModule to add US CPI series to current datasetcpoissonModule to estimate censored Poisson regressioncpoissoneModule to estimate censored Poisson regression (econometric parameterization)cprModule producing results for all possible combinations of argumentscprplot2Module to graph component-plus-residual plots for transformed regressorscprplotsModule to graph (augmented) component-plus-residual plots in a single imagecpyxplotModule to produce scatter plots for each y vs each x variablecqivModule to perform censored quantile instrumental variables regressioncquadModule to perform conditional maximum likelihood estimation of quadratic exponential modelscquantileModule to generate corresponding quantilescraterModule to calculate computer scorer vs. human rater agreement statisticscreplaceModule to exchange values cyclically between variablescrmModule to implement the continual reassessment modelcrossfoldModule to perform k-fold cross-validationcrossplotModule for scatter (or other twoway) plots for each y vs each x variablecrtestModule to perform Cramer-Ridder Test for pooling states in a Multinomial logitcsipolateModule to perform cubic spline interpolationcsjlModule to extend cs command for exposures with more than two categoriescstableModule to calculate summary table for cohort studycstiModule that modifies csi command in order to use total numbers rather than individual cell countscsvconvertModule to append multiple csv filesctabstatModule to display table of summary statisticsctreatregModule for estimating dose-response models under exogenous and endogenous treatmentcuentacotModule for Contributions Counting ●cureregrModule to estimate parametric cure regression cureregr8 Module to estimate parametric cure regression (version 8.2)curvefitModule to produces curve estimation regression statistics and related plots between two variables for alternative curve estimation regression modelscusum6Module to compute cusum, cusum^2 stability testscutptModule for empirical estimation of cutpoint for a diagnostic test ●cvModule to compute coefficient of variation after regresscvxhullModule to compute and plot convex hulls of bivariate datacycleplotModule for cycle plot (month plot or seasonal subseries plot)d3networkModule to create network visualizations using D3.js to view in browserdagfitModule to fit a Generalized Beta (Type 2) distribution to grouped data via MLdagumfitModule to fit a Dagum distribution by maximum likelihooddashModule to score Disabilities of the Arm, Shoulder and HanddashgphModule to construct dashed lines in scatterplotsdashlnModule to add dashed lines to graphsdatacheckModule to perform data checks and produce informative outputdataframeModule to store/restore multiple Stata datasets to/from memorydataoutModule to export a dataset or tab-delimited file into various formatsdataplinkModule to import data from plinkdatelistModule to to create ascending numeric lists of datesdatesumModule to display summary statistics for date variablesdatmatModule to multiply variables via matrix multiplicationdbmscopybatchModule to produce a batch file for DBMS/Copyddf2dctModule to facilitate infiling US Government data distributed with a DDFdeciModule to perform Variable Base conversiondecompModule to compute decompositions of earnings gapsdecomposeModule to compute decompositions of wage differentialsdeltaModule to compute the Delta index of scale discriminationdentonModule to interpolate a flow or stock series from low-frequency totals via proportional Denton methoddep4asmModule to create [in]dependent variable for alternative-specific modelsdes2Module to describe current dataset with clickable outputdescoginiModule to perform Gini decomposition by income sourcedescsaveModule to export data set and machine-readable codebookdesignplotModule to produce a graphical summary of response given one or more factors desmat Module to generate interactions and contrastsdetectModule to compute the DETECT, Iss and R indexes to test a partition of itemsdevconModule to apply the deviation contrast transform to estimation resultsdevnplotModule for deviation plotsdevr2Module to compute Cameron and Windmeijer's deviance based R-squared measuredfaoModule to perform Dickey-Fuller unit root test in the presence of additive outliersdfglsModule to compute Dickey-Fuller/GLS unit root testdflModule to estimate DiNardo, Fortin and Lemieux Counterfactual Kernel DensitydfsummaryModule to compute the (Augmented) Dickey-Fuller unit-root test and reports a summary table for different lagsdftolModule to compute distribution-free tolerance intervals ●diagregModule to compute Model Selection Diagnostic Criteria ●diagreg2Module to compute 2SLS-IV ModeL Selection Diagnostic CriteriadiagtModule to report summary statistics for diagnostic tests compared to true disease statusdiagtestModule to report summary statistics for diagnostic testdifdModule to evaluate test items for differential item functioning (DIF)diffModule to perform Differences in Differences estimationdiffpiModule to calculate difference expressed as a percentagedifwithparModule for detection of and adjustment for differential item functioning (DIF)digdisModule to analyze the distribution of digitsdigitsModule to examine digit preferences in numeric variablesdiplotModule to draw double interval plotdiptestModule to compute dip statistic to test for unimodality dirifit Module to fit a Dirichlet distributiondirlistModule to retrieve directory information dirtools Modules to manage files in the working directorydiscrepancyModule to implement a pseudo-ANOVA method for partitions of pairwise distance matricesdisjointModule to generate end variable demarcating disjoint spellsdissimModule to calculate dissimilarity indexdistanModule to generate similarity measuresdistinctModule to display distinct values of variablesdistmatchModule to perform distance matching based on latitudes and longitudesdistplotModule to generate distribution function plotdistrateModule to compute direct standardized rates with improved confidence intervaldlistModule to list with variable labelsdlogit2Modules to compute marginal effects for logit, probit, and mlogitdmarianoModule to calculate Diebold-Mariano comparison of forecast accuracydmergeModule to merge datasets using a modification of Stata's mergedmexogxtModule to test consistency of OLS vs XT-IV estimatesdmoutModule to create difference-in-means tablesdologModules to execute commands from a file with loggingdologxModules to execute commands from a file with loggingdomdiagModule to construct dominance diagramsdominModule to conduct dominance analysisdoparserModule to look for dta-files used in do-filesdoseresponseModule to estimate dose-response function through adjustment for the generalized propensity scoredoseresponse2Module to estimate generalized propensity scoredotemplateModule to creates templates for do-filesdotexModule to generate TeX log from do-filedoub2fltModule to change storage type of real variabledoublebModule to compute Contingent Valuation using Double-Bounded Dichotomous ChoicedoubletofloatModule to recast variables from double to float storage typedoubmassModule to draw double mass plotdpplotModule for density probability plotsdpredictModule to produce dynamic forecasts for ARIMA(p,s,q) modelsdqdModule to compute treatment effects under alternative Parallel-q assumptionsdrareaModule to overlap two range area plots drdecomp Module to estimate Shapley value of growth and distribution components of changes in poverty indicatorsds2v6 Module to describe variables in memoryds3Module to describe variables in memoryds5Module to describe variables in memorydsconcatModule to concatenate a list of Stata data files into memorydsearchModule to find variables with given variable labeldsegModule to compute decomposable multigroup segregation indexesdsginidecoModule to compute decomposition of inequality change into pro-poor growth and mobility componentsdsweightModule to generate direct standardization weightsdta2ddiModule to convert Stata data to DDI standardsdta2htmlModule to generate HTML code to display a Stata dataset on the webdta2kmlModule to output a KML file from selected datapoints in a Stata datasetdta2savModule to export in SPSS format dthaz Module to compute discrete-time hazard and survival probability estimatesdtobit2Module to estimate a tobit model with marginal effects at observed censoring ratedummiesfunction to create families of dummy variables dummies2 Module to create indicator variables from categorical variable and vice versadummieslabModule to convert categorical variable to dummy variables using label namesduncanModule to calculate dissimilarity indexdupsModule to identify and optionally remove duplicate observationsdurbinhModule to calculate Durbin's h test for serial correlationdyadsModule to transform observations into dyads ●eaalogitModule to estimate endogenous attribute attendance modelsebaModule to perform extreme bound analysisebalanceModule to perform Entropy reweighting to create balanced samplesebrowseModule to to display variables in the Data Editor, ordered by varlisteclpciModule to compute Exact and Approximate Confidence Limits for Poisson Counts ●eclplotModule to generate estimates and confidence limits plots ●eaalogitModule to estimate endogenous attribute attendance models efetch_tools Module to retrieve genetic data from NCBIeffconModule 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 functionegfrModule to calculate estimated glomerular filtration rate (eGFR)egrangerModule to perform Engle-Granger cointegration tests and 2-step ECM estimationeitcModule to compute U.S. Earned Income Tax Credit receiptselapseModule to calculate elapsed time in procedureelectoolModule containing toolkit to analyze electoral dataelifeModule to model annual increments of life expectancy ●ellipModule to graph confidence ellipses (version 8) ellip6 Module to plot confidence ellipses (version 6) ellip7 Module to plot confidence ellipses (version 7)ellipticityModule to compute optimal rank-based multivariate tests of elliptical symmetry and sphericityemailmeModule to facilitate sending mail on Windows systemsemhModule to compute extended Mantel-Haenszel statisticsenlargeModule to propagate constant values through groupeofplotModule to plot coefficients or loadings after principal component or factor analysiseperiodModule to calculate elapsed time between datesepiconfModule 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 resultsepisensrriModule for basic sensitivity analysis for unmeasured confounders epiweek Module to create epidemiological week and equivalent epidemiological yearepsigrModule to save graph in EPSF format in UNIX environmenteqprhistogramModule for equal probability histogramequationModule to Output The Equation of a RegressionerModule to compute Esteban and Ray measure of polarizationerateModule to import up-to-date exchange rates for any currency pairserepostModule to repost the estimation resultseret2Module to save results in e()esliModule to calculate the equation of a straight line est2tex Module to create LaTeX tables from estimation results estout Module to make regression tablesestout1Module to export estimation results from estimates table estparm Module to save results from a parmest resultsset and test equalityestratModule to perform Endogenous Stratification for Randomized ExperimentsestsaveModule to save estimation results with current datasetestwriteModule to store estimation results on disketimeModule to time how long a program runs ●eventstudyModule to perform event studies in financeevhistplotModule to produce event history plotewmaModule to calculate exponentially weighted moving average ●ewregModule to estimate errors-in-variable model with mismeasured regressorexamplesModule to show examples from on-line help files ●excelcolModule to convert a column index into a name of an Excel columnexcelsaveModule 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 dexpandbyModule to duplicate observations by variableexpgenModule to duplicate observations sorted in original order with generated variablesexplModule to explore folders and filesexplistModule to generate an exponentially-spaced list of numbersextfunnelModule to produce graphical augmentations to the funnel plot to indicate the potential impact of a new study on an existing meta-analysisextremesModule to list extreme values of a variablefaamModule to score Foot and Ankle Ability MeasurefactextModule to extract factor values from a label variable created by parmestfactmergModule to merge a list of factors to create string variablesfactortestModule to perform tests for appropriateness of factor analysisfactrefModule to insert new observations with reference values for factorsfaganModule for Fagan's Bayesian nomoigramfairlieModule to generate nonlinear decomposition of binary outcome differentialsfar5Module to compute floating absolute risk for Cox and conditional logit regressionfastcdModule to automate changing directories fastcollapse Module to make dataset of summary statistics using fast hash-based algorithmfastginiModule to calculate Gini coefficient with jackknife standard errorsfastsampleModule to quickly draw random samplefastxtileModule to generate a variable of quantile categoriesfavplotsModule for formatted added-variable plot(s)fbarModule to produce bar charts showing frequencies of categorical variablesfdfilterModule to implement Corbae-Ouliaris frequency domain filter to time series datafdtaModule to change contents of string variablesfeditModule to find and edit text file from within StatafeldtiModule to compare two independent coefficients of reliabilityfeseModule to calculate standard errors for fixed effects ●fgtestModule to Compute Farrar-Glauber Multicollinearity Chi2, F, t TestsfiellerModule to calculate confidence intervals of quotients of normal variatesfileiModule to write lines to end or beginning of text filesfilelistModule to recursively search directories for filesfiltertraceModule to trace filter or contingency questionsfindModule to find matching strings across files in the current directoryfinddupModule to find non-unique values or observations>findnameModule to list variables matching name patterns or other propertiesfindvalModule to find a specific valuefirstdigitModule to analyse first digits of numeric variablesfirthlogitModule to calculate bias reduction in logistic regressionfiskfitModule to fit a Fisk distribution by ML to unit record datafitintModule to fit generalized linear model and test two-way interactionsfitmacroModule to evaluate fit of loglinear GLM Poisson modelsfitstatModule to compute fit statistics for single equation regression modelsfitstat_ersModule to compute goodness of fit statistics for Rasch modelfixsortModule to sort variables and align in sorted order, with others fixed flex Module for flexible pseudo maximum likelihood estimation of models for doubly-bounded datafloattolongModule to recast variables from float to long storage typeflowerModule to draw sunflower plotsfmissModule 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 modelsfmmlcModule for postestimation with finite mixture modelsfndmtchModule to find matching valuesfndmtch2Module to find matching values for one variable in another fodstr Modules to handle fractional day calculationsfor211Modules to document features of for and extend the for commandforfileModule to execute command for each matching filefprankModule to compute Two-Sample Fligner-Policello Robust Rank Order TestfprefModule to add prefix or suffix to filenamesfracdiffModule to generate fractionally-differenced timeseriesfracdydxModule to evaluate derivatives of fractional polynomialsfracirfModule to compute impulse response function for fractionally-integrated timeseriesfraclogitModule to estimate fractional logit modelfractalModule to generate fractalsfractileplotModule for smoothing with respect to distribution function predictors ●frcountModule to estimate fractional response model under the presence of count endogeneity and unobservable heterogeneityfreModule to display one-way frequency tablefreduseModule to Import FRED (Federal Reserve Economic Database) datafrenModule to batch rename files (Windows only)freplaceModule to batch convert ASCII text or binary patterns in files frm Module to estimate and test fractional regression modelsfrontier_teciModule 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 statisticsfsxModule to show names of files in compact form (Unix-friendly defaults)ftestModule comparing two nested models using an F-testftocciModule to back calculate the conventional confidence intervals from the floated confidence intervalsftransModule to batch convert file formatsftreeModule to save directory information in text file (Windows only)full_paletteModule to display color palettefulltabModule to generate 'full tables' which can be stacked into matricesfunnelcomparModule to perform funnel plot for institutional comparisonfvfixModule to compute the future value of a series of equal payments (cash flows)fviewModule to find and view a filefvprevarModule to extend fvrevar generating permanent result variablesfvregenModule to regenerate factor variables in a parmest output datasetfvvarModule to compute the future value of a series of payments (cash flows)gamModule for generalised additive modelsgametModule to perform game-theoretic calculations gammafit Module to fit a two-parameter gamma distributiongammasymModule to compute the value of the symmetrical gamma functiongausshermiteModule 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 MLgbyModule to subset graphs and calculate in the same output gcause Module to perform Granger causality testsgconcModule to compute generalized measures of concentrationgdecompModule to compute decomposition of outcome differentials after nonlinear modelsgdsumModule to summarize grouped datageekel2dModule to estimate the parameters of unidimensional and bidimensional IRT modelsgeivarsModule to calculate Generalized Entropy inequality indicesgen_tailModule to work with indicator observationsgenassModule to perform Genetic Case-control Association tests geneigen Module to calculate eigenvalues of a real general matrixgenfreqModule to produce a frequency distribution for a variablegengroupModule to produce groups of individualsgenhwcciModule to calculate Hardy-Weinberg equilibrium test in case-control studiesgenicvModule to generate interaction between continuous (or dummy) variablesgenscoreModule to generate a scoregenspecModule to implement a General-to-Specific modelling algorithmgentrunModule to generate truncated normal variate genvars Module to generate covariate patterns ●geochartModule to create interactive map web pages from Stata datageocodeModule to geocode datageocode3Module to retrieve coordinates or addresses from Google Geocoding API Version 3geocodeopenModule to geocode addresses using MapQuest Open Geocoding Services and Open Street MapsgeodistModule to compute geodetic distancesgeonearModule to find nearest neighbors using geodetic distancesgetfilename2program for handling filename specificationsgetsModule 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 mediationggtaxModule to identify the most suitable GG family modelghansenModule to perform Gregory-Hansen test for cointegration with regime shiftsghistcumModule to graph histogram and cumulative distribution ●ghk2Module (enhanced Mata function) to implement the Geweke-Hajivassiliou-Keane multivariate normal simulator ●ghxtModule to compute Panel Groupwise Heteroscedasticity Tests ginidesc Module to compute Gini index with within- and between-group inequality decompositiongipfModule to graphically display a log-linear modelgitModule to manage git repositories givgauss2 Module to estimate generalized two-parameter inverse Gaussian regressionglcurveModule to derive generalised Lorenz curve ordinatesglcurve5Module to derive generalised Lorenz curve ordinates with unit record data (Stata 5 or 6)glcurve7Module 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 modelsglmcorrModule for correlation measure of predictive power for GLMsglmdecoModule to compute Detailed Decomposition of Average Outcome Differentials in Generalized Linear ModelsglstModule for trend estimation of summarized dose-response datagmapModule to create heatmaps for the web, using java api developped by googlegmciModule to calculate geometric means and their confidence intervalsgmlabvposModule 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 modelsgpfoblModule to perform rotation after factor / principal componentsgphepssjModule to translate Stata graph files to .eps as used for The Stata JournalgphudakModule to estimate long memory in a timeseriesgprefscodeModule to report on graphics preferencesgpregModule to estimate regressions with two dimensional fixed effectsgpresetModule to reset preferences for a custom graphics scheme to their original valuesgpscore2Module to estimate the parameters of the conditional distribution of the treatment via GLMgrandModules to compute grand mean and dummies for differencesgrand2Module to compute an estimate of the grand mean/intercept and differencesgraph3dModule to draw colored, scalable, rotatable 3D plotsgraphbinaryModule to plot explanatory variables vs binary outcomegraphexportpdfModule to produce PDF graphics on non-Windows systems graphlog Module to convert log files to PDF documents with embedded graphs using LaTeXgrbyModule to draw bar charts for each covariate patterngrcombModule to create and combine several single graphs into one grcompare Module to make group comparisons in binary regression modelsgrepModule to search within your datasets for keywordsgrexportModule to produce a resultset of graph contentsgrfreqModule to plot proportion of one variable by categories of anothergrlogitModule to plot logit of a variable by categories of another variable grnote Module to add text and lines to graphsgroup1dModule for grouping or clustering in one dimension ●group_idModule to group identifiers when values for specified variables matchgroup_twowayModule to group observations by the connected components of two variables groupcl Module to estimate grouped conditional logit modelsgroupdistModule to generate within-group minimum and maximum distancesgrouplabsModule to create value labels for grouped variablesgroupsModule to list group frequencies grqreg Module to graph the coefficients of a quantile regressiongrstestModule to implement the Gibbons et al. (1989) test in a single-factor or multi-factor settinggrstest2Module to implement the Gibbons, Ross, Shanken (1989) testgrubbsModule to perform Grubbs' test for outliers ●gs2slsModule to estimate Generalized Spatial Two Stage Least Squares Cross Sections Regression ●gs2slsarModule to estimate Generalized Spatial Autoregressive Two Stage Least Squares Regression ●gs2slsarxtModule to estimate Generalized Spatial Panel Autoregressive Two Stage Least Squares Cross Sections Regression ●gs2slsxtModule to estimate Generalized Spatial Panel Autoregressive Two-Stage Least Squares Regression ●gs3slsModule to estimate Generalized Spatial Three Stage Least Squares (3SLS) ●gs3slsarModule to estimate Generalized Spatial Autoregressive Three Stage Least Squares (3SLS) Cross Sections Regression gsa Module to perform generalized sensitivity analysisgsampleModule to draw a random samplegsgroupModule to create a group variable and optionally an output dataset for a gsort keygsregModule to perform Global Search RegressiongsumModule to calculate summary statistics for grouped data gumbelfit Module to fit a two-parameter Gumbel distributiongvselectModule to perform best subsets variable selectiongwhetModule 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 gziphadrilmModule 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 distributionhansen2Module for Hansen's test for parameter instabilityhapblockModule to perform haplotype analysis to identify the edges of haplotype blocks hapipf Module to perform haplotype analysisharmbyModule to harmonize values of variables within by-groups hash Module to combine multiple integer variables into a single variable using non-minimal perfect hashinghausmanModule to compute a Hausman test statistic (version 5)hbarModule 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 RegressionhdquantileModule for Harrell-Davis estimator of quantiles heckprob2 Module to run heckprob and svyheckprob with d2 evaluatorhegy4Module to compute Hylleberg et al seasonal unit root testheterogiModule to quantify heterogeneity in a meta-analysis hetprob Module to estimate heteroskedastic probit model ●hetredModule to implement heterogeneity reducing algorithms hgclg Module to estimate geometric-complementary log log hurdle regression hglogit Module to estimate geometric-logit hurdle regressionhhiModule to compute Herfindahl indexhildasetupModule to create a longitudinal dataset for the Household, Income and Labour Dynamics in Australia (HILDA) SurveyhimapModule to create heatmaps for the web, using java api developed by highchartshimatrixModule to highlight selected elements of scatterplothiregModule for hierarchial regressionhist3Module to draws histograms for intervals of different sizehistboxModule to generate histogram with boxplothistorajModule to produce histogram with descriptive statisticshistplotModule to produce histogram for frequency distributionhlModule to compute Hodges and Lehman (1963) robust measure of locationhlistModule for horizontally listing values hlm Module to invoke and run HLM v6 software from within Statahlp2htmlModule to translate a list of Stata help files to HTMLhlp2pdfModule to create PDF or PostScript from Stata help filehlp2winpdfModule to convert Stata's help files into pdf in Windows environmenthlpdirModule to find location(s) of help filehlpeditModule to edit help file in do-file editorhmapModule 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)hodgeslModule to perform Hodges-Lehmann aligned rank test hoi Module to compute Human Opportunity IndexhoishapleyModule to perform Shapley Decomposition of the Human Opportunity IndexholstiModule to compute Holsti intercoder reliability coefficients hotdeck Module to impute missing values using the hotdeck methodhotvalueModule 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 regressionhplotModule to generate horizontal plots hprescott Module to implement Hodrick-Prescott filter for timeseries data hshaz Module to estimate discrete time (grouped data) proportional hazards modelshsmodeModule to calculate half-sample modes hte Module to perform heterogeneous treatment effect analysishueModule to produce graphical display of named Stata colorshummelsModule to compute intensive and extensive trade marginshutchensModule to calculate the Hutchens `square root' segregation index with optional decompositions by subgroupicc23Module that computes models 2 and 3 of the intra-class correlationiccconfModule to compute a confidence interval for an intraclass correlation (ICC)iccvarModule to calculate intraclass correlation (ICC) after xtmixed ●icdpicModule 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 valuesicompModule to calculate model selection information criteriaidonepsuModule 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 estimatorifinModule to generate a local containing an if statement to select multiple valuesifwinsModule to subset a dataset by 'if exp' before subsetting by 'in range' ●●igencoxModule to fit generalized Cox models iia Module to test the iia assumption in conditional logistic regression (version 5)imbalanceModule to check covariate imbalance before and after matchingimputeitemsModule to impute missing data of binary itemsimputemokModule to impute binary data by a Mokken scaleimputeraschModule to impute binary data by a Rasch model ●imvolModule to compute Implied Volatility in Black-Scholes European Option Pricing ModelinccatModule to concatenate one or more input files to an output file inserting additional input filesindeplistModule to returns lists of independent variables from the active estimation commandineqModule to calculate measures of inequality ineqdec0 Module to calculate inequality indices with decomposition by subgroup ineqdeco Module to calculate inequality indices with decomposition by subgroupineqfacModule to calculate inequality decomposition by factor componentsineqrbdModule to calculate regression-based inequality decompositioninequal2Module to compute measures of inequalityinequal7Module to compute measures of inequalityingapModule to insert gap observations into a data set before output by listtex ●inormModule to perform multiple imputation using Schafer's methodinsheetjsonModule for importing tabular data from JSON sources on the internetinsingapModule to insert a single gap observation at the top of each by-groupinsobModule to insert empty observations ●int_utilsModule to perform interval computations in Mata intcens Module to perform interval-censored survival analysisinteff3Module to compute partial effects in a probit or logit model with a triple dummy variable interaction term ●integrateModule to perform one-dimensional integration intext Module to read text files into string variablesintgphModule to interpret interaction effects and present graphically ●intsolverModule providing functions and tools for finding solutions to nonlinear equation systems in MatainttermsModule to enumerate all indicators for all intersections of two categorical variablesinvcdfModule to invert the cumulative distribution functioninvciseModule to compute standard errors using the inverse confidence interval method ●invgammafitModule to fit a two-parameter inverse gamma distribution invgaussfit Module to fit a two-parameter inverse Gaussian distributioniopModule to to compute different measures of inequality of opportunity for dichotomous, ordered and continuous outcome variablesipdforestModule to produce forest plot for individual patient data IPD meta-analysis (one stage) ipdmetan Module for performing two-stage IPD meta-analysisipfModule to perform log-linear modelling using Iterative Proportional FittingipfweightModule to create adjustment weights for surveysipshinModule to perform Im-Pesaran-Shin panel unit root testiquantileModule to calculate interpolated quantilesirrModule to calculate the (periodic) internal rate of return for a series of periodic cash flowsirreproModule to produce a simulation of irreproducible resultsirscharitiesModule to import and format IRS Exempt Organization Business Master File DataisaModule to perform Imbens' (2003) sensitivity analysisiscoModule to recode 4 digit ISCO-68 occupational codesiskoModule to recode 4 digit ISCO-88 occupational codesisopovertyModule to generate data for Inequality-Poverty and Iso-Poverty curvesistdizeModule to generate indirectly standardized rates using a standard populationisvarModule to filter names into variable names and othersitsaModule to perform interrupted time series analysis for single and multiple groups itsp_ado Module to accompany Introduction to Stata Programming bookivactestModule to perform Cumby-Huizinga test for autocorrelation after IV/OLS estimationivcheckModule to choose between OLS and contaminated IVivendogModule to calculate Durbin-Wu-Hausman endogeneity test after ivregivgauss2Module to estimate two-parameter log-inverse Gaussian regressionivglogModule to estimate inverse Gaussian distribution-log link MLE modelivgmm0Module to perform instrumental variables via GMMivhettestModule to perform Pagan-Hall and related heteroskedasticity tests after IVivpoisModule to estimate an instrumental variables Poisson regression via GMMivprob-ivtobitModules to estimate instrumental variables probit and tobitivprob-ivtobit6Modules to estimate instrumental variables probit and tobit ●ivreg2Module for extended instrumental variables/2SLS and GMM estimationivreg28Module for extended instrumental variables/2SLS and GMM estimation (v8) ivreg29 Module for extended instrumental variables/2SLS and GMM estimation (v9)ivreg2hModule to perform instrumental variables estimation using heteroskedasticity-based instrumentsivreg2hdfeModule to estimate an Instrumental Variable Linear Regression Model with two High Dimensional Fixed Effectsivregress2Module to export first and second-stage results similar to ivregressivresetModule to perform Ramsey/Pesaran-Taylor/Pagan-Hall RESET specification test after IV/GMM/OLS estimationivtreatregModule to estimate binary treatment models with idiosyncratic average effectivvifModule to report variance inflation factors after IVjarowinklerModule to calculate the Jaro-Winkler distance between stringsjbModule to perform Jarque-Bera test for normality on seriesjb6Modules to perform Jarque-Bera test for normalityjmpierceModule to perform Juhn-Murphy-Pierce decompositionjmpierce2Module to compute trend decomposition of outcome differentials jnsn Module to fit Johnson distributions johans Module to perform Johansen-Juselius ML estimates of cointegrationjoinvarsModule to join values of variablesjonterModule to perform Jonckheere-Terpstra testkalphaModule to compute Krippendorff's Alpha-ReliabilitykapgofModule to compute confidence intervals for the kappa statistickaplanskyModule to graph examples of distributions of varying kurtosis ●kappa2Module to produce Generalizations of weighted kappa for incomplete designskappreviModule to plot the dependence of kappa statistic on true prevalence kaputil Module to generate confidence intervals and sample size calculations for the kappa-statistickategoModule to split a continuous numerical variable in custom categorieskdboxModule to generate kernel density plot with boxplot ●●kdensModule for univariate kernel density estimation ●●kdens2Module to estimate bivariate kernel densitykdmanyModule to perform kernel density estimation for several variableskeeporderModule to keep and order a set of variableskeepvarModule to keep a list of variables in the order of their appearance in the listkernelModule to compute various kernelskernreg1Module to compute kernel regression (Nadaraya-Watson estimator)kernreg2Module to compute kernel regression (Nadaraya-Watson estimator) ●ketchupModule to produce modern-looking dynamic reports in HTML and PDFkeybyModule to key the dataset by a variable listkeyplotModule to generate scatter plot with keys in user-chosen positions ●khbModule to decompose total effects into direct and indirect via KHB-methodkitchensinkModule to return the model with the highest number of statistically significant predictors kountry Module to standardize country names across various datasetskpssModule to compute Kwiatkowski-Phillips-Schmidt-Shin test for stationaritykr20Module to calculate Kuder-Richardson coefficient of reliabilitykrippalphaModule to compute Krippendorff's alpha intercoder reliability coefficientkrlsModule to perform Kernelâ€“Based Regularized Least SquaresksiModule to compute Krugman specialization indexkwallis2Module to perform Kruskal-Wallis Test for equality of populationskwstatModule to compute kernel weighted sample statisticslabcenswdiModule to automatically manage datasets obtained from US Census 2000 and World Development Indicators databaseslabellackingModule to report numeric variables with values lacking value labelslabellistModule to list value labelslabelmissModule to label missing datalabelsofModule to obtain a list of labeled values ●labelutilprograms to create multiple value labels labgen Module to generate or replace variables with definitions in variable labelslablistModule to list value labels (if present) for one or more variableslabmatchModule to find observations by label valueslabmmModule to modify multiple value labels simultaneouslylabmvModule to change numeric values to extended missing values preserving value labelslabrecModule to recode variables according to value labellabsortModule to recode a grouping variable according to a group statistic and reorder its value labelslabsummModule to generate summary table with variable labelslabundefModule to list undefined value labels attached to variables in the current datasetlabupModule 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 labelslabvalch3Module to change value labelslabvalclModule to clear value labels of null stringslabvalpoolModule to change value labelslabvarsModule to attach a list of labels to varlistlambdaModule for Goodman and Kruskal's lambda measures for two-way tableslandemetsModule to compute boundaries for group sequential clinical trials using alpha spending functionslarsModule to perform least angle regression latab Module to generate LaTeX output from tabulatelbpowerModule 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 ●lcmcModule 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 ●ldtestModule to compute Lorenz Dominance testsleanoutModule to produce lean output formatting for estimation resultsleeboundsModule 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 variableleveneModule to test for equal population varianceslevinlinModule to perform Levin-Lin-Chu panel unit root testlevpredictModule 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 regressionlgraphModule to draw line graphs with optional error bars ●libjsonModule to provide Mata class library for obtaining and parsing JSON strings into object treeslincheckModule to graphically assess the linearity of a continuous covariate in a regression modellincom2Module to compute multiple linear combinations lincomest Module to generate linear combinations of estimators saved as estimation resultslinequateModule to calculate linear equating constants using the Tucker and Levine MethodslinkplotModule for linked (connected) scatter plotslisrelinputModule to generate input for pasting into LISRELlistmissModule to analyse missing values related to an estimation commandlistsomeModule 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 wordsljsModule to left-justify string variables for printing ●lmabgModule 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) ●lmabgnlModule to compute NLS Autocorrelation Breusch-Godfrey Test at Higher Order AR(p) ●lmabpModule to compute Box-Pierce Autocorrelation LM Test at Higher Order AR(p) ●lmabp2Module to compute 2SLS-IV Box-Pierce Autocorrelation LM Test at Higher Order AR(p) ●lmabpgxtModule to compute Panel Data Autocorrelation Breusch-Pagan-Godfrey Test ●lmabpnlModule to compute NLS Autocorrelation Box-Pierce Test at Higher Order AR(p) ●lmabpxtModule to compute Panel Data Autocorrelation Box-Pierce Test ●lmabxtModule to compute Panel Autocorrelation Baltagi Test ●lmadurhModule to compute Durbin h, Harvey LM, Wald LM Autocorrelation Tests ●lmadurh2Module to compute 2SLS-IV Autocorrelation Dynamic Durbin h, Harvey LM, and Wald Tests ●lmadurhxtModule to Compute Panel Data Autocorrelation Dynamic Durbin h and Harvey LM Tests ●lmadurmModule to compute OLS Autocorrelation Dynamic Durbin m Test at Higher Order AR(p) ●lmadurmnlModule to compute NLS Autocorrelation Dynamic Durbin m Test at Higher Order AR(p) ●lmadurmxtModule to compute Panel Data Autocorrelation Dynamic Durbin m Test ●lmadwModule to compute Durbin-Watson Autocorrelation Test ●lmadw2Module to compute 2SLS-IV Autocorrelation Durbin-Watson Test at Higher Order AR(p) ●lmadwnlModule to compute NLS Autocorrelation Durbin-Watson Test at Higher Order AR(p) ●lmalbModule to compute Ljung-Box Autocorrelation LM Test at Higher Order AR(p) ●lmalb2Module to compute 2SLS-IV Autocorrelation Ljung-Box Test at Higher Order AR(p) ●lmalbnlModule to compute NLS Autocorrelation Ljung-Box Test at Higher Order AR(p) ●lmanlsurModule to perform Overall System NL-SUR Autocorrelation Tests ●lmareg3Module to compute Overall System Autocorrelation Tests after 3SLS and SURE ●lmasemModule to perform Overall System Structural Equation Modeling (SEM) Autocorrelation Tests ●lmavonModule to compute Von Neumann Ratio Autocorrelation Test at Higher Order AR(p) ●lmavonnlModule to compute NLS Autocorrelation Von Neumann Ratio Test at Higher Order AR(p) ●lmavonxtModule to compute Panel Data Autocorrelation Von Neumann Ratio Test ●lmazModule to compute OLS Autocorrelation Z Test at Higher Order AR(p) ●lmcolModule to compute OLS Multicollinearity Diagnostic Tests ●lmcovnlsurModule to perform Breusch-Pagan Lagrange Multiplier Diagonal Covariance Matrix Test after (NL-SUR) Regressions ●lmcovreg3Module to Compute Breusch-Pagan Lagrange Multiplier Diagonal Covariance Matrix Test after (3SLS-SURE) Regressions ●lmcovsemModule to perform Overall System Structural Equation Modeling (SEM) Breusch-Pagan Lagrange Multiplier Diagonal Covariance Matrix Test ●lmcovvarModule to compute (VAR) Breusch-Pagan Diagonal Covariance Matrix Test ●lmcovxtModule to Compute Breusch-Pagan Lagrange Multiplier Diagonal Covariance Matrix Test for Panel Data ●lmegModule to compute Augmented Engle-Granger Cointegration Test at Higher Order AR(p) ●lmfregModule to Compute OLS Linear vs Log-Linear Functional Form Tests ●lmfreg2Module to compute 2SLS-IV Linear vs Log-Linear Functional Form Tests ●lmgcModule to compute Granger Causality Test at Higher Order AR(p) ●lmharchModule to compute OLS Heteroscedasticity Engle (ARCH) Test ●lmhcwModule to Compute OLS Heteroscedasticity Cook-Weisberg Test ●lmhcwnlModule to compute NLS Heteroscedasticity Cook-Weisberg Test ●lmhglModule to Compute Glejser Lagrange Multiplier Heteroscedasticity Test for Residuals after OLS Regression ●lmhharvModule to Compute Harvey Lagrange Multiplier Heteroscedasticity Test for Residuals after OLS Regression ●lmhhpModule to Compute OLS Heteroscedasticity Hall-Pagan Test ●lmhhp2Module to Compute 2SLS-IV Heteroscedasticity Hall-Pagan Test ●lmhhpnlModule to compute NLS Heteroscedasticity Hall-Pagan Test ●lmhhpxtModule to compute Panel Data Heteroscedasticity Hall-Pagan Test ●lmhlmxtModule to Compute Breusch-Pagan Lagrange Multiplier Panel Heteroscedasticity Test ●lmhlrxtModule to Compute Greene Likelihood Ratio Panel Heteroscedasticity Test ●lmhmss2Module to Compute 2SLS-IV Heteroscedasticity Machado-Santos-Silva Test ●lmhnlsurModule to perform Overall System NL-SUR Heteroscedasticity Tests ●lmhreg3Module to compute Overall System Heteroscedasticity Tests after (3SLS-SURE) Regressions ●lmhsemModule to perform Overall System Structural Equation Modeling (SEM) Heteroscedasticity Tests ●lmhwaldModule to compute OLS Heteroscedasticity Wald Test ●lmhwaldxtModule to compute Panel Data Heteroscedasticity Wald Test ●lmnadModule to Compute OLS Non Normality Anderson-Darling Test ●lmnadxtModule to compute Panel Data Non Normality Anderson-Darling Test ●lmndhModule to Compute OLS Non Normality Doornik-Hansen Test ●lmndpModule to Compute OLS Non Normality D'Agostino-Pearson Test ●lmngrModule to compute Jarque-Bera Non Normality Lagrange Multiplier Runs Test for Residuals after OLS Regression ●lmngryModule to compute Geary Non Normality Lagrange Multiplier Runs Test ●lmngryxtModule to compute Panel Data Non Normality Geary Runs Test ●lmnjbModule to compute Lagrange Multiplier LM Jarque-Bera Normality Test ●lmnjbnlModule to compute NLS Non Normality Jarque-Bera Test ●lmnnlsurModule to perform Overall System NL-SUR Non-Normality Tests ●lmnreg3Module to compute Overall System Non Normality Tests after (3SLS-SURE) Regressions ●lmnsemModule to perform Overall System Structural Equation Modeling (SEM) Non Normality Tests ●lmnwhiteModule to Compute White Non Normality Lagrange Multiplier Test after OLS Regression ●lmnwhitenlModule to compute NLS Non Normality White Test ●lmnwhitextModule to compute Panel Data Non Normality White Test lmoments Module to generate L-moments and derived statisticslmsModule to perform least median squares regression fit ●lmsrdModule to compute Spurious Regression Diagnostic after OLS RegressionlocprModule for semi-parametric estimation loevh Module to compute Guttman errors and Loevinger H coefficientslog2do2Module to convert log file to do filelog2htmlModule to produce HTML log fileslogitcprplotModule to graph component-plus-residual plot for logistic regression ●logithetmModule 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 formatslogpredModule to calculate logistic regression probabilitieslomackinlayModule to perform Lo-MacKinlay variance ratio testlomodrsModule to perform Lo R/S test for long range dependence in timeserieslongchModule to identify how many records satisfy a conditionlongplotModule to produce exploratory plot for longitudinal datalongshapeModule to reshape long (limited alternative version)loocvModule to perform Leave-One-Out Cross-Validationlookfor_allModule to search for variables/patterns in .dta fileslookfor_valModule to search the current dataset for values that match a specified patternlookforitModule to search variable names and labels for some string or stringsloopplotModules to generate scatter plots with loopslprplotModule to produce logistic regression partial residual plotslrchgModule to calculate change in coefficients between logistic modelslrdrop1Module to calculate likelihood-ratio test after dropping one termlrmatxModule to make logistic regression estimates availablelrplotModule to plot coefficients from a logistic regressionlrseqModule to calculate sequential likelihood-ratio test after model estimation lrutil Modules providing utilities for logistic regressionlstackModule to stack variables with labelled _stacklstrfunModule to modify long local macrosltable2Module to generate life tables for rare events ●ltimbimataModule containing six general-purpose Mata functionslxpct_2Module to calculate multistate life expectancies m_stats Module to implement interpoint distance distribution analysismac_unabModule to unabbreviate Global Macro ListsmadfullerModule to perform Dickey-Fuller test on panel data mahapick Module to select matching observations based on a Mahalanobis distance measuremajorityModule for majority calculations for real or hypothetical electionsmakehlpModule to automatically create a help filemakematrixModule to make a matrix of results from other commandsmaketexModule to generate LaTeX code from a text filemapchModule map chains of events ●margdistfitModule 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 modelsmargintegrateModule 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 modelsmark_changesModule to generate a variable indicating where one or more variables changes value ●markdocModule to convert SMCL logfiles to Markdown formatmarkerModule to generate indicator variable marking desired samplemarkovModule to generate Markov probabilities marktouse Module to mark the observations to be usedmat2txtModule to write matrix to ASCII filematamatrixModule to enable using Mata functions on Stata matrices matin4-matout4 Module to import and export matricesmatmapModule to perform elementwise calculations for matricesmatnamesModule to return matrix row and column names matodd Modules to produce various matrix tasksmatpwcorrModule 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 matricesmatsortModule to sort a matrix by a given columnmatvsortModule for sorting vectors or rows or columns of matricesmatwriteModule to write Stata variables as MATLAB matricesmbsensModule to compute Sensitivity metric for matched sample using McNemar's testmcaModule to perform multiple correspondence analysismcenterModule to center variables at their means mcl Module to estimate multinomial conditional logit modelsmcmccqregModule to perform simulation assisted estimation of censored quantile regression using adaptive Markov chain Monte Carlo ●mcmclinearModule 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 regressionmdensityModule for univariate kernel density estimation, for variables or groupsmdeprivModule to compute synthetic indicators of multiple deprivationmdescModule to tabulate prevalence of missing valuesmean2Module to make a table of estimate means with subpopulation differencesmedcoupleModule to compute medcouple measure of asymmetry and heaviness of the tailsmedianModule to perform the median test mediation Module for causal mediation analysis and sensitivity analysismedoidModule to calculate medoidsmehetprobModule to compute marginal effects at means and their standard errors after hetprob ●meloreg2Module to perform Minimum Expected Loss (MELO) Instrumental Variables RegressionmeltModule to melt variables into a dataset containing aggregated data by variablemeoprobitModule to compute marginal effects after estimation of ordered probitmequateModule to calculate equating constants using the Mean/Mean and Mean/Sigma methods ●merescModule to rescale the results of mixed nonlinear probability modelsmergeallModule to merge multiple filesmergemanyModule to merge many filesmergepolyModule to merge adjacent polygons from a shapefile ●meta_lrModule to graph positive and negative likelihood ratios in diagnostic test ●metaaggrModules for meta-analysis of aggregate datametaanModule to perform fixed- or random-effects meta-analyses ●metabiasModule to test for small-study effects in meta-analysis metacum Module to perform cumulative meta-analysis, with graphicsmetadataModule to enable access to metadata ●metadialogModule to provide sub-menu and dialogs for meta-analysis commandsmetaeffModule to perform effect sizes calculations for meta-analyses ●metafunnelModule to produce funnel plots for meta-analysismetagenModule to perform meta-analysis of genetic-association studiesmetagraphModule to draw Forrest plot after meta command metamiss Module to perform meta-analysis with missing data ●metanModule for fixed and random effects meta-analysis metandi Module to perform meta-analysis of diagnostic accuracy ●metaninfModule 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 ●metaregModule to perform meta-analysis regressionmetatrendModule to implement regression methods for detecting trends in cumulative meta-analysis ●metatrimModule to perform nonparametric analysis of publication biasmfilegrModule 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 predictorsmfx2Module to enhance mfx command for obtaining marginal effects or elasticities after estimationmgenModule to apply generate to a matrix mgof Module to perform goodness-of-fit tests for multinomial datami_mvncatModule to assign "final" values to (mvn) imputed categorical variablesmi_twowayModule for computing scores on questionnaires containing missing item responsesmiceModule for multiple imputation of missing values midas Module for meta-analytical integration of diagnostic test accuracy studiesmif2dtaModule convert MapInfo Interchange Format boundary files to Stata boundary filesmiincModule to conduct multi-model inference using information criteria mim Module to analyse and manipulate multiply imputed datasetsmimrgnsModule to run margins after mi estimatemimstackModule to stack multiply-imputed datasets into format required by mimminapModule to calculate minimum average partial correlation for principal components miparallel Module to perform parallel estimation for multiple imputed datasetsmiraModule to compute Rubin's measure for multiple imputation regression analysismissingModule to replace missing valuesmissingplotModule to draw plot showing patterns of missing values in a datasetmisumModule to calculate summary statistics in MI datasetmivifModule to calculate variance inflation factors after mi estimate regress mixlogit Module to fit mixed logit models by using maximum simulated likelihoodmkbilognModule to create bivariate lognormal variablesmkcorrModule to generate correlation table formatted for easy inclusion in articles mkdat Module providing easy SOEP retrievalsmkestModule to convert variables to estimates matrix mkprofile Module to create or edit your 'profile.do'mkstrsnModules to format Social Security number variablesmktabModule to print table of estimates in delimited or screen-presentation format mlboolean Module to implement Boolean logit and probitmlcointModule to compute Johansen cointegration testsmlogitrocModule to calculate multiclass ROC Curves and AUC from Multinomial Logistic RegressionmlogpredModule to produce predicted probabilities after mlogit and svymlogmlowessModule for lowess smoothing with multiple predictorsmltModule to provide multilevel tools mm_regress Module to compute robust regression estimatesmmergeModule: Safer and easier to use variant of mergemmodesModule to calculate the mode for a numeric varlist mmsel Module to simulate (counterfactual) distributions from quantile regressions (w/optional sample selection correction)mmsrmModule to estimate Multidimensional Marginally Sufficient Rasch Model (MMSRM)mmwsModule to perform marginal mean weighting through stratificationmnthplotModule 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 regressionmodlprModule to estimate long memory in a timeseriesmogModule to produce one way or two way tables of means (or totals)molModule to evaluate literacy levelmomentsModule to compute moment-based statisticsmoments2Module to compute skewness and kurtosis measures more_clarify Module to estimate quantities of interest through simulation and resampling methods ●moremataModule (Mata) to provide various functionsmoreobsModule to add observations to datasetmossModule to find multiple occurrences of substringsmovavgModule using Mata to generate Moving Averages movestay Module for maximum likelihood estimation of endogenous regression switching modelsmpovlineModule to calculate FGT0, FGT1 and FGT2 by intervals of multiple thresholds mqgamma Module to estimate quantiles of potential-outcome distributionsmrdumModule 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 responsesmsdirbModule 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 ProceduremsplotModule for multiple median-spline plotsmssModule to perform heteroskedasticity test for quantile and OLS regressions mstdize Module to produce marginal standardization of two-way tablesmstoreModule to Store and Retrieve Matrices with DatasetmtadModule to perform Multinomial Test of Agglomeration and Dispersion ●mtreatregModule to fits models with multinomial treatments and continuous, count and binary outcomes using maximum simulated likelihoodmulogitModule to calculate multivariate and univariate odds ratios in logistic regressionmultencodeModule to encode multiple string variables into numericmultibarModule to produce bar and dot graphs for use with overlapping over() categoriesmultipurtModule to run 1st and 2nd generation panel unit root tests for multiple variables and lagsmundlakModule to estimate random-effects regressions adding group-means of independent variables to the modelmuxplotModule to produce scatter plots with y versus multiple x variablesmuxyplotModule to produce scatter plots with multiple x and y variablesmvcorrModule to generate moving-window correlation or autocorrelation in time series or panelmvfilesModule 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 ●mvportModule for Collection and Optimization of Financial Portfolios mvprobit Module to calculate multivariate probit regression using simulated maximum likelihoodmvsamp1iModule to determine sample size and power for multivariate regressionmvsampsiModule to determine sample size and power for multivariate regressionmvsktestModule to test for multivariate skewness and kurtosis mvsumm Module to generate moving-window descriptive statistics in time series or panelmvtestModule 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 datesmypkgModule to inform on packages installed over netnbercyclesModule to generate graph command (and optionally graph) timeseries vs. NBER recession datingnbfitModule 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 distributionndbciModule extending ci for single variable with exposure timenearestModule to calculate nearest neighbours from point coordinatesnearmrgModule to provide nearest-match merging of datasets ●nearstatModule to calculate distance-based variables and export distance matrix to text file neoclassical Module to estimate neoclassical education transitions modelnetplotModule to provide social network visualization newey2 Module to extend newey (HAC covariance estimation)newsimpactModule to compute news impact curve for ARCH modelsnharveyModule to perform Nyblom-Harvey panel test of common stochastic trendsnicedatesModule for nice dates, especially for time series graphs njc_stuff Module documenting Stata programs and help files by Nicholas J. CoxnlcheckModule to check linearity assumption after model estimation ●nlcorrModule to compute correlation metric for cross-sample comparisons using non-linear probability models nmissing Module to show numbers of missing or present valuesnnestModule to perform J test and Cox-Pesaran-Deaton test for nonnested modelsnnipolateModule for nearest neighbour interpolationnnmatchModule to compute nearest-neighbor bias-corrected estimatorsnonparmdeModule to calculate the minimum detectable effect in randomized experimentnopomatchModule to implement Nopo's decompositionnormModule to normalize variablesnormalizepathModule to parse (and normalize) files' pathsnormtestModule to perform tests of univariate kurtosis and skewnessnpinfoModule to merge network-based nodal characteristics nproc Module to produce nonparametric receiver operating curvesnpseriesModule to perform Nonparametric Power Series Estimation nruns Module to compute number of runs compared with random shufflesnsplitModule to split numeric variable into components nstage Module for multi-arm, multi-stage (MAMS) trial designs for time-to-event outcomes ●nstagebinModule 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 outcomesnum2wordsModule to convert numbers to textnvarsModule to count the number of variablesnwindModule to compute Newey-Windmeijer VCE after ivreg2 GMM-CUE estimationnysiisModule to calculate nysiis codes from string variablesnytimesModule to display top news stories from the New York Timesoaxaca8Module to compute decompositions of outcome differentials oaxaca9 Module to compute the Blinder-Oaxaca decompositionobsdiffModule 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 dataoddsriskModule to convert Logistic Odds Ratios to Risk RatiosodiModule to score Oswestry Disability IndexodkmetaModule to import ODK dataoeratioModule 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 normalityomodelModules to perform tests on ordered probit and ordered logit modelsonemodeModule to produce one-mode projections of a bipartite network onespell Module to generate single longest spell for each unit in panel data, listwiseonewayplotModule for oneway plotsonewplotModule for oneway plots oparallel Module providing post-estimation command for testing the parallel regression assumptionopenallModule to open all specified files with append oprobpr Module to display predicted probabilities from ordered probit and logitoptifactModule to find the best summated rating scale from a list of items ordplot Module for cumulative distribution plot of ordinal variableordvarModule to calculate measures of ordinal consensus and dispersionorseModule to save odds ratios and their standard errors after logit, ologitorth_outModule to automate and export summary stats/orthogonality tablesorthogModule to orthogonalize variables outdat Module to export data to other statistical packagesoutfixModule to produce fixed format output (version 5)outfix2Module to output formatted dataoutfixtModule to write fixed-format text file ●outregModule to write estimation tables to a Word or TeX file outreg2 Module to arrange regression outputs into an illustrative tableoutreg5Module to format regression output for published tablesoutseriesModule to write timeseries to text filesoutsumModule 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 commandovbdModule to generate correlated random binomial dataoverfitmodule to calculate shrinkage statistics to measure overfitting as well as out- and in-sample predictive biasoveridModule to calculate tests of overidentifying restrictions after ivreg, ivreg2, ivreg29, ivprobit, ivtobit, reg3overlayModule to overlay multiple x vs y graphs ovfplot Module for plots of observed vs fittedp2ciModule to calculate confidence limits of a regression coefficient from the p-valuepairdataModule to create paired datasets from individual-per-row datapairplotModule for plots of paired observationspajek2stataModule to import network data in Pajek's .net formatpalette_allModule to display all the named colours in Stata ●pamModule to Estimate Policy Analysis Matrix (PAM) ●panelautoModule to support tests for autocorrelation on panel datapanelsModule to count panels and apply a command to panel unitspanelthinModule to identify observations for possible thinned panel dataset ●panelunitModule to support unit root tests on panel data ●pantest2Module to perform diagnostic tests in fixed effects panel regressionsparagrModule for parallel graphing of a coefficient across different equations ●parallelModule for Parallel Computing ●paramedModule to perform causal mediation analysis using parametric regression modelsparanModule 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 resultssetsparmparseModule to parse a parameter name variable in a parmest resultssetparplotModule for parallel coordinates plotsparseuasModule to extract detailed information from user agent stringspartgamModule to calculate partial gamma coefficient partpred Module to generate partial predictionsparttauModule to calculate Kendall's partial tau and confidence intervalpascalModule to draw Pascal's triangle ●●pathofModule to return the absolute path of any parent directory of the current working directorypaverageModule to calculate p-period-average series in a panel datasetpayperModule 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 velocitypchipolateModule for piecewise cubic Hermite interpolationpciplotModule 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 pcmodelpcontractModule to make a data set of frequencies and percentagespcorr2Module to display partial and semipartial correlation coefficientspcorrmatModule to compute partial correlation coefficients controlled for a fixed set of covariatespctrimModule to trim variables based on percentilespdplotModule to produce Pareto dot plot ●pemModule to Estimate Partial EquiLibrium Model (PEM) percom Module to create permutations and combinationspersonageModule to calculate people's ages or similar daily date differences perturb Module to evaluate collinearity and ill-conditioningpescadfModule to perform Pesaran's CADF panel unit root test in presence of cross section dependence ●petpoissonModule 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 modelsphenotypeModule to simulate disease status and censored age for family data piaactools Module to provide PIAAC toolspieplotModule to plot pie charts of categorical frequenciespindexModule to compute targeted price indicespisaregModule to perform linear regression with PISA data and plausible values pisatools Module to facilitate analysis of the data from the PISA OECD studyplausexogModule to implement Conley et al's plausibly exogenous boundsplotbetaModule to plot linear combinations of coefficientsplotmatrixModule to plot values of a matrix as different coloured blocksplssasModule to execute SAS partial least squares procedure (Windows only)png2rtfModule to include PNG graphics in RTF documentspnrcheckModule to verify the check digit in Swedish personal identification numberpoi2hdfeModule to estimate a Poisson regression with two high-dimensional fixed effects poisml Module to estimate maximum likelihood Poisson regression modelspolarModule to plot polar coordinatespolysplineModule to generate sensible bases for polynomials and other splines ●poparmsModule for potential outcome parameter estimationpopsimModule to simulate completed fertility and birth intervals for two generations postrcspline Module containing post-estimation commands for models using a restricted cubic splinepostrriModule to calculate posterior relative risks povdeco Module to calculate poverty indices with decomposition by subgrouppovertyModule to calculate poverty measurespovguideModule to generate the U.S. Poverty Guideline value for a given family size and yearpovimpModule to provide poverty estimates in the absence of actual consumption datapovtimeModule to compute aggregate intertemporal poverty measures (poverty in a panel accounting for time)powercalModule to perform general power and sample size calculationspowerqModule to calculates posterior probabilities for heterogeneity in a meta-analysis powersim Module for simulation-based power analysis for linear and generalized linear modelsppplotModule for P-P plotsppschromyModule 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 modelpredcalcModule to calculate out-of-sample predictions for regression, logisticpredxcatModule to calculate predicted means, medians, or proportions for nominal X'spredxconModule to calculate predicted means, medians, or proportions for a continuous X variablepreparModule to write code and data file needed to process variables in PARSCALEpreparationModule to facilitate a one-by-one observation of varlist to make it easier to control data and labelsprimesModule to generate prime numbersprintgphModule to execute command for each matching fileprobcalcModule to calculate probabilities for Binomial, Poisson, and Normal Distributions probexog-tobexog Modules to test exogeneity in probit/tobit probitiv Module to perform instrumental variables probitprobitmissModule for Efficient Probit Estimation with Partially missing CovariatesprodvarsModule to create product variables for two lists of input variablesprofhapModule to construct profile likelihood confidence intervals for haplotype analysisprogresModule to measure distributive effects of an income tax ●projectModule providing a set of tools to build and manage a Stata projectprolistModule to list programs, help files, dialogs propcnsreg Module fitting a measurement model with causal indicators proprcspline Module for restricted cubic spline smoothing of proportionsprosperityModule to compute Shared Prosperity Convergence IndexprweModule 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 estimatespsemailModule 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) ●psmatch2Module to perform full Mahalanobis and propensity score matching, common support graphing, and covariate imbalance testingpsplineModule 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 valuespvennModule to create proportional Venn diagrampvfixModule to compute the present value of a series of equal payments (cash flows)pvvarModule to compute the present value of a series of payments (cash flows) pvw Module to perform predictive value weighting for covariate misclassification in logistic regressionpwcorr2Module to compute pairwise correlations and return resultspwcorrsModule for enhanced correlation matrixpwcorrwModule to print wide correlation matrix with significance indicatorspwcovModule to compute pairwise covariances pweibull Module to generate probability plot for data vs fitted Weibull distribution ●pwmcModule to compute pairwise multiple comparisons (unequal variances)pwplotiModule to plot power curve for sample size and power calculation ●pyramidTutorial for population pyramids ●pythonModule for using the Python language within StataqapModule 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 ●qenvModule 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 unknownqicModule to compute model selection criterion in GEE analysesqllModule to implement Elliott-Müller efficient test for general persistent time variation in regression coefficientsqnModule to estimate Rousseeuw and Croux (1993) robust measure of dispersion qog Module to access the most recent release of the "Quality of Government" dataqogbookModule to access Quality of Government codebooks qpfit Module containing various quantile and probability plots for assessing distribution fitqqplot2Module to produce quantile-quantile plotqqplot3Module to plot the unweighted and weighted quantiles of one variable against the corresponding quantiles of anotherqqvalueModule to generate quasi-q-values by inverting multiple-test proceduresqreg2Module to perform quantile regression with robust and clustered standard errors qsim Module to produce variables for clarify routinesquadasModule to provide graphical depiction of quality assessment in diagnostic accuracy reviewsquandlModule to obtain data from Quandl using the Quandl APIquantilesModule to categorize by quantilesquickiccModule to compute intraclass correlation and standard error calculation after xtmixedquineModule providing a self-producing program qv Module to compute quasi-variances qweibull Module to generate quantile-quantile plot for data vs fitted Weibull distributionr2_aModule to generate adjusted R squared after regression ●r2_mzModule to compute McKelvey & Zavoina's R2r2cModule to compute several fit statistics for count data models ●r2nlsurModule to perform Overall System (NL-SUR) System R2, Adj. R2, F-Test, and Chi2-Testr2oModule to calculate an ordinal explained variation statistic ●r2reg3Module to compute System R2, Adj. R2, F-Test, and Chi2-Test after reg3 or sureg ●r2semModule to perform Overall System Structural Equation Modeling (SEM) R2, Adj. R2, F-Test, and Chi2-Test ●r2varModule to Compute (VAR) Overall System R2, F-Test, and Chi2-TestradarModule to draw radar (spider) plotsradiusmatchModule to perform distance-weighted radius matching with bias adjustmentraewmaModule to plot the risk adjusted exponentially weighted moving average ralloc Module to design randomized controlled trialsralphaModule to generate pseudo-random characters or wordsrandomtagModule to draw observations without replacement ●randwalkTutorial for random walk ●ranktestModule to test the rank of a matrix using the Kleibergen-Paap rk statisticranovaModule to estimate single factor repeated measures ANOVA ranvar Module to compute the random group variance estimator of the mean for survey dataraschcvtModule to produce data in WINSTEPS formatraschfitModule 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)rasprtModule to plot the risk adjusted sequential probability ratio test (+/- risk adjusted cusum)rboundsModule to perform Rosenbaum sensitivity analysis for average treatment effects on the treatedrc2Module to estimate Goodman's Row and Columns model 2rc_splineModule to generate restricted cubic splinesrcaModule to compute various revealed comparative advantage (RCA) indicesrcdModule to run commands recursivelyrcentileModule to compute robust confidence intervals for percentilesrcsgenModule to generate restricted cubic splines and their derivativesrcsplineModule for restricted cubic spline smoothingrct_minimModule to assign treatments to subjects in a controlled trialrctableModule to create a table used in randomized controlled trials rd Module for regression discontinuity estimation rdci Module to calculate risk difference confidence intervalsrdcvModule to perform Sharp Regression Discontinuity Design with Cross Validation Bandwidth SelectionrdpowerModule to perform power calculations for random designsreadlogModule to read and process a filereadreplaceModule to make replacements that are specified in an external datasetrecapModule to perform capture-recapture analysis for three sources with Goodness-of-Fit based confidence intervalsrecast2Module to change storage type of variablereclinkModule to probabilistically match recordsrecode2Module to provide extended recode capabilities reffadjust Module to estimate adjusted regression coefficients for the association between two random effects variablesreffectModule to compute Pearson's r Effect Size Computation for Analysis of Variance (ANOVA)reformatModule to reformat regression outputreg2hdfeModule to estimate a Linear Regression Model with two High Dimensional Fixed EffectsreganatModule 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 listsregcoefmodule to compute coefficients for quantifying relative importance of predictorsregdisModule to control variables and decimals in regression displaysregenModule to create new or change existing variable reghdfe Module to perform linear or instrumental-variable regression absorbing any number of high-dimensional fixed effectsregintfeModule to estimate a linear regression model with one interacted high dimensional fixed effectreglikeModule 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 modelsregpredModule to calculate linear regression predictionsregresbyModule to generate regression residuals by byvarlist regsave Module to save regression results to a Stata-formatted datasetregtableModule to produce file of conditional average treatment effectsregwlsModule to estimate Weighted Least Squares with factor variablesrel_clustModule to compute indices of relative clusterability of variablesrelrankModule to generate relative data (grade transformation)renamesModule to rename variablesrenfilesModule 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-directorierensheetModule to edit variable names and labelsrenvarlabModule to rename variables, with option of using variable labels to create new variable namesreorderModule to reorder variables in dataset, reversiblyrepestModule to run estimations with weighted replicate samples and plausible valuesrepsampleModule to perform representative sampling from a population or theoretical distributions ●resetModule to calculate specification tests in regression analysis ●reset2Module to calculate specification tests in 2SLS-IV regression analysisreshape8Module to reshape while preserving variable labels reswage Module to estimate a reservation wage model with endogenous selectionrevModule to reverse value order of variables revrs Module to reverse variable value orderrevvModule to reverse value order of variablesreweightModule for survey reweighting ●reweight2Module to reweight survey data to user-defined control totalsrewriteModule to rewrite text files from disk performing macro substitutions ●rflModule to maintain lists of recently accessed filesrfregkModule to estimate random-effects model with weightsrglmModule to estimate robust generalized linear modelsrgroupModule for Random Group Variance EstimationrhausmanModule to perform Robust Hausman Specification TestrhsbsampleModule for repeated half-sample bootstrap samplingrichnessModule to compute measures of income richnessridderModule to solve equation by Ridder's method ●ridge2slsModule to compute Two-Stage Least Squares (2SLS) Ridge & Weighted Regression ●ridgeregModule to compute Ridge Regression ModelsriiModule to perform Repeated-Imputation InferenceriigenModule to generate Variables to Compute the Relative Index of InequalityrmanovaModule to estimate repeated measures ANOVArmfilesModule 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 appliedrmseModule to calculate raw or adjusted RMSE (Root MSE) rnd Modules for random number generationrobjbModule to compute Brys et al. (2008) robust Jarque-Bera Normality testroblprModule to estimate long memory in a set of timeseriesrobregModule providing robust regression estimatorsrobumetaModule to perform robust variance estimation in meta-regression with dependent effect size estimatesrocmicModule to estimate minimally important change (MIC) thresholds for continuous clinical outcome measures using ROC curvesrocssModule to calculate ROC curve and other statistics for any classification methodrolling2Module to perform rolling window and recursive estimationrollregModule to perform rolling regression estimationrollstatModule to compute rolling-window statistics for time series or panel data ●romanModule for handling Roman numerals and decimal equivalentsromantoarabicModule for converting roman numerals to arabic numbers ●rowmat_utilsModule to perform parallel computation on sequences of matrices in MatarowranksModule to create row ranks of a set of variablesrowsortModule to row sort a set of integer variables ●rpnfcnModule to provide a Mata generic function evaluator based on Reverse Polish NotationrqModule to compute Reynal-Querol index of ethnic polarization rrlogit Module to estimate logistic regression for randomized response datarrregModule to estimate linear probability model for randomized response datarsoortModule to perform Oort's Structural Equations Modeling (SEM) based procedure to detect Response ShiftrsortModule to perform reproducible random sorting of datasetrsourceModule 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 intervalsrunmixreglsModule to run the MIXREGLS software from within Stata ●runmlwinModule to run the MLwiN multilevel modelling software from within Stata runmplus Module to run Mplus from StatarunningModule for symmetric nearest neighbour smoothingrunparscaleModule to run PARSCALE from StatarwgModule to compute within group interrater reliabilitysafedropModule to drop variables if and only if varnames specified in fullsampiccModule to compute sample size for an intra-class correlation (ICC)sampleppsModule to draw a random sample with probabilities proportional to sizesamplesizeModule to execute sampsi multiple times and produce a graphsampsi_flemingModule to compute exact sample size calculation for single-stage designssampsi_mccModule to calculate Sample Size or Power for Matched Case-Control Studiessampsi_regModule to calculate the sample size/power for linear regressionsampsi_rhoModule to compute sample size for a Pearson correlationsampsi_sccsModule 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 datasetsave9Module to save dataset in Stata 9 formatsaveresultsModule to save output from a command in a file on disksavesomeModule to save subset of data ●●savespssModule to save data to SPSS (.sav) system filesbbqModule to implement the Harding and Pagan (2002) business cycle dating algorithmsbplotModule to generate scatter plot with one y variable shown by vertical barssbplot5Module to generate scatter plot with one y variable shown by vertical barssbriModule to calculate the Spearman-Brown reliabilitysbrowniModule to calculate Spearman-Brown reliability correction for test lengthscat3Module for crude three-dimensional graphicsscatter3dModule 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-burdModule to provide a ColorBrewer-inspired graphics scheme with qualitative and blue-to-red diverging colors ●scheme-mrcModule to provide graphics scheme for UK Medical Research Council ●scheme_rbn1monoModule to provide minimal monochrome graphics schemes ●scheme_tufteModule to provide a Tufte-inspired graphics schemesclsModule to perform symmetrically censored least squaresscmModule to process data for Social Cognitive MappingscoregofModule to perform Score test of normality for probit and bivariate probitscoregrpModule to perform a score test for equality of parameters across groups of observationsscoresModule 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 variablesdlimModule to rescale variables measured with a limited rating scalesdlineModule to plot SD line or reduced major axis sdtest Modules (corrected) sdtest, sdtestiseastModule to calculate tests for seasonality with a variable population at risksegModule to compute multiple-group diversity and segregation indices segregation Module to compute segregation indicesseldumModule to transform indicator variables coefficients in semilog modelselectvarsModule for selecting all possible n-tuples from a varlistsemeanModule to compute standard error of mean (optionally from transformed data)semiparModule to compute Robinson's (1988) semiparametric regression estimatorsencodeModule to encode a string variable non-alphanumerically into a numeric variablesensattModule to compute sensitivity for matching estimatorssenspecModule to compute sensitivity and specificity results saved in generated variablessepscatterModule to draw scatter (or other twoway) plots separated by a third variableseqModule to generate sequences of integers seqlogit Module to fit a sequential logit model ●setpoissonModule to estimate a Selection Endogenous Treatment Poisson model by MSLsetrngseedModule to to set random-number seed using truly random integer from random.orgsf36Module to calculate summary statistics for the SF-36 Health Survey Instrumentsf36frModule to compute the scores of the French versions of the SF36 questionnairesf36v2Module to score Short-Form 36 version 2 ●sfcrossModule for cross-sectional stochastic frontier models estimation ●sfpanelModule for panel data stochastic frontier models estimationshapleyModule to perform additive decomposition of sample statisticshapley2Module to compute additive decomposition of estimation statistics by regressors or groups of regressorssheafcoefModule to compute sheaf coefficientsshortdirModule to return the short Windows directory path nameshorthModule for descriptive statistics based on shortest halvesshowgphModule to to show graphs previously savedshownearModule to show nearby values of numeric variable ●shp2dtaModule to converts shape boundary files to Stata datasetsshuffleModule to shuffle a listshuffle8Module to shuffle a listshufflevarModule to shuffle variables relative to the rest of the datasetsigcoefModule to count statistically significant coefficients across modelssimirtModule to process data generated by IRT modelssimon2stageModule to to compute the design parameters for a Simon two-stage designsimpplotModule creating a plot describing p-values from a simulation by comparing nominal significance levels with the coveragessimputeModule to evaluate the effect of missing data on a published clinical trialsimsumModule 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 ChoicesixplotModule to display six diagnostic and descriptive graphs for a single variablesizefxModule to compute effect size correlationsskbimModule 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 plotsskilmackModule to calculate Skillings-Mack statisticsknorModule to generate a sample from a normal or skewed (skew-normal) distribution, as defined by the userskprobitModule to perform Lagrange Multiplier Test for Normality for Probit modelsliceplotModule for time series or other plot in slicesslideplotModule for sliding bar plot for frequencies or percentsslideviewerModule to manage linked SMCL presentationsslistModule to "smart list" variables in compact format ●slsModule 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 MLsmhsiaoModule to conduct Small-Hsiao test for IIA in multinomial logit smileplot Module to create plots for use with multiple significance testssmithwelchModule to compute trend decomposition of outcome differentials smvcir Module to compute sliced mean variance-covariance inverse regression ●smwoodburyModule to compute Sherman-Morrison-Woodbury rank-k update to matrix inversesoepdoModule to handle SOEP drop-outssoeprenModule providing easy SOEP renames soepuse Module providing easy SOEP access ●somersdModule to calculate Kendall's tau-a, Somers' D and median differencessoregModule to implement the stereotype ordinal regression modelsortlModule to sort factor loadings or rotated matrix from PCA or factor sortlistby Module to sort by random or by ancillary numlistsortobsModule to sort observations according to a specified order sortrows Module to perform sort within observationspacesModule to parse a file for delimitersspaggModule to create aggregate source or target contagion spatial effect variable for directed dyadic datasparklineModule for sparkline-type plotssparlModule to produce scatter plot and y-x regression line spautoc Modules to calculate spatial autocorrelation (Moran and Geary measures) ●spautoregModule to estimate Spatial (Lag-Error-Durbin-SAC-SPGKS-SPGSAR-GS2SLS-GS3SLS-SPML-SPGS-SPIVREG-IVTobit) ●spcs2xtModule to Convert Cross Section to Panel Spatial Weight MatrixspdirModule to create directed dyad contagion spatial effect variablespearman2Module to calculate Spearman rank correlations, extendedspec_standModule to create dataset of stratum-specific, unadjusted and standardized ratesspechistModule to produce specific histograms for continuous variables ●specialexpModule to obtain expression that evaluates to specified stringspellModule for identification of spells or runs of similar values spellutil Module of utilities for the manipulation of timespan data ●spglsxtModule to estimate Spatial Panel Autoregressive Generalized Least Squares Regression ●spgmmModule to estimate Spatial Autoregressive Generalized Method of Moments Cross Sections Regression ●spgmmxtModule to estimate Spatial Panel Autoregressive Generalized Method of Moments RegressionspgridModule to generate two-dimensional grids for spatial data analysis sphdist Module to compute spherical distances spike Module to allow for a zero willingness to payspikepltModule to generate spike plot showing fine structure of the dataspineplotModule for spine plots for two-way categorical dataspkdeModule to perform kernel estimation of density and intensity functions for two-dimensional spatial point patterns ●splagvarModule to generate spatially lagged variables, construct the Moran Scatter plot, and calculate Moran's I statisticssplitModules for splitting string variables into partssplitvallabelsModule 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 likelihoodspmonModule to create spatial effect variable for monadic data ●spmstarModule to Estimate (m-STAR) Spatial Multiparametric Spatio Temporal AutoRegressive Regression Models ●spmstardModule to estimate Multiparametric Spatio Temporal AutoRegressive Regression Spatial Durbin Cross Sections Models ●spmstardhModule to Estimate (m-STAR) Spatial Multiparametric Spatio Temporal AutoRegressive Regression: Spatial Durbin Multiplicative Heteroscedasticity Cross Sections Models ●spmstardhxtModule to estimate (m-STAR) Spatial Multiparametric Spatio Temporal AutoRegressive Regression: Spatial Durbin Multiplicative Heteroscedasticity Panel Models ●spmstardxtModule to Estimate (m-STAR) Spatial Multiparametric Spatio Temporal AutoRegressive Regression: Spatial Durbin Panel Models ●spmstarhModule to Estimate (m-STAR) Spatial Multiparametric Spatio Temporal AutoRegressive Regression: Spatial Lag Multiplicative Heteroscedasticity Cross Sections Models ●spmstarhxtModule to Estimate (m-STAR) Spatial Multiparametric Spatio Temporal AutoRegressive Regression: Spatial Lag Multiplicative Heteroscedasticity Panel Models ●spmstarxtModule to Estimate (m-STAR) Spatial Panel Multiparametric Spatio Temporal AutoRegressive Regression Models ●sppackModule for cross-section spatial-autoregressive models ●spregdhpModule to estimate Spatial Panel Han-Philips Linear Dynamic Regression: Lag & Durbin Models ●spregdpdModule to estimate Spatial Panel Arellano-Bond Linear Dynamic Regression: Lag & Durbin Models ●spregfextModule to compute Spatial Panel Fixed Effects Regression: Lag and Durbin Models ●spreghetxtModule to Estimate Spatial Panel Random-Effects Multiplicative Heteroscedasticity Regression: Lag and Durbin Models ●spregrextModule to compute Spatial Panel Random Effects Regression: Lag and Durbin Models ●spregsacModule to estimate Maximum Likelihood Estimation AutoCorrelation (SAC) Cross Section Regression ●spregsacxtModule to Estimate Maximum Likelihood Estimation Spatial AutoCorrelation (SAC) Panel Regression ●spregsarModule to estimate Maximum Likelihood Estimation Spatial Lag Cross Sections Regression ●spregsarxtModule to Estimate Maximum Likelihood Estimation Spatial Lag Panel Regression ●spregsdmModule to Estimate Maximum Likelihood Estimation Spatial Durbin Cross Sections Regression ●spregsdmxtModule to Estimate Maximum Likelihood Estimation Spatial Panel Durbin Regression ●spregsemModule to Estimate Maximum Likelihood Estimation Spatial Error Cross Sections Regression ●spregsemxtModule to Estimate Maximum Likelihood Estimation Spatial Error Panel Regression sproper Module to get proper case for foreign names in variablesspseudor2Module to calculate goodness-of-fit measures in spatial autoregressive modelsspspcModule to create specific source or target contagion spatial effect variable for directed dyadic data spsurv Module to fit split population survival ('cure') model ●sptobitmstarModule to Estimate Tobit (m-STAR) Spatial Multiparametric Spatio Temporal AutoRegressive Regression: Spatial Lag Cross Sections Models ●sptobitmstardModule to Estimate Tobit (m-STAR) Spatial Multiparametric Spatio Temporal AutoRegressive Regression: Spatial Durbin Cross Sections Models ●sptobitmstardhModule to Estimate Tobit (m-STAR) Spatial Multiparametric Spatio Temporal AutoRegressive Regression: Spatial Durbin Multiplicative Heteroscedasticity Cross Sections Models ●sptobitmstardhxtModule to Estimate Tobit (m-STAR) Spatial Multiparametric Spatio Temporal AutoRegressive Regression: Spatial Durbin Multiplicative Heteroscedasticity Panel Models ●sptobitmstardxtModule to estimate Tobit (m-STAR) Spatial Multiparametric Spatio Temporal AutoRegressive Regression: Spatial Durbin Panel Models ●sptobitmstarhModule to Estimate Tobit (m-STAR) Spatial Multiparametric Spatio Temporal AutoRegressive Regression: Spatial Lag Multiplicative Heteroscedasticity Cross Sections Models ●sptobitmstarhxtModule to estimate Tobit (m-STAR) Spatial Multiparametric Spatio Temporal AutoRegressive Regression: Spatial Lag Multiplicative Heteroscedasticity Panel Models ●sptobitmstarxtModule to estimate Tobit (m-STAR) Spatial Multiparametric Spatio Temporal AutoRegressive Regression: Spatial Lag Panel Models ●sptobitsacModule to Estimate Tobit MLE Spatial Autocorrelation Cross Sections Regression ●sptobitsacxtModule to estimate Tobit MLE Spatial AutoCorrelation (SAC) Panel Regression ●sptobitsarModule to Estimate Tobit MLE Spatial Lag Cross Sections Regression ●sptobitsarxtModule to estimate Tobit MLE Spatial Lag Panel Regression ●sptobitsdmModule to Estimate Tobit MLE Spatial Durbin Cross Sections Regression ●sptobitsdmxtModule to estimate Tobit MLE Spatial Panel Durbin Regression ●sptobitsemModule to Estimate Tobit MLE Spatial Error Cross Sections Regression ●sptobitsemxtModule to estimate Tobit MLE Spatial Error Panel RegressionspundirModule to create directed dyad contagion spatial effect variable ●spweightModule to compute Cross Section Spatial Weight Matrix ●spweightcsModule to compute Cross Section Spatial Weight Matrix ●spweightxtModule to compute Panel Spatial Weight MatrixspwmatfillModule to assign first nearest neighbors to observations with no contiguous neighbors ●spwmatrixModule to generate, import, and export spatial weights ●spxttobitModule to estimate Tobit Spatial Panel Autoregressive Generalized Least Squares Regression ●sqModule for sequence analysis ●sqc1Module for estimating process capability indices with tutorialsqrModule to make graphs square, or any other shapesratioModule to calculate ratio study statisticssreweightModule for survey reweightingsscsubmitModule -- some notes on SSC Archive use for Stata usersssiModule to estimate sample size for randomized controlled trialsssizebiModule to calculate sample size and power for the comparison of two or more proportionssskappModule to compute sample size for the kappa-statistic measure of interrater agreement ●sslopeModule to calculate slope coefficients for regression interactionsssmModule 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 methodsssplotModule to generate seasonal subseries plots st2openbugs Module to implement an interface between Stata and OpenBUGS on LinuxstackModule to stack datasetsstakModule to do simple reshapes or stacks starjas Module to produce Arjas plot to check proportional hazards assumptionstat2dataModule to generate a Dataset of Descriptive Statistics Calculated for a List of Variablesstata2pajekModule to export data to Pajek .net format ●statajavamodule to provide Java library of helper classes for Stata plug-ins staticfc Module to compute static forecasts for a recursive rolling regressionstatplotModule for plots of summary statistics, including by categorystatsbyfastModule to efficiently compute statistics for by-groupstatsmatModule to place descriptive statistics in matrixstbgetModule to get packages from Stata Technical Bulletin stbtcalc Module to calculate time-varying regression coefficients in Cox PH modelsstcascohModule 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 risksstcompetModule to generate cumulative incidence in presence of competing events stcoxgof Module to produce goodness-of-fit test and plot after a Cox modelstcoxpltModule to plot predicted survival curves from Cox modelstcstatModule to generate evaluation of fit for Cox regression modelstcstat2Module to compute Harrell's c-index for flexible parametric modelsstcumhModule to check proportional hazards assumption stexpect Module to compute expected survival stgenreg Module to fit general parametric survival models ●stgitmodule to retrieve information about a Git repository stgtcalc Module to calculate time-varying regression coefficients in Cox PH models (variant) ●stjmModule to fit shared parameter joint models of longitudinal and survival data stjm11 Module to fit shared parameter joint models of longitudinal and survival datastjmgraphModule to create a joint longitudinal and survival graph stkerhaz Module to produce baseline hazard estimates via kernel smoother and plotsstldaModule for Limiting Dilution Analysis (LDA) stmix Module to fit two-component parametric mixture survival models ●stmixedModule to fit multilevel mixed effects parametric survival modelsstnetModule to calculate net survival ●stnsModule for estimation of net survivalstoModule to toggle trace switchstockcapitModule to calculate physical capital stock by the perpetual-inventory methodstockquoteModule 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 risksstpieceModule to estimate piecewise-constant hazard rate models stpm Module to fit flexible parametric models for survival-time data ●stpm2Module to estimate flexible parametric survival modelsstpm2cifModule to estimate cumulative incidence function after running stpm2stpm2cmModule for estimation of crude mortality after fitting stpm2 relative survival model stpm2illd Module to estimate Flexible Parametric Illness-death ModelsstquantModule to estimate quantiles for survival timestr2dModule to compute explained variation for survival modelsstrdateModule to replace string date variables with numeric date variables with the same namesstrdistModule to calculate the Levenshtein distance, or edit distance, between stringsstrgenModule to generate string variables without knowing string type ●strgroupModule to match strings based on their Levenshtein edit distancestripModule to strip unwanted charactersstripplotModule for strip plots (one-way dot plots)strparseModule to parse string variablesstrrecModule 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 datastsurvdiffModule to compute difference in Kaplan-Meier survival curvesstsurvimputeModule for flexible imputation of censored survival datastudysiModule to calculates sample size and power for comparative studiesstylerulesModule -- suggestions on programming stylesubsaveModule to save a subset of the dataset in memory to a disk filesubsetplotModule for plots for each subset with rest of the data as backdrop ●●subsim_1Module providing subsidy simulation toolkit (SUBSIM) ●subsim_2Module providing subsidy simulation toolkit (SUBSIM)suchowtestModule to calculate successive Chow tests on cross section and time series datasum2Module to store summary statisticssumdistModule to calculate summary statistics for income distributionssummdateModule for summarizing date variablesummoutModule to produce comparative table of summary statisticssummvlModule to generate summary table with variable labels (version 5)sunflowerModule to generate density distribution sunflower plotssupclustModule to build superordinate categories surface Module to draw a 3D wireform surface plotsurloadsModule to calculate simple scoressurrogModule 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 datasurvtimeModule to compute survival time for use in stsetsurvwgtModule to create and manipulate survey weights sutex Module to LaTeX code for summary statistics tablessutex2Module to produce LaTeX tables for summary statisticssvmatfModule to save a matrix to a file svr Module to compute estimates with survey replication (SVR) based standard errorssvretModule to save returned results to your datasetsvvarlblModule to save variable labels to a filesvybsamp2Module 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 datasvylorenzModule to derive distribution-free variance estimates from complex survey data, of quantile group shares of a total, cumulative quantile group sharessvypxcatModule to calculate predicted means or proportions for nominal X's for survey datasvypxconModule to calculate predicted means or proportions for a continuous X variable for survey datasvysampsiModule to calculate sample size for a simple random survey with a dichotomous outcomesvyselmlogModule to compute selectivity adjustment based on the multinomial logit for survey designsvytabsModule 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 modelsswapvalModule for swapping values of two variablesswblockModule to perform parsimonious model selection in haplotype analysisswbootModule to bootstrap stepwise linear or logistic regression modelsswitchModule 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 modelssxposeModule to transpose string variable datasetsymmetryModules to perform tests of symmetry for NxN contingency tables ●synlightModule to highlight syntax in SMCL and translate to HTML format ●●synthModule to implement Synthetic Control Methods for Comparative Case Studiest2way5Module to perform Tukey's Two-Way Analysis by Medianstab2wayModule to handle two-way tables with percentagestab3wayModule to handle three-way tables with percentages tab_chi Modules for tabulation of multiple variables in Stata 8.2 or bettertabaModule for tabulation of frequenciestabcondModule to tabulate frequencies satisfying specified conditions tabcount Module to tabulate frequencies, with zeros explicittabexportModule 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 plottablabModule to autocrosstabulate a variabletable1Module to create "table 1" of baseline characteristics for a manuscripttablecolModule to add column percentages to table commandtablematModule to produce and export table of results in a matricial formattablepcModule 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 StatatabmergeModule to tabulate report on merge ●tabmissModule to tabulate missing observationstabmultModule to produce multiple two-way tabulationstaboneModule for exporting single or multiple one-way tabulations into various formatstaboutModule to export publication quality cross-tabulations tabplot Module to show table of frequencies as table of barstabstatmatModule to save matrices saved by tabstat to single named matrixtabxmlModule 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 teststddensModule to estimate and graph bivariate density with heat maptdpdModule to analyze third-degree price discrimination ●testcaseModule to provide a code-testing framework for Matatex2colModule to Split Text into Columnstex3ptModule to produce LaTeX documents from estout with threeparttabletex_equalModule to compare text files texdoc Module to create a LaTeX document including Stata outputtexifyModule to compile a LaTeX document texsave Module to save a dataset in LaTeX formattextbarplotModule to produce horizontal text and bar plottexteditorsModule -- some notes on text editors for Stata userstextgphModule to add strings of text to a graphtextpadModule to call TextPad to edit a filetfinsertModule 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 historiestfvModule to produce transformations of variablestgmixedModule to perform Theil-Goldberger mixed estimation of regression equationtgraphModule to plot graph with transformed axes ●theilr2Module to compute Theil R2 Multicollinearity Effect ●tihtestModule to test for time invariant unobserved heterogeneity in GLMs for panel datatitleModule to create a title for logfilestkdensityModule for univariate kernel density estimation with calculation on transformed scaletknzModule 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 ●tobithetmModule to estimate Tobit Multiplicative Heteroscedasticity Regression tobitiv Module to perform instrumental variables tobit todate Module to generate Stata date variables from run-together date variablestodummyModule to create dummy variablestoleranceModule to generate tolerance intervals from input datatolowerModule to rename variables with lower case namestomataModule to make vectors in Mata of variables in StatatomodeModule to change values of a variable to mode(s)toratsModule to facilitate transfer of data to RATStorummModule to produce data in RUMM format tosql Module to transfer data to SQL databasetouchModule to create a blank data file tpm Module to estimate two-part cross-sectional models tpoisson Module to estimate truncated Poisson regressiontpredModule to generate predictions from Tobit modeltpvarModule to generate turning-point variable for graphics labellingtrModule providing prefix command to trace program executiontracesModule to display traces of items transint help files for transformationstraveltimeModule to generate travel time and travel distance informationtraveltime3command 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 structuretreatrewModule to estimate Average Treatment Effects by reweighting on propensity scoretrellisModule to create a trellis graphtrimmeanModule for trimmed means as descriptive or inferential statisticstrimplotModule 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 modelstruecryptModule to mount or dismount TrueCrypt volumestruerndModule to generate true random numberstryemModule to run all possible subset regressions tscollap Module to compact timeseries into dataset of means, sums, end-of-period valuestsgraphModule to produce time series line graphtslistModule to list time series datatsmktimModule to generate time-series calendar variabletsplotModule to produce a time series plottsspellModule for identification of spells or runs in time seriesttabModule to produce formatted tables with t-test for two-groups mean-comparisonttableModule to produce Mean Comparison for many variables between two groups with formatted table outputttable2Module to produce Mean Comparison for many variables between two groups with formatted table outputttestplusModule to automate t-teststtesttableModule to compute differences in means by groups including the T-testtuplesModule for selecting all possible tuples from a listturnbullModule 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 datasetstwofoldModule to perform multiple imputation using the two-fold fully conditional specification algorithm to impute missing values in longitudinal data ●twoway_estfitModule to enable graph twoway estfit ●●twoway_pareaModule to generate area graph with pattern fills (Windows only)txtlabdefModule to define value labels from ASCII (text) fileueveModule to compute unbiased errors-in-variables estimator and variants from grouped dataumbrellaModule to perform O'Brien's Umbrella test umeta Module for u-statistic-based univariate and multivariate random-effects meta-analysisunempModule Module to compute aggregate households employment deprivation (or unemployment) measuresuniqueModule to report number of unique values in variable(s)uniquestrataModule to abort the program if the specified variables don't collectively account for every observationunitabModule to display a univariate table for a binary outcome variableunivarModule to generate univariate summary with box-and-whiskers plotunivstatModule to produce summary statistics in matrix formurcovarModule to perform Elliott-Jansson test for unit roots with stationary covariates usagelog Module to log usage of Stata programs in an existing text fileusdModule to get US dollar exchange rates from the Federal Reserve ●use10Module to use and describe version 10 datafiles in Stata 9.2use10save9Module to save matched Stata 10/11 files, from within Stata 9+, in Stata 9 format ●use13Module to import Stata 13 (*.dta) data into older versions of Statause13save12Module to load sets of matched Stata 13-files into Stata 10-12 and saving them in older formats readable for the Stata 10-12 useruselabModule to list value labels and variables using themusepackageModule to find and install a list of user-written packages needed to run a do-file usesas Module to use a SAS datasetusesomeModule to use subset of Stata dataset ●●usexmlexModule to import data stored in XML formatusmapsModule to provide US state map coordinates for tmapusmaps2Module to provide US county map coordinates for tmapusswmModule to provide US state and county spatial weight (contiguity) matricesutestModule 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 expressionsvallabModule to pack values and labels into a new string variablevallistModule to list distinct values of a variablevaltovarModule to rename value labels to match variable namesvaluesofModule to return the contents of a variable in a macrovamModule to compute teacher value-added measuresvanelterenModule to perform van Elteren's test (generalized Wilcoxon-Mann-Whitney ranksum test)varcaseModule to toggle the case of variable names variog Module to calculate and graph semi-variogramsvarlabModule to save and load variable labelsvarlabdefModule to define a value label with values corresponding to variables varlag Module to determine the appropriate lag length in VARs, ECMsvarlocalModule to transform values of a variable in local ●varprodModule to Generate Row Product of VariablesvarsearchModule to search variable names and labels ●vartypModule to set variable types for codebook2vcfModule to import VCF (Variant Caller Format) Files into Stata and format genotype datavcloseModule 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)venndiagModule to generate Venn diagrams viewresults Module to display results of a command in the ViewervincentyModule to calculate distances on the Earth's surfaceviolinModule to generate violin plotsvioplotModule to produce violin plots with current graphicsvlcModule to compare value labels across datasetsvlgenModule to generate variables and descriptive labels based on how the variables were generatedvlistModule to expand variable list in command syntaxvmatchModule to match variables between subjectsvmergeModule to provide a wrapper for the Stata merge command that provides additional details regarding the results of the update and replace optionsvorterModule to reorder variables in dataset based on sorted valuesvplplotModules to generate paired data plotsvreverseModule to reverse existing categorical variablevselectModule to perform linear regression variable selection vtokenize Module to split a variable into its tokens wbdata Module to access World Bank databases ●wbopendataModule to access World Bank databaseswbullModule to fit Weibull distribution by maximum likelihoodwclogitModule to perform conditional logistic regression with within-group varying weights wdireshape Module to reshape World Development Indicators databasewdiscrimModule to compute earnings discrimination statisticsweakivModule to perform weak-instrument-robust tests and confidence intervals for instrumental-variable (IV) estimation of linear, probit and tobit modelsweakiv10Module to perform weak-instrument-robust tests and confidence intervals for instrumental-variable (IV) estimation of linear, probit and tobit modelsweakivtestModule to perform weak instrument test for a single endogenous regressor in TSLS and LIMLweathrModule to display US weather conditions ●weaverModule to produce dynamic reports in HTML and PDFweeklyclaimsModule to Get Weekly Initial Jobless Claims from the US Dept. of Labor weibullfit Module to fit a two-parameter Weibull distributionwgttestModule to test the impact of sampling weights in regression analysiswhiteModule to perform White's test for heteroscedasticitywhitetstModule to perform White's test for heteroskedasticitywhotdeckModule to perform multiple imputation using the Approximate Bayesian Bootstrap with weights williams Module to estimate logistic regression via Williams procedurewinsorModule to Winsorize a variablewinsor2Module to winsorize datawitchModule to mystically manage files on adopathwntstmvqModule to compute multivariate Ljung-Box Q testworkdaysModule to compute elapsed workdays worldstat Module to produce a visualisation of the state of world developmentwosaddressModule to convert datasets from Web of Science data from wide to longwosloadModule to load datasets from Web of Science datawriditModule to generate weighted riditswriteinputModule to write dataset in memory to new do-file as an input commandwritekmlModule to write Keyhole Markup Language filewritepsfragModule to translate Stata text to EPS wtd Module to produce analysis of waiting time distributionwtpModule to estimate confidence intervals for willingness to pay measures wtpcikr Module to estimate Krinsky and Robb Confidence Intervals for Mean and Median Willingness to Payxb2piModule to transform the logit scores into probabilities ●xbalanceModule to compute standardized differences for stratified comparisons via RxbrcsplineModule to tabulate differences in predicted responses after restricted cubic spline modelsxcollapseModule to make data set of summary statistics on disk or in memoryxcontractModule to make a data set of frequencies and percents on disk or in memoryxcorplotModule to calculate and graph cross-correlation functionxdatelistModule to create ascending numeric lists of datesxfracModule to produce tabulation using categories defined by fractions of a cut-off valuexglmModule to extend glmxgroupModule to create a grouping variable with key values in an output datasetxls2dtaModule to save Excel files as Stata datasetsxls2stataModule to provide Stata Dialog Box to Import Excel Files into Stataxml_tabModule to save results in Excel XML formatxpredictModule 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 likelihoodxsampsiModule to calculate sample size for cross-over trials with continuous measures ●xsmleModule for spatial panel data models estimationxsvmatModule to convert a matrix to variables in an output datasetxtabModule to tabulate longitudinal data ●xtabond2Module to extend xtabond dynamic panel data estimatorxtarsimModule to perform Monte Carlo analysis for dynamic panel data modelsxtbalanceModule to transform the dataset into balanced Panel DataxtcdModule to investigate Variable/Residual Cross-Section DependencextcipsModule to compute Pesaran Panel Unit Root Test in the Presence of Cross-section DependencextcsdModule to test for cross-sectional dependence in panel data modelsxtcsiModule to investigate Residual Cross-Section Independence xtdolshm Module to perform panel data cointegrationxtewregModule to estimate errors-in-variable model with mismeasured regressorsxtfisherModule to compute Fisher type unit root test for panel dataxtfmbModule to execute Fama-MacBeth two-step panel regressionxtgraphModule to produce graphs of cross-sectional time series (xt) data ●xtidtModule to compute Identification Variables in Panel Dataxtile2Module to create a new variable that categorizes exp by its quantilesxtineModule 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 modelsxtmgModule to estimate panel time series models with heterogeneous slopesxtmisModule to report missing observations for each variable in xt dataxtmixed_corrModule to compute model-implied intracluster correlations after xtmixed ●xtmodModule to analyze and display interactions based on time-series dataxtmrhoModule to calculate intra-class correlations after xtmixed xtnptimevar Module to estimate non-parametric time-varying coefficients panel data models with fixed effectsxtoveridModule to calculate tests of overidentifying restrictions after xtreg, xtivreg, xtivreg2, xthtaylorxtpatternModule to generate code showing pattern of xt dataxtpatternvarModule to generate string variable describing panel patternsxtpedroniModule to perform Pedroni's panel cointegration tests and Panel Dynamic OLS estimation xtpmg Module for estimation of nonstationary heterogeneous panelsxtpqmlModule to estimate Fixed-effects Poisson (Quasi-ML) regression with robust standard errors ●xtregamModule to estimate Amemiya Random-Effects Panel Data: Ridge and Weighted Regression ●xtregbemModule to estimate Between-Effects Panel Data: Ridge and Weighted Regression ●xtregbnModule to estimate Balestra-Nerlove Random-Effects Panel Data: Ridge and Weighted Regression ●xtregdhpModule to estimate Han-Philips (2010) Linear Dynamic Panel Data Regression ●xtregfemModule to estimate Fixed-Effects Panel Data: Ridge and Weighted Regression ●xtreghetModule to estimate MLE Random-Effects with Multiplicative Heteroscedasticity Panel Data Regression ●xtregmleModule to estimate Trevor Breusch MLE Random-Effects Panel Data: Ridge and Weighted Regressionxtregre2Module to estimate random effects model with weights ●xtregremModule to estimate Fuller-Battese GLS Random-Effects Panel Data: Ridge and Weighted Regression ●xtregsamModule to estimate Swamy-Arora Random-Effects Panel Data: Ridge and Weighted Regression ●xtregwemModule to estimate Within-Effects Panel Data: Ridge and Weighted Regression ●xtregwhmModule to estimate Wallace-Hussain Random-Effects Panel Data: Ridge and Weighted Regression xtscc Module to calculate robust standard errors for panels with cross-sectional dependencextsemiparModule to compute Semiparametric Fixed-Effects Estimator of Baltagi and LixtsurModule to estimate seemingly unrelated regression model on unbalanced panel dataxttest2Module to perform Breusch-Pagan LM test for cross-sectional correlation in fixed effects modelxttest3Module to compute Modified Wald statistic for groupwise heteroskedasticityxttrans2Module to compute tables of transition probabilitiesxtvcModule to compute confidence intervals for the variance component of random-intercept linear models xtwest Module for testing for cointegration in heterogeneous panelsxvalolsModule to crossvalidate an OLS regressionzandrewsModule 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 datazcqModule 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 zipzmapModule 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_gapportModule to calculates seats in party-list proportional representation_gclsortModule to sort a single variable via egen_gvreldifModule to compute relative difference between successive observations_gwtmeanModule containing extensions to generate to implement weighted mean_peersModule to allow egen to compute the average characteristics of peers in a given unit (school, firm, etc.) specified by by()