Stata 连享会 主页 || 视频 || 推文
温馨提示: 定期 清理浏览器缓存 ,可以获得最佳浏览体验。
✌ 课程详情 : https://gitee.com/arlionn/Course | lianxh.cn
✨ 课程主页 : https://gitee.com/arlionn/Course
项目介绍
史上最全的 Stata 外部命令一览,可以在线查看帮助文件。
Source: Archive of user-written Stata packages
导言
这里汇集了截至 2015年1月1日 为止的所有 Stata 外部命令。可以在线查看每个外部命令的帮助文件。
对于感兴趣的命令,可以使用 findit
在 Stata 命令窗口中搜索后下载,亦可直接使用 ssc install
命令直接下载。
SSC - Stata 外部命令列表
连享会 lianxh.cn 2020/5/18
a2reg module to estimate models with two fixed effectsaaniv module to compute unbiased IV regressionaaplot module for scatter plot with linear and/or quadratic fit, automatically annotatedabar module to perform Arellano-Bond test for autocorrelationabg module to implement the Alpha-Beta-Gamma Method of Distributional Analysisaboutreg
module providing tutorial on regression diagnosticsabsdid module to estimate treatment effect with Abadie semiparametric DID estimatoracelong module to fit multilevel mixed-effects ACE, AE and ADE variance decomposition modelsacplot module to plot the autocorrelogramactest module to perform Cumby-Huizinga general test for autocorrelation in time seriesaddbefore module to add number or character before a variableaddinby module to add in data from a disk dataset using a foreign keyaddnotes program to add notes to the end of text filesaddplot module to add twoway plot objects to an existing twoway graphaddtex module to display text on a graphaddtxt module to add text to graphsadecomp module to estimate Shapley Decomposition by Components of a Welfare Measureadfmaxur module to calculate Leybourne (1995) ADFmax unit root test statistic along with 1, 5 and 10% finite-sample critical values and associated p-valuesadftest module to perform ADF and Breusch-Godfrey testsadjacent module to list adjacent values of variables
"- adjksm module to perform adjusted ""ksm"" for robust scatterplot smoothing"adjmean module to calculate variables' means adjusted for covariatesadjprop module to calculate adjusted probabilities from logistic regression estimatesadjust module (corrected) to compute adjusted predictions and probabilities after estimationadmetan module to provide comprehensive meta-analysisadodev module to reorder ado-path for developers and other independent-minded usersadoedit module to edit ado file in Stata's do-file editoradolist module to manage lists of ado packagesadostore module to store and restore the current ado-pathaedot module to produce dot plot for adverse event dataaefdr module to perform false discovery rate p-value adjustment for adverse event dataaevolcano module to produce volcano plot for adverse event dataaextlogit module to compute average elasticities for fixed effects logitaffiliationexposure module to compute an affiliation exposure model using two-mode actor(row)-by-event(column) network dataaformat
module to condense the display format of a variableaggind module to aggregate indicators among units within a specified radius
"- agrm module to calculate van der Eijk's measure of agreement ""A"""ainequal module to compute measures of inequalityairnet module to create networks from airline traffic dataakdensity module to perform adaptive kernel density estimationalignedpairs module to perform the aligned ranks test for matched pairs (Hodges-Lehmann)alignedranks module to perform a two-sample aligned rank-sum (Hodges-Lehmann) test with exact statistics for small samplesalignedsets module to perform aligned ranks test for matched sets (Hodges-Lehmann)alignmicro module to perform alignment in microsimulationallcross modules to create variables corresponding to moment matricesallpossible module to fit all possible models with subsets of predictorsallsubsets module to perform all subsets (combinatorial) meta-analysis in a set of studiesalmon Module to Estimate Shirley Almon Generalized Polynomial Distributed Lag Modelalmon1 module to estimate Shirley Almon Polynomial Distributed Lag Modelalogit module to estimate (In)attentive logit regression from Abaluck and Adamsalorenz module to produce Pen's Parade, Lorenz and Generalised Lorenz curvealphawgt module to compute Cronbach's alpha for weighted dataalsmle module to perform Beach-Mackinnon AR(1) Autoregressive Maximum Likelihood Estimationamcmc
module to provide Mata functions and structures for adaptive Markov chain Monte Carlo samplinganketest module to perform diagnostic tests for spatial autocorrelation in the residuals of OLS, SAR, IV, and IV-SAR modelsanogi module to generate Analysis of Ginianovaplot module for plots of anova fit, including interaction plotsanymatch module to perform distance matching based on any metricanythingtodate module to convert all types of date variables to Stata date variablesapc
module for estimating age-period-cohort effectsapcd module for estimating age-period-cohort effects with detrended coefficientsapcgo module to calculate age-period-cohort effects for the gap between two groups (based on a Blinder-Oaxaca decomposition), including trends for each parameterapch module for estimating age-period-cohort and hysteresis effectsapoverty module to compute poverty measuresarchlm module to calculate LM test for ARCH effectsarchqq module to generate Q-Q plot and distribution tests for ARCH modelsardl module to perform autoregressive distributed lag model estimationarimafit module to calculate AIC, SIC for ARIMA modelarmadiag module to compute post-estimation residual diagnostics for time seriesarmaroots module to compute roots of AR- and MA-polynomialsarray
package to support arrays of variablesarrowplot module to produce combined plot for graphing inter-group and intra-group trendsart
module for complex sample size calculation in randomized trialsascii module to display the ASCII character setasciiplot module to generate ASCII character mapascol module to convert frequency of stock returns or stock pricesasdoc module to create high-quality tables in MS Word from Stata outputasgen module to generates weighted average mean using an existing variable as weightashell module to capture output from OS shell commandasl_norm module computing bootstrap Gaussianity testsasreg module to estimate rolling window regressions. Fama-MacBeth and by(group) regressionsasrol module to generate rolling window / groups descriptive statisticsassertky module to assert unique dataset keysastile module to provide a faster and byable alternative for xtileastx module to create a table of descriptive statistics and t-statistics by a grouping variableatkplot
module to generate Atkinson residual normality plotsautofmt module to automatically format a significant number of digitsautolog module to generate dialog to create log filesautorename module to automatically rename variablesautosum module to produce automatic generation of a comparison tableavar module to perform asymptotic covariance estimation for iid and non-iid data robust to heteroskedasticity, autocorrelation, 1- and 2-way clustering, and common cross-panel autocorrelated disturbancesavciplot module to produce added-variable plot with confidence intervalsavg_effect module to calculate mean (standardized) effect size across multiple outcomesavicplot
module to produce added-variable plot with confidence intervalsavplot2 modules for added variable plotsavplot3 module to generate partial regression plots for subsamplesavplots4 module to graph added-variable plots for specified regressors in a single image
b1x2 module to account for changes when X2 is added to a base model with X1babibplot module to plot two graph types which are rooted in Bland-Altman plots using journal and paper percentilesbackrasch module to implement a backward procedure with a Rasch modelbackup module to make daily backup of important files (Windows only)bacondecomp module to perform a Bacon decomposition of difference-in-differences estimationbalancetable module to build a balance table and print it in a LaTeX file or an Excel filebandplot module to plot summary statistics of responses for bands of predictorsbaplot module to produce Bland-Altman plotsbarplot module to plot varlist against xvarbarplot2 module to produce bar plot with optional error barsbasetable module to compare a set of risk factors or effects with respect to a categorical variablebatcher module to parallelise tasksbatplot module to produce Bland-Altman plots accounting for trendbayerhanck module to compute test for non-cointegrationbayesmixedlogit module to perform Bayesian estimation of mixed logit modelsbayesmixedlogitwtp module for Bayesian estimation of mixed logit model in willingness-to-pay (WTP) spacebayesmlogit module to perform Bayesian estimation of mixed logit modelsbcii module to to estimate the number needed to treat (NNT) and confidence intervals for patients improving, or ‘benefiting’ (either improvements gained or deteriorations prevented), in a randomised controlled trialbcoeff module to save regression coefficients to new variablebcoeffs module to save regression coefficients to new variablebcss module to create graphs to show how baseline data (prospective or retrospective) affect sample size for a cluster randomised trialbcstats module to analyze back check (field audit) data and compare it to the original survey databctobit module to produce a test of the tobit specificationbcuse module to access instructional datasets on Boston College serverbdiff module to compute Bootstrap and Permutation tests for difference in coefficients between two groupsbeamplot module to draw horizontal dotplots using beamsbenford module to test Benford's Law on a variablebetacoef module to calculate beta coefficients from regressionbetafit module to fit a two-parameter beta distributionbetaprior module to calculate the parameters of a Beta distribution given the mean and variancebetterbar module to produce bar graphs with optional standard error bars and cross-group comparisonsbfmcorr module for correcting surveys using tax databgshade module to add background shading to twoway plots using either dummy variable(s) denoting shaded areas and/or precoded NBER recessionsbgtest module to calculate Breusch-Godfrey test for serial correlationbhatt module to compute Bhattacharyya Coefficient and Bhattacharyya Distance statistics of distribution overlapbiasepi module to perform simple bias analysis, multidimensional bias analysis, and multiple bias modelingbibrep module to produce a bibliometric report on a single senior researcherbic module to evaluate the statistical significance of variables in a modelbicdrop1 module to estimate the probability a model is more likely without each explanatory variablebidensity module to produce and graph bivariate density estimatesbihist module to produce bihistogramsbineq module to analyze multidimensional inequality in two dimensions of wellbeingbioprobit module for bivariate ordered probit regressionbiplot module to generate biplotsbiplotvlab module to produce biplot with variable labelsbipolate module to perform bivariate interpolation and smooth surface fitting for values given at irregularly distributed pointsbirthsim module to simulate completed fertility and birth intervalsbitobit module to perform bivariate Tobit regressionbking module to implement Baxter-King filter for timeseries databkrosenblatt module for Blum, Kiefer and Rosenblatt test of bivariate independenceblinding module to compute blinding indexesblindschemes module to provide graph schemes sensitive to color vision deficiencyblist module to list values of variables in as small a space as possibleblogit2
module to produce grouped data logit with support for inblp module to estimate Berry Levinsohn Pakes random coefficients logit estimatorbme
module to compute Bounded midpoint estimatorbmi module to compute Body Mass Indexbmjcip module to format confidence intervals and P-values for medical journalsbmp2dta module to convert bitmap files to Stata datasetsbnormpdf module to calculate the bivariate normal densityboost module to perform boosted regressionboottest module to provide fast execution of the wild bootstrap with null imposedboxpanel module to produce box plots for panel databoxtid module to fit Box-Tidwell and exponential regression modelsbpagan module to perform Breusch-Pagan test for heteroskedasticitybpass module to compute band pass filter for time series databpmedian module to compute Bonett-Price confidence intervals for medians and their contrastsbrain module to provide neural networkbrewscheme module for generating customized graph scheme filesbrglm module to perform bias-reduced estimation of binary response modelsbrmunid module to standardize geocodes for Brazilian municipalitiesbronch module to describe bronchiolitis severitybsens module to compute Sensitivity metric using McNemar's testbsopm module to compute Black-Scholes European Option Pricing Modelbspline modules to compute B-splines parameterized by their values at reference pointsbtobit
module to produce a test of the tobit specificationbuckley module to implement Buckley-James method for analysing censored databugsdat module to convert a Stata datafile into the S-plus format used in Winbugsbugwrite module to write data from Stata into a format compatible with WinBUGSbundle module to bundle image files in a web page using base64 encodingbutterworth module to implement Butterworth square-wave highpass filter for timeseries databyhist module to produce interlaced histogramsbynote module to Create a note with a user-specified format for use with the by optionbys module to automatically sort on the bylist (version 5)bystore module to repeat estimation commands and store estimatesbyvar module to repeat a command by variable
cal module to generate calendarcalibest module to estimate proportions and means after survey data have been calibrated to population totalscalibr
module for inverse regression and calibrationcalibrate module to calibrate survey datasets to population totalscalinski module to compute Calinski-Harabasz cluster stopping index from distance matrixcalipmatch module for caliper matching without replacementcallsado module to find (user-written) ado-files called by (a)do-filecanon
module (corrected) to compute canonical correlationscapass module to wrap Stata's assert command, throws error messagescart module to perform Classification And Regression Tree analysiscasefat module for estimating the case fatality ratio of a new infectious diseasecatdev
modules for interpretation of categorical dependent variable modelscatenate module to concatenate variables into string variablecaterpillar module to generate confidence intervals, Bonferroni-corrected confidence intervals, and null distributioncatgraph module to plotting means of a variable by categorycatplot module for plots of frequencies, fractions or percents of categorical datacb2html module to write a codebook to an HTML filecbarplot module for centred bar plots of absolute or relative frequenciesccmatch module to match cases and controls using specified variablesccmpre module to compute PRE Measures for Cultural Consensus Modelscctable module to calculate summary table for case-control studyccweight module to generate inverse sampling probability weightscddens module to estimate a Density under Measurement Error using Auxiliary Informationcdfplot module to plot a cumulative distribution functioncdfquantreg module for estimating generalized linear models for doubly-bounded random variables with cdf-quantile distributionscdo module to get an update when the dofile stallscdout module to display the current working directorycdreg module to estimate Linear Regression under Measurement Error using Auxiliary Informationcedesign module to find the optimal flexible two stage single-arm binary outcome designcem module to perform Coarsened Exact Matchingcenpois module to estimate censored maximum likelihood Poisson regression modelscensornb module to estimate censored negative binomial regression as survival modelcensusapi module to download Census data through the Census APIcentcalc module to calculate distribution-based centilescenter module to center (or standardize) variablescentpow module to calculate centrality and power indices for each node in a network.cepois module to estimate censored maximum likelihood Poisson regression modelsceq module to carry out Commitment to Equity (CEQ) fiscal incidence analysiscf2 module to compare two datasetscf3 module to compare two datasetscfby module to compare datasets and produce discrepancy ratescfitzrw module to implement Christiano-Fitzgerald Random Walk band pass filter for timeseries datacflpois module to calculate confidence limits for rates based on Poisson outcomecfout module to compare two datasets, saving a list of differencescfvars module to compare variable name lists in two data setscgroup module to group contiguous observations with identical values of a varlistchaid module to conduct chi-square automated interaction detectionchaidforest module to conduct random forest ensemble classification based on chi-square automated interaction detection (CHAID) as base learnerchangemean module to compute Income and Inequality Contribution on Poverty Variationchaos module to iterate a logistic difference equationchardef module to assign values to a characteristic of a list of variablescharlist module to list characters present in string variablecharlson module to calculate Charlson index of comorbiditycharon module to redistribute deaths by ill-defined causes and garbage codeschartab module to tabulate character frequency countscharutil
module of utilities for working with characteristicscheckfor2 module to check whether a variable exists or not in a datasetcheckipaddresses module to detect Fraud in Online Surveys by Tracing and Scoring IP Addressescheckreg3 module to check identification status of simultaneous equations systemcheckrob module to perform robustness check of alternative specificationscheckvar module to check the values of a created variablechewfile module to chew and digest ASCII file down to sizechina_map
module to provide map of China's provinceschina_spatdwm
module to provide spatial distance matrices for Chinese provinces and citieschinafin module to retrieve Chinese listed firms' financial datachiplot module to produce graphical assessment plot for dependencechm module to copy hard missingschowreg module to compute Structural Change Regressions and Chow Testchunky module to chunk a large text file into smaller partschunky8 module to chunk a large text file into smaller parts (version 8)ci2 module to compute confidence intervals for correlationsci_marg_mu module to produce simulation-based confidence intervals after gllapredcibar module to plot bar graphs and confidence intervals over groupscibplot module for bar-on-bar plots of confidence intervalscic module to implement the Athey and Imbens (2006) Changes-in-Changes modelcid module to calculate confidence intervals for means or differencesciform module to format confidence interval for tables in documentscifunction module for computing and graphically displaying all possible confidence intervals around a point estimatecihplot module to show horizontally labelled plots showing confidence intervalscij module for binomial confidence intervals for proportions using Jeffreys priorciplot module for plots of confidence intervalscircstat
modules to calculate circular statisticscisd module to compute confidence intervals for standard deviationscistat module to produce confidence intervals in matrix formcivplot module to plot confidence intervals verticallyciw module for binomial confidence intervals for proportions using Wilson scoresciwidth_proportions_mc module to calculate precision and power for a CI-based comparison of two independent proportions (RD, RR, or OR)ckvar module to allow error checking routines to easily be defined and attached directly to variablesclassplot module to plot predicted probability and empirical values after a binary response modelclasstabi module for generating classification statistics and table using summarized dataclean_fname
module to clean firstname variablesclean_lname
module to clean lastname variablescleanchars module to replace specific characters or strings in variable names and/or variable labels and/or string variable values and/or value label names and levels with stated characters/strings (using 1-1 or m-1 match)clemao_io
module to perform unit root tests with one or two structural breaksclogithet module to estimate heteroscedastic conditional logit modelclorenz module to estimate Lorenz and concentration curvesclrbound module to perform estimation and inference on intersection boundsclstop_lbt module to add stopping rule in cluster analysiscltest
modules for performing cluster-adjusted chi-square and t-testsclump module to compute permutation test approach to assessing genetic associations with case/control statuscluster module to perform nonhierarchical k-means (or k-medoids) cluster analysiscluster2 module to perform power analysis for two-level cluster randomized trialscluster3 module to perform power analysis for up to three-level cluster randomized trialclusterbs module to perform a pairs symmetric cluster bootstrap-t procedureclustergram module to produce graph for visualizing hierarchical and non-hierarchical cluster analysesclustpop module to estimate population cluster group assignmentsclustse module to estimate the statistical significance of parameters when the data is clustered with a small number of clustersclustsens module to perform sensitivity analysis for cluster commandsclv module to implement a clustering of variables around latent componentscm2in module to provide conversion between inch/cm and otherscmatch module to tabulate matched pairs in 1:1 case control study by exposure statuscmaxuse module to access Cmax instructional datasetscme program to estimate generalized linear models with covariate measurement errorcmitest
module to implement testing and inference methods for conditional moment inequalities/equalities modelscmogram module to plot histogram-style conditional mean or median graphscmp module to implement conditional (recursive) mixed process estimatorcnar module to retrieve Chinese listed firms' financial datacnbreg module to estimate negative binomial regression - canonical parameterizationcndnmb3
module to calculate condition number of regressor matrixcngcode module to geocode Chinese addressescnindex module to download historical stock quotations from Chinese marketcnintraday module to Download intraday stock quotations for a list of stock codes in a given date from SinaFinancecnmapsearch module to extract the specified information by keyword in a certain geographic rangecnormp module to evaluate censored normal distributioncns module to compute Consensus Measure for Ordinal Scalescnsrsig module to evaluate validity of restrictions on a regressioncnstock module to download stock names and codes for Chinese listed companiescntop10 module to download information of top 10 shareholders for a list of stock codes from HeXuncntrade module to retrieve Chinese stock market quotations from NetEasecntraveltime module to extract the time needed for traveling between two locations from Baidu Mapcochran module to test for equality of proportions in matched samples (Cochran's Q)codci module to calculate Bonett-Seier's Confidence Interval for the CODcodebook2 module to produce a codebook describing a data filecodebook_ripper module to convert metadata managed in a spreadsheet into do files with renaming, notes as well as variable and value labellingcoefplot module to plot regression coefficients and other resultscohend module to compute Cohen's dcoldiag module to perform BWK regression collinearity diagnosticscoldiag2 module to evaluate collinearity in linear regressioncolelms module to calculate Cole's LMS values for growth datacollapse2 module to extend the collapse commandcollapseunique module to reduce data to unique observations based on specified key variablescolorscatter module to draw scatter plots with marker colors varying by a third variable.colrspace module providing a class-based color management system in Matacombinatorics module to evaluate the performance of all possible 2^n models generated with a given set of n possible explanatory variablescombine module to combine n, mean, and SD from two groups according to the Cochrane-recommended formula for meta-analysescombineplot module to combine similar univariate or bivariate plots for different variablescombival module to combine levels of a categorical variable over observation groupscombomarginsplot module to combine the saved results from multiple calls to margins into one marginsplotcomplexity module to compute complexity indexes from comparative advantage tablescomplogit module to compare logit coefficients across groupscomtrade module to download trade data from UN Comtrade using jsonio and parse the output in a user friendly formatconcindc module to calculate concentration index with both individual and grouped dataconcindex
module to calculate measures of the concentration indexconcord module for concordance correlationconddens module to estimate a conditional density to correct for measurement error and missing valuescondisc module to perform convergent and discriminant validity assessment in CFAconfa module to perform confirmatory factor analysis modelingconfall module to plot and display estimates to assess confoundingconfirmdir module to confirm if a directory existsconfnd module to plot and display estimates to assess confoundingconfsvy module to assess confounding effects in survey studiesconindex module to perform estimation of concentration indicescontour module to draw contour plotscontrast module to calculate contrasts between factor levelscopycode module to produce modular self-written ado filescopydesc module to copy description of variablecoranal module to perform simple correspondence analysiscorr2docx module to report Pearson & Spearman correlation coefficients to formatted table in DOCX filecorr_svy module to compute correlation tables for survey datacorrtab module to display correlation coefficients in a formatted tabular outputcorrtable module to show correlation matrix as graphical tablecorrtex module to generate correlation tables formatted in LaTeXcorsp module to display combined Pearson and Spearman correlation matrixcortesti module to test equality of two correlation coefficientscouliari module to implement Corbae-Ouliaris frequency domain filter to time series datacountmatch module to count matching values for one variable in anothercovbal module for producing covariate balance statisticscpcorr module for correlations for each row vs each column variablecpigen module to add US CPI series to current datasetcpiget module to construct an annual CPI series based on a user-specified fiscal-year time spancpoisson module to estimate censored Poisson regressioncpoissone module to estimate censored Poisson regression (econometric parameterization)cpr module producing results for all possible combinations of argumentscprdcribs module providing template do-files for inputting CPRD datasets into Statacprdenttype module to convert CPRD entity string data of any enttype to numericcprdentutil module to convert CPRD entity data variables to numeric variablescprdhesaeutil module to input CPRD HES A&E linkage datasets into Statacprdhesoputil module to input CPRD HES/OP linkage datasets into Statacprdhesutil module for inputting HES-linkage datasets into Statacprdlinkutil module for inputting CPRD linkage-source datasets into Statacprdlsoautil module to input CPRD LSOA-linkage datasets into Statacprdonsutil module to input CPRD ONS-linkage datasets into Statacprdutil module for inputting CPRD datasets into Statacpredict module to produce conditional predictionscprplot2 module to graph component-plus-residual plots for transformed regressorscprplots module to graph (augmented) component-plus-residual plots in a single imagecpyxplot module to produce scatter plots for each y vs each x variablecqiv module to perform censored quantile instrumental variables regressioncquad
module to perform conditional maximum likelihood estimation of quadratic exponential modelscquantile module to generate corresponding quantilescrater module to calculate computer scorer vs. human rater agreement statisticscreplace module to exchange values cyclically between variablescrm module to implement the continual reassessment modelcrossfold module to perform k-fold cross-validationcrossplot module for scatter (or other twoway) plots for each y vs each x variablecrtest module to perform Cramer-Ridder Test for pooling states in a Multinomial logitcrtrees module to compute Classification and Regression Trees algorithmscsipolate module to perform cubic spline interpolationcsjl module to extend cs command for exposures with more than two categoriescstable module to calculate summary table for cohort studycsti module that modifies csi command in order to use total numbers rather than individual cell countscta module for conducting Classification Tree Analysisctabstat module to display table of summary statisticsctreatreg module for estimating dose-response models under exogenous and endogenous treatmentcub module to estimate ordinal outcome model estimated by a mixture of a uniform and a shifted binomialcureregr module to estimate parametric cure regressioncureregr8 module to estimate parametric cure regression (version 8.2)curvefit module to produces curve estimation regression statistics and related plots between two variables for alternative curve estimation regression modelscusum6 module to compute cusum, cusum^2 stability testscutpt module for empirical estimation of cutpoint for a diagnostic testcv module to compute coefficient of variation after regresscv2 module to calculate the coefficient of variation for variablescv_regress module to estimate the leave-one-out error for linear regression modelscvauroc module to compute Cross-validated Area Under the Curve for ROC Analysis after Predictive Modelling for Binary Outcomescvcrand module for efficient design and analysis of Cluster Randomized Trialscvxhull module to compute and plot convex hulls of bivariate datacycleplot module for cycle plot (month plot or seasonal subseries plot)
d3network module to create network visualizations using D3.js to view in browserdag module to provide utilities for directed acyclic graphsdagfit module to fit a Generalized Beta (Type 2) distribution to grouped data via MLdagumfit module to fit a Dagum distribution by maximum likelihooddash module to score Disabilities of the Arm, Shoulder and Handdashgph module to construct dashed lines in scatterplotsdashln module to add dashed lines to graphsdatacheck module to perform data checks and produce informative outputdataex module to generate a properly formatted data example for Statalistdataframe
module to store/restore multiple Stata datasets to/from memorydatanet module to facilitate dataset organization for network analysis purposesdataout module to export a dataset or tab-delimited file into various formatsdatelist module to to create ascending numeric lists of datesdatesum module to display summary statistics for date variablesdatmat module to multiply variables via matrix multiplicationdbnomics module for DB.nomics, the world's economic databasedcreate module to create efficient designs for discrete choice experimentsddf2dct module to facilitate infiling US Government data distributed with a DDFdeci module to perform Variable Base conversiondecomp module to compute decompositions of earnings gapsdecompose module to compute decompositions of wage differentialsdelta module to compute the Delta index of scale discriminationdemotivate module to remind users of the harsh reality of econometric & statistical practicedenton module to interpolate a flow or stock series from low-frequency totals via proportional Denton methoddep4asm module to create [in]dependent variable for alternative-specific modelsdepthplot module to plot one or more variables with depth as vertical axisdes2 module to describe current dataset with clickable outputdescgen module to add Stata dataset attribute variables to a xdir resultssetdesclong module to create and save a dataset holding variable information while including long variable labelsdescogini module to perform Gini decomposition by income sourcedescsave module to export data set and machine-readable codebookdesignplot module to produce a graphical summary of response given one or more factorsdesma
module to design and simulate (adaptive) multi-arm clinical trialsdesmat module to generate interactions and contrastsdetect module to compute the DETECT, Iss and R indexes to test a partition of itemsdevcon module to apply the deviation contrast transform to estimation resultsdevr2 module to compute Cameron and Windmeijer's deviance based R-squared measuredfao module to perform Dickey-Fuller unit root test in the presence of additive outliersdfgls module to compute Dickey-Fuller/GLS unit root testdfl module to estimate DiNardo, Fortin and Lemieux Counterfactual Kernel Densitydfsummary module to compute the (Augmented) Dickey-Fuller unit-root test and reports a summary table for different lagsdftol module to compute distribution-free tolerance intervalsdiagram module to analyze executed ado programs and produce a dynamic profile diagramdiagreg module to compute Model Selection Diagnostic Criteriadiagreg2 module to compute 2SLS-IV ModeL Selection Diagnostic Criteriadiagt module to report summary statistics for diagnostic tests compared to true disease statusdiagtest module to report summary statistics for diagnostic testdid_multiplegt module to estimate sharp Difference-in-Difference designs with multiple groups and periodsdidq module to compute treatment effects under alternative Parallel-q assumptionsdifd module to evaluate test items for differential item functioning (DIF)difdetect module to detect and adjust for differential item functioning (DIF)diff module to perform Differences in Differences estimationdiffpi module to calculate difference expressed as a percentagedifwithpar module for detection of and adjustment for differential item functioning (DIF)digdis module to analyze the distribution of digitsdigits
module to examine digit preferences in numeric variablesdiplot module to draw double interval plotdiptest module to compute dip statistic to test for unimodalitydirectma module to conducts multiple pair-wise meta-analysis (head-to-head comparisons) and export the pooled results to Exceldirifit module to fit a Dirichlet distributiondirlist module to retrieve directory informationdirtools modules to manage files in the working directorydiscrepancy module to implement a pseudo-ANOVA method for partitions of pairwise distance matricesdisjoint module to generate end variable demarcating disjoint spellsdissim module to calculate dissimilarity indexdistan module to generate similarity measuresdistinct module to display distinct values of variablesdistmatch module to perform distance matching based on latitudes and longitudesdistplot module to generate distribution function plotdistrate module to compute direct standardized rates with improved confidence intervaldivcat module to calculate five measures of diversity for multiple categoriesdlagif Module to Estimate Irving Fisher Arithmetic Distributed Lag Modeldldq
module to compute treatment effects under alternative Parallel-q assumptionsdlist module to list with variable labelsdlogit2
modules to compute marginal effects for logit, probit, and mlogitdmariano module to calculate Diebold-Mariano comparison of forecast accuracydmerge module to merge datasets using a modification of Stata's mergedmexogxt module to test consistency of OLS vs XT-IV estimatesdmout module to create difference-in-means tablesdo2screen module to display do-files in result windowdolog modules to execute commands from a file with loggingdologx modules to execute commands from a file with loggingdomdiag module to construct dominance diagramsdomin module to conduct dominance analysisdomme module to conduct dominance analysis with multiple equation modelsdoparser module to look for dta-files used in do-filesdoseresponse module to estimate dose-response function through adjustment for the generalized propensity scoredotemplate module to creates templates for do-filesdotex module to generate TeX log from do-filedoub2flt module to change storage type of real variabledoubleb module to compute Contingent Valuation using Double-Bounded Dichotomous Choicedoubletofloat module to recast variables from double to float storage typedoubmass module to draw double mass plotdpplot module for density probability plotsdpredict module to produce dynamic forecasts for ARIMA(p,s,q) modelsdqd module to compute treatment effects under alternative Parallel-q assumptionsdrarea module to overlap two range area plotsdrcate module to estimate and plot conditional average treatment effect functions with uniform confidence bands using a doubly robust methoddrdecomp module to estimate Shapley value of growth and distribution components of changes in poverty indicatorsdrm module to fit Sobel's Diagonal Reference Model (DRM)drmeta module for dose-response meta-analysisdrmmws module to perform doubly-robust marginal mean weighting through stratificationds2 v6 module to describe variables in memoryds3 module to describe variables in memoryds5 module to describe variables in memorydsconcat module to concatenate a list of Stata data files into memorydsearch module to find variables with given variable labeldseg module to compute decomposable multigroup segregation indexesdsginideco module to compute decomposition of inequality change into pro-poor growth and mobility componentsdsweight module to generate direct standardization weightsdta2ddi module to convert Stata data to DDI standardsdta2html module to generate HTML code to display a Stata dataset on the webdta2kml module to output a KML file from selected datapoints in a Stata datasetdta2md module to convert Stata system file to metadatadta2sav module to export in SPSS formatdtalink module to implement probabilistic record linkagedtanotes module to add metadata as dataset notesdtapaper module to create an HTML datapaperdtastamp module to store current date and time in dataset characteristicsdthaz module to compute discrete-time hazard and survival probability estimatesdtobit2 module to estimate a tobit model with marginal effects at observed censoring ratedudahart module to calculate and graph Duda-Hart cluster stopping indices from distance matrixdummies function to create families of dummy variablesdummies2 module to create indicator variables from categorical variable and vice versadummieslab module to convert categorical variable to dummy variables using label namesduncan module to calculate dissimilarity indexdups module to identify and optionally remove duplicate observationsdurbinh module to calculate Durbin's h test for serial correlationdyadid module to perform Dyad ID matchingdyads module to transform observations into dyadsdynardl module to dynamically simulate autoregressive distributed lag (ARDL) modelsdynpandoc module creating dynamic documents using dynamic tags and pandocdynsimpie module to examine dynamic compositional dependent variablesdynsimple
module to examine dynamic compositional dependent variables
eaalogit module to estimate endogenous attribute attendance modelseba module to perform extreme bound analysisebalance module to perform Entropy reweighting to create balanced samplesebct module to perform entropy reweighting to create balanced samples for continuous treatmentsebrowse module to to display variables in the Data Editor, ordered by varlisteclpci module to compute Exact and Approximate Confidence Limits for Poisson Countseclplot module to generate estimates and confidence limits plotsedm module to implement empirical dynamic modelingeealogit
module to estimate endogenous attribute attendance modelsefetch_tools
module to retrieve genetic data from NCBIeffcon module to calculate confidence limits for effect size estimated from one or two samples from normal distributioneffects
module to provide a graphical interface for estimation commandsefolder module to easily create folders and/or subfoldersegen_inequal module providing extensions to generate inequality and poverty measuresegenmisc module to provide various egen functionsegenmore modules to extend the generate functionegfr module to calculate estimated glomerular filtration rate (eGFR)egi module to calculate Ellison and Glaeser's index of geographical concentrationegranger module to perform Engle-Granger cointegration tests and 2-step ECM estimationeitc module to compute U.S. Earned Income Tax Credit receiptselabel module to extend the label commandselapse module to calculate elapsed time in procedureelasticregress module to perform elastic net regression, lasso regression, ridge regressionelectool
module containing toolkit to analyze electoral dataelife module to model annual increments of life expectancyelixhauser module to calculate Elixhauser index of comorbidityellip module to graph confidence ellipses (version 8)ellip6 module to plot confidence ellipses (version 6)ellip7 module to plot confidence ellipses (version 7)ellipticity module to compute optimal rank-based multivariate tests of elliptical symmetry and sphericityeltmle module to provide Ensemble Learning Targeted Maximum Likelihood Estimationemail module to send emails from Stata via Pythonemailme module to facilitate sending mail on Windows systemsemc module providing prefix command estimating contrasts for effect modifier valuesemh module to compute extended Mantel-Haenszel statisticsencodefrom module to rename and encode variables using an external crosswalkenforce module to force variables to satisfy a set of accounting identitiesenlarge module to propagate constant values through groupentropy module to compute Shannon, Renyi, HCT entropy & Hill numbersentropyetc module for entropy and related measures for categorieseofplot module to plot coefficients or loadings after principal component or factor analysiseperiod module to calculate elapsed time between datesepiconf module to assess confounding effects in epidemiological studiesepidata
module Data entry system for use with Stata, SPSS, SAS, Excel, text formatsepimodels module to implement epidemiological models and simulationsepisens module for basic sensitivity analysis of epidemiological resultsepisensrri module for basic sensitivity analysis for unmeasured confoundersepiweek module to create epidemiological week and equivalent epidemiological yearepresent module to present non-linear relationships in regression models with log or logit-linkepsigr module to save graph in EPSF format in UNIX environmentequation module to Output The Equation of a Regressioner module to compute Esteban and Ray measure of polarizationerate module to import up-to-date exchange rates for any currency pairsereplace module to extend egen and egenmore to permit replacingerepost module to repost the estimation resultseret2 module to save results in e()ersur module to calculate Elliott, Rothenberg & Stock DF-GLS unit root test statistic along with 1, 5 and 10% finite-sample critical values and associated p-valuesesetran module to transform estimates and standard errors in parmest resultssetsesizereg module for computing the effect size based on a linear regression coefficientesli module to calculate the equation of a straight lineest2tex module to create LaTeX tables from estimation resultsestout module to make regression tablesestout1 module to export estimation results from estimates tableestparm module to save results from a parmest resultsset and test equalityestquant module to implement Quantile approach by Combes et al.estrat module to perform Endogenous Stratification for Randomized Experimentsestsave module to save estimation results with current datasetestudy module to perform an event studyestwrite module to store estimation results on disketime module to time how long a program runseurostatuse module to import data from Eurostat repository into Stataeurouse module to import data from Eurostatevalue module for conducting sensitivity analyses for unmeasured confounding in observational studiesevalue_estat module for conducting postestimation sensitivity analyses of unmeasured confounding in observational studiesevalues module to calculate E-valueseventdd module to panel event study models and generate event study plotseventstudy module to perform event studies in financeeventstudy2 module to perform event studies with complex test statisticsewma
module to calculate exponentially weighted moving averageewreg module to estimate errors-in-variable model with mismeasured regressorexamples module to show examples from on-line help filesexcel2latex module to convert Excel table to LaTeX tableexcelclean module to clean and integrate excel filesexcelcol module to convert a column index into a name of an Excel columnexcelsave module to provide a convenient way to export matched Stata datasets from a specified input directory (also including, if wanted, additionally recursively matched subsets of files within distinctly matched offspring-directories) to Excel-filesexpandby module to duplicate observations by variableexpandihlp module to expand the help file preprocessor directive for substituting repeated material in a given help fileexpgen module to duplicate observations sorted in original order with generated variablesexpl module to explore folders and filesexplist module to generate an exponentially-spaced list of numbersexplorelabs module to explore the use of value labels in the datasetexpy module to calculate the EXPY-index as proposed by Hausmann et al. (2007)extfunnel module to produce graphical augmentations to the funnel plot to indicate the potential impact of a new study on an existing meta-analysisextreme module to fit models used in univariate extreme value theoryextremes module to list extreme values of a variable
f_able module for the estimation of marginal effects with transformed covariatesfaam module to score Foot and Ankle Ability Measurefabplot module for plots for each subset with rest of the data as backdropfactext module to extract factor values from a label variable created by parmestfactmerg module to merge a list of factors to create string variablesfactorn module to calculate the factors of an integerfactortest module to perform tests for appropriateness of factor analysisfactref module to insert new observations with reference values for factorsfagan module for Fagan's Bayesian nomoigramfairlie module to generate nonlinear decomposition of binary outcome differentialsfar5 module to compute floating absolute risk for Cox and conditional logit regressionfastcd module to automate changing directoriesfastgini module to calculate Gini coefficient with jackknife standard errorsfastreshape module for efficient implementation of reshape for big datasetsfastxtile module to generate a variable of quantile categoriesfavplots module for formatted added-variable plot(s)fbar module to produce bar charts showing frequencies of categorical variablesfbep Module to Estimate Financial Break-Even Point Analysis (BEP)fcinstability
module to perform forecast comparison and forecast rationality testsfcstats module to compute time series forecast accuracy statisticsfdfilter module to implement Corbae-Ouliaris frequency domain filter to time series datafdta module to change contents of string variablesfedit module to find and edit text file from within Statafeldti module to compare two independent coefficients of reliabilityfese module to calculate standard errors for fixed effectsfgt_ci module to calculate and decompose Foster–Greer–Thorbecke (and standard) concentration indicesfgtest module to Compute Farrar-Glauber Multicollinearity Chi2, F, t Testsfhsae module to fit an area level Fay-Herriot modelfieldarea module to compute the area of an irregularly shaped plot from GPS coordinates of its verticesfieller module to calculate confidence intervals of quotients of normal variatesfilei module to write lines to end or beginning of text filesfilelist module to recursively search directories for filesfilesearch module to recursively list files matching to a pattern or regular expressionfiltertrace module to trace filter or contingency questionsfind module to find matching strings across files in the current directoryfinddup module to find non-unique values or observationsfindname module to list variables matching name patterns or other propertiesfindsysmis module to find system missing values in a list of variablesfindunique module to display combinations of unique identifiers in a dataset.findval module to find a specific valuefirstdigit module to analyse first digits of numeric variablesfirthfit module to compute model fit for Firth's logit modelsfirthlogit module to calculate bias reduction in logistic regressionfiskfit module to fit a Fisk distribution by ML to unit record datafitint module to fit generalized linear model and test two-way interactionsfitmacro module to evaluate fit of loglinear GLM Poisson modelsfitstat module to compute fit statistics for single equation regression modelsfitstat_ers module to compute goodness of fit statistics for Rasch modelfixsort module to sort variables and align in sorted order, with others fixedflex module for flexible pseudo maximum likelihood estimation of models for doubly-bounded datafloattolong module to recast variables from float to long storage typeflowchart module to generate subject disposition flow diagram figures in LaTeX using PGF/TikZ to include in manuscriptsflower module to draw sunflower plotsfmiss module to identify variables with problematic missing valuesfmlogit module fitting a fractional multinomial logit model by quasi maximum likelihoodfmm module to estimate finite mixture modelsfmmic
module for postestimation with finite mixture modelsfmmlc module for postestimation with finite mixture modelsfndmtch module to find matching valuesfndmtch2 module to find matching values for one variable in anotherfodstr
modules to handle fractional day calculationsfor211 modules to document features of for and extend the for commandforec_instab
module to perform forecast comparison and forecast rationality testsforest module to visualize results from multiple regressions on a single independent variableforfile module to execute command for each matching filefprank module to compute Two-Sample Fligner-Policello Robust Rank Order Testfpref module to add prefix or suffix to filenamesfpro
module to compute Financial Protection Indicators for Health Expendituresfproper
module to get proper case for foreign names in variablesfpuhc
module to compute Financial Protection Indicators for Universal Health Coveragefqreg module to estimate quantile regression for non-negative data with a mass-point at zero and an upper boundfracdiff module to generate fractionally-differenced timeseriesfracdydx module to evaluate derivatives of fractional polynomialsfracirf module to compute impulse response function for fractionally-integrated timeseriesfraclogit module to estimate fractional logit modelfractal module to generate fractalsfractileplot module for smoothing with respect to distribution function predictorsfragility module to compute the fragility index and quotientframingham module for calculating the Framingham 10-year Cardiovascular Disease Risk Predictionframingham30 module to calculate 30-year risk of cardiovascular diseasefrcount module to estimate fractional response model under the presence of count endogeneity and unobservable heterogeneityfre module to display one-way frequency tablefreduse module to Import FRED (Federal Reserve Economic Database) datafren module to batch rename files (Windows only)freplace module to batch convert ASCII text or binary patterns in filesfreqindex module to generate an index of terms from string variablefrm module to estimate and test fractional regression modelsfrontier_teci module to generate technical efficiency confidence intervalsfrontierhtail module to estimate stochastic production frontier models for heavy tail datafs module to show names of files in compact formfsdet module to compute Factor score determinacy coefficientfsreg
module for forward search regressionfsum module to generate and format summary statisticsfsx module to show names of files in compact form (Unix-friendly defaults)ftest module comparing two nested models using an F-testftocci module to back calculate the conventional confidence intervals from the floated confidence intervalsftools module to provide alternatives to common Stata commands optimized for large datasetsftrans module to batch convert file formatsftree module to save directory information in text file (Windows only)fulltab module to generate 'full tables' which can be stacked into matricesfunnelcompar module to perform funnel plot for institutional comparisonfunnelperform module to produce funnel plot for institutional comparisonfuzzydid module to estimate Fuzzy Difference-in-Difference Designsfvfix module to compute the future value of a series of equal payments (cash flows)fview module to find and view a filefvprevar module to extend fvrevar generating permanent result variablesfvregen module to regenerate factor variables in a parmest output datasetfvvar module to compute the future value of a series of payments (cash flows)fxbcr Module to Estimate Benefit-Cost Ratio (BCR)
g538schemes module to provide graphics schemes for http://fivethirtyeight.comgam
module for generalised additive modelsgamet module to perform game-theoretic calculationsgammafit module to fit a two-parameter gamma distributiongammasym module to compute the value of the symmetrical gamma functiongausshermite module to estimate integrals using Gauss Hermite quadraturesgb2fit module to fit Generalized Beta of the Second Kind distribution by maximum likelihoodgb2lfit module to fit Generalized Beta of the Second Kind distribution by maximum likelihood (log parameter metric)gb2reg module to perform Regression with a GB2 Error Termgbgfit module to fit a Generalized Beta (Type 2) distribution to grouped data via MLgboxplot module to create Box plot for skewed or heavy-tailed distributionsgby module to subset graphs and calculate in the same outputgcause module to perform Granger causality testsgciget module to read Global Competitiveness Index data into Statagcode module to download Google geocode datagconc module to compute generalized measures of concentrationgdecomp module to compute decomposition of outcome differentials after nonlinear modelsgdsum module to summarize grouped datage_gravity module to solve a simple general equilibrium one sector Armington-CES trade modelgeekel2d module to estimate the parameters of unidimensional and bidimensional IRT modelsgeivars module to calculate Generalized Entropy inequality indicesgen_tail module to work with indicator observationsgenass module to perform Genetic Case-control Association testsgeneigen module to calculate eigenvalues of a real general matrixgenfreq module to produce a frequency distribution for a variablegengroup module to produce groups of individualsgenhwcci module to calculate Hardy-Weinberg equilibrium test in case-control studiesgenicv module to generate interaction between continuous (or dummy) variablesgenidseq module for generating a numeric sequence to represent long identifiersgenqreg module to perform Generalized Quantile Regressiongenspec module to implement a General-to-Specific modelling algorithmgenstack module to generate Twoway Stacked Chartsgenstest module to perform generalized S tests for models in the generalized method of moments frameworkgentrun module to generate truncated normal variategenvars module to generate covariate patternsgeo2xy module to convert latitude and longitude to xy using map projectionsgeochart module to create interactive map web pages from Stata datageocircles module to create circles defined by geographic coordinatesgeocodehere module to provide geocoding relying on Nokia’s Here Maps APIgeocodeopen module to geocode addresses using MapQuest Open Geocoding Services and Open Street Mapsgeodist module to compute geographical distancesgeodist2 module to calculate straight line distance between two coordinatesgeoinpoly module to match geographic locations to shapefile polygonsgeonear module to find nearest neighbors using geodetic distancesgeoroute module to calculate travel distance and travel time between two addresses or two geographical pointsgetdata module to import SDMX data from several providersgetmstatistic module to Quantify Systematic Heterogeneity in Meta-Analysisgetmxdata module to import Mexican economic datagetprime module to get the prime number closer to the specified numbergetregstats module for computing all values in a regression table when only the coefficient and one other statistic is availablegets module to implement a General-to-Specific modelling algorithmgetsymbols module to collect and integrate one or more series from Quandl.com, Google Finance, Yahoo Finance, and Alpha Vantagegevfit module to module to fit a generalized extreme value distribution by maximum likelihoodgformula module to implement the g-computation formula for estimating causal effects in the presence of time-varying confounding or mediationggt module to implement Geweke, Gowrisankaran, and Town Model Quality Estimatorggtax module to identify the most suitable GG family modelggtaxonomy module to identify the most suitable GG family modelghansen module to perform Gregory-Hansen test for cointegration with regime shiftsghistcum module to graph histogram and cumulative distributionghk2 module (enhanced Mata function) to implement the Geweke-Hajivassiliou-Keane multivariate normal simulatorghsurv module for the estimation of survival model using repeated cross-sectional dataghxt module to compute Panel Groupwise Heteroscedasticity Testsginidesc module to compute Gini index with within- and between-group inequality decompositionginiinc module for measuring inequality from incomplete income and survival datagintreg module to perform Generalized Interval Regressiongipf module to graphically display a log-linear modelgit module to manage git repositoriesgivgauss2 module to estimate generalized two-parameter inverse Gaussian regressionglcurve module to derive generalised Lorenz curve ordinatesglcurve5 module to derive generalised Lorenz curve ordinates with unit record data (Stata 5 or 6)glcurve7 module to derive generalised Lorenz curve ordinates with unit record data (version 7)glgamma2 module to estimate generalized two-parameter log-gamma regressiongllamm program to fit generalised linear latent and mixed modelsglmcorr module for correlation measure of predictive power for GLMsglmdeco module to compute Detailed Decomposition of Average Outcome Differentials in Generalized Linear Modelsglst module for trend estimation of summarized dose-response datagmap module to create heatmaps for the web, using java api developped by googlegmci module to calculate geometric means and their confidence intervalsgmemultinomial module to fit multinomial models using generalized maximum entropygmlabvpos
module providing egen function for label positioninggmmcovearn module to compute GMM estimates of the Covariance Structure of Earningsgnbstrat module to estimate Generalized Negative Binomial with Endogenous Stratificationgnpoisson module to estimate generalized Poisson regressiongoelevation module to compute elevation for latitude and longitude from Googlegologit module to estimate generalized ordered logit modelsgologit2 module to estimate generalized logistic regression models for ordinal dependent variablesgologit29 module to estimate generalized logistic regression models for ordinal dependent variablesgoogleplaces module to return search results from Google Placesgoprobit module to estimate generalized ordered probit modelsgpfobl module to perform rotation after factor / principal componentsgphepssj module to translate Stata graph files to .eps as used for The Stata Journalgphudak module to estimate long memory in a timeseriesgprefscode module to report on graphics preferencesgpreg module to estimate regressions with two dimensional fixed effectsgpreset module to reset preferences for a custom graphics scheme to their original valuesgpscore2 module to estimate the parameters of the conditional distribution of the treatment via GLMgrand modules to compute grand mean and dummies for differencesgrand2 module to compute an estimate of the grand mean/intercept and differencesgraph3d module to draw colored, scalable, rotatable 3D plotsgraphbinary module to plot explanatory variables vs binary outcomegraphlog module to convert log files to PDF documents with embedded graphs using LaTeXgrby program to draw bar charts for each covariate patterngrcomb module to create and combine several single graphs into onegrcompare module to make group comparisons in binary regression modelsgrep module to search within your datasets for keywordsgrexport module to produce a resultset of graph contentsgrfreq module to plot proportion of one variable by categories of anothergrlogit module to plot logit of a variable by categories of another variablegrnote module to add text and lines to graphsgroup1d module for grouping or clustering in one dimensiongroup2hdfe module to compute number of restrictions in a linear regression model with two high-dimensional fixed effectsgroup3hdfe module to compute number of restrictions in a linear regression model with three high-dimensional fixed effectsgroup_id module to group identifiers when values for specified variables matchgroup_twoway module to group observations by the connected components of two variablesgroupcl
module to estimate grouped conditional logit modelsgroupdist module to generate within-group minimum and maximum distancesgrouplabs module to create value labels for grouped variablesgroups module to list group frequenciesgroupseq
module providing functions to determine group sequential trial designsgrpdf module to produce PDFs from memory graphsgrqreg module to graph the coefficients of a quantile regressiongrstest module to implement the Gibbons et al. (1989) test in a single-factor or multi-factor settinggrstest2 module to implement the Gibbons, Ross, Shanken (1989) testgrstyle module to customize the overall look of graphsgrtext module to insert nonstandard characters in graph textgrubbs module to perform Grubbs' test for outliersgs2sls module to estimate Generalized Spatial Two Stage Least Squares Cross Sections Regressiongs2slsar module to estimate Generalized Spatial Autoregressive Two Stage Least Squares Regressiongs2slsarxt module to estimate Generalized Spatial Panel Autoregressive Two Stage Least Squares Cross Sections Regressiongs2slsxt module to estimate Generalized Spatial Panel Autoregressive Two-Stage Least Squares Regressiongs3sls module to estimate Generalized Spatial Three Stage Least Squares (3SLS)gs3slsar module to estimate Generalized Spatial Autoregressive Three Stage Least Squares (3SLS) Cross Sections Regressiongsa module to perform generalized sensitivity analysisgsample module to draw a random samplegsdata module to download high frequency data for a list of stock in ShangHai or ShenZhen marketsgsgroup module to create a group variable and optionally an output dataset for a gsort keygsreg module to perform Global Search Regressiongsum module to calculate summary statistics for grouped datagtools module to provide a fast implementation of common group commandsgumbelfit module to fit a two-parameter Gumbel distributionguttmanl module to produce Guttman lower bound reliability coefficientsgvselect module to perform best subsets variable selectiongwhet module to perform test for groupwise heteroskedasticitygzipuse module to use and save compressed dta files and compress .dta filesgziputil module to provide access to gzipped filesgzsave module to save and use datasets compressed by gzip
hadrilm module to perform Hadri panel unit root testhaif module to compute Homoskedastic Adjustment Inflation Factors for model selectionhalf
module to compute homoskedastic adjustment inflation factors for model selectionhallt-skewt
-skewt module to compute skewness-adjusted bootstrap t-statisticshamiltonfilter module to calculate the Hamilton Filter for a Single Time Series or for a Panel Datasethammock module to implement Hammock plot, visualizing categorical (and continuous) datahangroot module creating a hanging rootogram comparing an empirical distribution to the best fitting theoretical distributionhansen2 module for Hansen's test for parameter instabilityhapblock module to perform haplotype analysis to identify the edges of haplotype blockshapipf module to perform haplotype analysisharmby module to harmonize values of variables within by-groupshausman module to compute a Hausman test statistic (version 5)hbar module to generate horizontal bar chartshbox module to draw horizontal box plotshcaccprox module to compute a hierchical cluster analysis with conditional measures of proximityhcavar module to perform Hierarchical Clusters Analysis of variableshcnbreg module to estimate Heterogeneous Canonical Negative Binomial Regressionhdfe module to partial out variables with respect to a set of fixed effectshdquantile module for Harrell-Davis estimator of quantilesheabs module to calculate the ICER and Net Benefit for up to two datasetshead module to print the head observations (first observations in data set)heatmapgraph module to measure the evolution of risks to financial stability over the financial cycleheatplot module to create heat plots and hexagon plotsheckprob2
module to run heckprob and svyheckprob with d2 evaluatorhegy4 module to compute Hylleberg et al seasonal unit root testheterogi module to quantify heterogeneity in a meta-analysishetop module for estimating heteroskedastic ordered probit models with ordered frequency datahetprob module to estimate heteroskedastic probit modelhetred module to implement heterogeneity reducing algorithmshettreatreg module to compute diagnostics for linear regression when treatment effects are heterogeneoushgclg module to estimate geometric-complementary log log hurdle regressionhglogit module to estimate geometric-logit hurdle regressionhhi module to compute Herfindahl indexhhi5 module to generate Herfindahl-Hirschman index (HHI) variableshildasetup module to create a longitudinal dataset for the Household, Income and Labour Dynamics in Australia (HILDA) Surveyhimap module to create heatmaps for the web, using java api developed by highchartshimatrix module to highlight selected elements of scatterplothireg module for hierarchial regressionhist3 module to draws histograms for intervals of different sizehistbox module to generate histogram with boxplothistoraj module to produce histogram with descriptive statisticshistplot module to produce histogram for frequency distributionhl module to compute Hodges and Lehman (1963) robust measure of locationhlist module for horizontally listing valueshlm module to invoke and run HLM v6 software from within Statahlp2html module to translate a list of Stata help files to HTMLhlp2pdf module to create PDF or PostScript from Stata help filehlp2winpdf module to convert Stata's help files into pdf in Windows environmenthlpdir module to find location(s) of help filehlpedit module to edit help file in do-file editorhmap module to graph a heatmaphnbclg module to estimate negative binomial-complementary log log hurdle regressionhnblogit module to estimate negative binomial-logit hurdle regressionhnbreg1 module to estimate Heterogeneous linear negative binomial regression (NB-1)hodgesl module to perform Hodges-Lehmann aligned rank testhoi module to compute Human Opportunity Indexhoishapely
module to perform Shapley Decomposition of the Human Opportunity Indexhoishapley module to perform Shapley Decomposition of the Human Opportunity Indexholsti module to compute Holsti intercoder reliability coefficientshotdeck module to impute missing values using the hotdeck methodhotvalue module to generate scales with missing values conditionally imputedhpc module to perform specification test to discriminate between models for non-negative data with many zeroshpclg module to estimate Poisson-complementary log log hurdle regressionhpfilter module to compute one-sided Hodrick-Prescott filterhplogit module to estimate Poisson-logit hurdle regressionhplot module to generate horizontal plotshprescott module to implement Hodrick-Prescott filter for timeseries datahrimvol module providing simple option implied volatility calculatorhshaz module to estimate discrete time (grouped data) proportional hazards modelshsmode module to calculate half-sample modeshte module to perform heterogeneous treatment effect analysishtmlcb module to write a codebook as an html filehtmltit module to generate a document title variable for a HTML filename variablehtmlutil module to provide utilities for writing Hypertext Markup Language (HTML) fileshue module to produce graphical display of named Stata colorshummels module to compute intensive and extensive trade marginshutchens module to calculate the Hutchens `square root' segregation index with optional decompositions by subgroup
iati module to import International Aid Transparency Initiative dataic module to compute measures of interaction contrast (biological interaction)icc23 module that computes models 2 and 3 of the intra-class correlationiccconf module to compute a confidence interval for an intraclass correlation (ICC)iccvar module to calculate intraclass correlation (ICC) after xtmixedicdpic module to provide methods for translating International Classification of Diseases (Ninth Revision) diagnosis codes into standard injury categories and/or scoresice module for multiple imputation of missing valuesicet module to perform multiple imputation of covariatesicio module for Economic Analysis with Inter-Country Input-Output tablesicomp module to calculate model selection information criteriaidonepsu module for dealing with strata that have singleton PSUsie_rate module to conduct age, period, and cohort (APC) analysis of tabular rate data using the intrinsic estimatoriefieldkit module providing Stata commands for primary data collection and cleaningietoolkit module providing commands specially developed for Impact Evaluationsifin module to generate a local containing an if statement to select multiple valuesifwins module to subset a dataset by 'if exp' before subsetting by 'in range'igeintb module to estimate intergenerational income elasticities (IGEs) with multiple sets of instrumentsigencox module to fit generalized Cox modelsigenerate module to apply a variety of coding schemes, including weighted effect coded interactionsigeset module to estimate intergenerational income elasticities (IGEs) with a single set of instrumentsigesetci module to compute confidence intervals for partially identified intergenerational income elasticities (IGEs)igini module to perform Gini index decomposition by individual and groupigini1 module to perform Gini index decomposition by individual and groupihstrans module for generating inverse hyperbolic sine (IHS) transformed variablesiia module to test the iia assumption in conditional logistic regression (version 5)imbalance module to check covariate imbalance before and after matching
"- imperfectiv module to estimate bounds with ""Imperfect Instrumental Variables"" (Nevo and Rosen, 2012)"importsav module to convert SPSS file to Stataimputeitems module to impute missing data of binary itemsimputemok module to impute binary data by a Mokken scaleimputerasch module to impute binary data by a Rasch modelimvol module to compute Implied Volatility in Black-Scholes European Option Pricing Modelinccat module to concatenate one or more input files to an output file inserting additional input filesindeplist module to returns lists of independent variables from the active estimation commandindex Module to Estimate Price, Quantity, and Value Index Numbersindexplot module for index plots of estimation resultsineq module to calculate measures of inequalityineqdec0 module to calculate inequality indices with decomposition by subgroupineqdecgini module to estimate Gini coefficient with optional decomposition by subgroupsineqdeco module to calculate inequality indices with decomposition by subgroupineqfac module to calculate inequality decomposition by factor componentsineqord module to calculate indices of inequality and polarization for ordinal dataineqrbd module to calculate regression-based inequality decompositioninequal2 module to compute measures of inequalityinequal7 module to compute measures of inequalityingap module to insert gap observations into a data set before output by listtexinorm module to perform multiple imputation using Schafer's methodinsheetjson module for importing tabular data from JSON sources on the internetinsingap module to insert a single gap observation at the top of each by-groupinsob module to insert empty observationsint_utils module to perform interval computations in Mataintcens module to perform interval-censored survival analysisinteff3 module to compute partial effects in a probit or logit model with a triple dummy variable interaction termintegrate module to perform one-dimensional integrationinteractplot module to generate plots for interaction terms of multiplicative regressionsinterflex module to estimate multiplicative interaction models with diagnostics and visualizationintext module to read text files into string variablesintgph module to interpret interaction effects and present graphicallyintreg2
module to perform interval regression with multiplicative heteroskedasticityintsolver module providing functions and tools for finding solutions to nonlinear equation systems in Mataintterms module to enumerate all indicators for all intersections of two categorical variablesinvcdf module to invert the cumulative distribution functioninvcise module to compute standard errors using the inverse confidence interval methodinvdesc module to change variable attributes using a describe or descsave resultssetinvgammafit module to fit a two-parameter inverse gamma distributioninvgaussfit module to fit a two-parameter inverse Gaussian distributioniop module to to compute different measures of inequality of opportunity for dichotomous, ordered and continuous outcome variablesiot module to estimate Leontief Input-Output Tableipdforest module to produce forest plot for individual patient data IPD meta-analysis (one stage)ipdmetan module for performing two-stage IPD meta-analysisipdpower module to perform simulation based power calculations for mixed effects modellingipf module to perform log-linear modelling using Iterative Proportional Fittingipfraking module to perform iterative proportional fitting, aka rakingipfweight module to create adjustment weights for surveysipshin module to perform Im-Pesaran-Shin panel unit root testiquantile module to calculate interpolated quantilesira module to calculate rwg and related interrater agreement indicesirax module to perform isotonic regression analysisirr module to calculate the (periodic) internal rate of return for a series of periodic cash flows.irrepro module to produce a simulation of irreproducible resultsirscharities module to import and format IRS Exempt Organization Business Master File Dataisa module to perform Imbens' (2003) sensitivity analysisisco module to recode 4 digit ISCO-68 occupational codesiscogen module to translate ISCO codesiscooesch module to recode ISCO codes into Oesch class schemeisko module to recode 4 digit ISCO-88 occupational codesisograph module to compute inequality over logit ranks of social hierarchyisopoverty module to generate data for Inequality-Poverty and Iso-Poverty curvesistdize module to generate indirectly standardized rates using a standard populationisvar module to filter names into variable names and othersitsa module to perform interrupted time series analysis for single and multiple groupsitsamatch module to perform matching in multiple group interrupted time-series analysisitsaperm module to perform permutation tests for matched multiple group interrupted time series analysisitsarand module for conducting randomization tests for single-case and multiple-baseline AB phase designsitsp_ado
module to accompany Introduction to Stata Programming bookitspower module for simulation based power calculations for linear interrupted time series (ITS) designsivactest module to perform Cumby-Huizinga test for autocorrelation after IV/OLS estimationivcheck module to choose between OLS and contaminated IVivendog module to calculate Durbin-Wu-Hausman endogeneity test after ivregivgauss2 module to estimate two-parameter log-inverse Gaussian regressionivglog module to estimate inverse Gaussian distribution-log link MLE modelivgmm0 module to perform instrumental variables via GMMivgravity module containing method-of-moment IV estimators of exponential-regression models with two-way fixed effects from a cross-section of data on dyadic interactions and endogenous covariatesivhettest module to perform Pagan-Hall and related heteroskedasticity tests after IVivpois module to estimate an instrumental variables Poisson regression via GMMivprob-ivtobit
-ivtobit modules to estimate instrumental variables probit and tobitivprob-ivtobit6
-ivtobit6 modules to estimate instrumental variables probit and tobitivqreg2 module to provide structural quantile function estimationivreg2 module for extended instrumental variables/2SLS and GMM estimationivreg210 module for extended instrumental variables/2SLS and GMM estimation (v10)ivreg28 module for extended instrumental variables/2SLS and GMM estimation (v8)ivreg29 module for extended instrumental variables/2SLS and GMM estimation (v9)ivreg2h module to perform instrumental variables estimation using heteroskedasticity-based instrumentsivreg2hdfe module to estimate an Instrumental Variable Linear Regression Model with two High Dimensional Fixed Effectsivreg_ss module to compute confidence intervals, standard errors, and p-values in an IV regression in which the excluded instrumental variable has a shift-share structureivreghdfe module for extended instrumental variable regressions with multiple levels of fixed effectsivregress2 module to export first and second-stage results similar to ivregressivreset module to perform Ramsey/Pesaran-Taylor/Pagan-Hall RESET specification test after IV/GMM/OLS estimationivrobust
module to perform weak instrument test for a single endogenous regressor in TSLS and LIMLivtreatreg module to estimate binary treatment models with idiosyncratic average effectivvif module to report variance inflation factors after IV
jarowinkler module to calculate the Jaro-Winkler distance between stringsjb module to perform Jarque-Bera test for normality on seriesjb6 modules to perform Jarque-Bera test for normalityjc module to dynamically load and call Java pluginsjformat module to justify formats for a list of variablesjmpierce module to perform Juhn-Murphy-Pierce decompositionjmpierce2 module to compute trend decomposition of outcome differentialsjnsn module to fit Johnson distributionsjohans module to perform Johansen-Juselius ML estimates of cointegrationjoinvars module to join values of variablesjonter module to perform Jonckheere-Terpstra testjrule module to detect model misspecifications in SEMjsonio module for I/O operations on JSON data
kalpha module to compute Krippendorff's Alpha-Reliabilitykanom module to estimate Krippendorff's alpha for nominal variableskapgof module to compute confidence intervals for the kappa statistickaplansky module to graph examples of distributions of varying kurtosiskappa2 module to produce Generalizations of weighted kappa for incomplete designskappaetc module to evaluate interrater agreementkapprevi module to plot the dependence of kappa statistic on true prevalencekaputil
module to generate confidence intervals and sample size calculations for the kappa-statistickatego module to split a continuous numerical variable in custom categorieskdbox module to generate kernel density plot with boxplotkdens module for univariate kernel density estimationkdens2 module to estimate bivariate kernel densitykdmany module to perform kernel density estimation for several variableskeeporder module to keep and order a set of variableskeepvar module to keep a list of variables in the order of their appearance in the listkernel module to compute various kernelskernreg1 module to compute kernel regression (Nadaraya-Watson estimator)kernreg2
module to compute kernel regression (Nadaraya-Watson estimator)keyby module to key the dataset by a variable listkeyplot module to generate scatter plot with keys in user-chosen positionskfoldclass module for generating classification statistics of k-fold cross-validation for binary outcomeskhb module to decompose total effects into direct and indirect via KHB-methodkitchensink module to return the model with the highest number of statistically significant predictorskmatch module module for multivariate-distance and propensity-score matching, including entropy balancing, inverse probability weighting, (coarsened) exact matching, and regression adjustmentkmest module to compute Kaplan-Meier survival probabilities as estimation resultsknapsack module to solve the knapsack problemkobo2stata module to create labelled Stata datasets from KoboToolboxkonfound module to quantify robustness of causal inferenceskountry module to standardize country names across various datasetskpss module to compute Kwiatkowski-Phillips-Schmidt-Shin test for stationaritykr20 module to calculate Kuder-Richardson coefficient of reliabilitykrippalpha module to compute Krippendorff's alpha intercoder reliability coefficientkrls module to perform Kernel–Based Regularized Least Squaresksi module to compute Krugman specialization indexkssur module to calculate Kapetanios, Shin & Snell unit root test statistic along with critical values and p-valuesksur module to calculate Kapetanios & Shin unit root test statistic along with finite-sample critical values and p-valueskwallis2 module to perform Kruskal-Wallis Test for equality of populationskwstat module to compute kernel weighted sample statistics
labcenswdi module to automatically manage datasets obtained from US Census 2000 and World Development Indicators databaseslabeldatasyntax module to produce syntax to label variables and values, given a data dictionarylabellacking module to report numeric variables with values lacking value labelslabelsof module to obtain a list of labeled valueslabelutil
programs to create multiple value labelslabgen module to generate or replace variables with definitions in variable labelslablist module to list value labels (if present) for one or more variableslabmatch module to find observations by label valueslabmm module to modify multiple value labels simultaneouslylabmv module to change numeric values to extended missing values preserving value labelslabone module to label variables after import excellabrec module to recode variables according to value labellabsort module to recode a grouping variable according to a group statistic and reorder its value labelslabsumm
module to generate summary table with variable labelslabundef module to list undefined value labels attached to variables in the current datasetlabup module to module to order/move variables based on label contentslabutil
modules for managing value and variable labelslabutil2 module to manage value and variable labelslabvalcl module to clear value labels of null stringslabvars module to attach a list of labels to varlistlambda module for Goodman and Kruskal's lambda measures for two-way tableslandemets module to compute boundaries for group sequential clinical trials using alpha spending functionslaplacereg module to perform Laplace regression for censored datalars module to perform least angle regressionlasagna module to produce lasagna plotslassopack module for lasso, square-root lasso, elastic net, ridge, adaptive lasso estimation and cross-validationlastupto module to collapse a dataset to have 1 observation for each of a list of X-valueslatab module to generate LaTeX output from tabulatelbpower module to calculate approximate power (or sample size) for longitudinal studies with binary response and two equally sized treatment groupslclogit module to fit latent class conditional logit models via EM algorithmlclogit2 module to estimate latent class conditional logit modelslcmc module to estimate latent class missing covariate model for continous main response, ordinal covariate with missing values, and informative selectionldecomp module decomposing the total effects in a logistic regression into direct and indirect effectsldtest module to compute Lorenz Dominance testsleanout module to produce lean output formatting for estimation resultsleebounds module for estimating Lee (2009) treatment effect boundsleftalign module to left-align (or right-align) variableslevels module to report distinct levels of integer or string variablelevene module to test for equal population varianceslevinlin module to perform Levin-Lin-Chu panel unit root testlevpredict module to compute log-linear level predictions reducing retransformation biaslfk module to compute LFK index and Doi plot for detection of publication bias in meta-analysislfsum modules to describe variables located by name fragmentslgamma2 module to estimate two-parameter log-gamma regressionlgraph module to draw line graphs with optional error barslibd3 module providing D3js Mata librarylibhtml module providing an object oriented implementation of HTML in Matalibjson module to provide Mata class library for obtaining and parsing JSON strings into object treeslincheck module to graphically assess the linearity of a continuous covariate in a regression modellincom2 module to compute multiple linear combinationslincomest module to generate linear combinations of estimators saved as estimation resultslinequate module to calculate linear equating constants using the Tucker and Levine Methodslinkplot module for linked (connected) scatter plotslintrend module to graph observed proportions or means for a continuous or ordinal X variablelinuxlsd1 module to create a dataset of file records from the output of a Linux ls -d1 commandlinuxlsdl
module to create a dataset of file records from the output of a Linux ls -d1 commandlisrelinput module to generate input for pasting into LISRELlistmiss module to analyse missing values related to an estimation commandlistsome module to list a (possibly random) sample of observationslisttab module to list variables as rows of a TeX, HTML or word processor tablelisttex module to list variables as rows of a TeX, HTML or word processor tablelistutil modules to manipulate lists of wordsljs module to left-justify string variables for printinglmabg Module to compute OLS Autocorrelation Breusch-Godfrey Test at Higher Order AR(p)lmabg2 Module to Compute 2SLS-IV Autocorrelation Breusch-Godfrey Test at Higher Order AR(p)lmabgnl module to compute NLS Autocorrelation Breusch-Godfrey Test at Higher Order AR(p)lmabgxt module to compute Panel Data Autocorrelation Breusch-Godfrey Testlmabp module to compute Box-Pierce Autocorrelation LM Test at Higher Order AR(p)lmabp2 module to compute 2SLS-IV Box-Pierce Autocorrelation LM Test at Higher Order AR(p)lmabpg module to compute OLS Autocorrelation Breusch-Pagan-Godfrey Test at Higher Order AR(p)lmabpg2 Module to Compute 2SLS-IV Autocorrelation Breusch-Pagan-Godfrey Test at Higher Order AR(p)lmabpgnl Module to Compute NLS Autocorrelation Breusch-Pagan-Godfrey Test at Higher Order AR(p)lmabpgxt module to compute Panel Data Autocorrelation Breusch-Pagan-Godfrey Testlmabpnl module to compute NLS Autocorrelation Box-Pierce Test at Higher Order AR(p)lmabpxt module to compute Panel Data Autocorrelation Box-Pierce Testlmabxt module to compute Panel Autocorrelation Baltagi Testlmadurh module to compute Durbin h, Harvey LM, Wald LM Autocorrelation Testslmadurh2 module to compute 2SLS-IV Autocorrelation Dynamic Durbin h, Harvey LM, and Wald Testslmadurhxt module to Compute Panel Data Autocorrelation Dynamic Durbin h and Harvey LM Testslmadurm module to compute OLS Autocorrelation Dynamic Durbin m Test at Higher Order AR(p)lmadurm2 module to compute 2SLS-IV Autocorrelation Dynamic Durbin m Test at Higher Order AR(p)lmadurmnl module to compute NLS Autocorrelation Dynamic Durbin m Test at Higher Order AR(p)lmadurmxt module to compute Panel Data Autocorrelation Dynamic Durbin m Testlmadw module to compute Durbin-Watson Autocorrelation Testlmadw2 module to compute 2SLS-IV Autocorrelation Durbin-Watson Test at Higher Order AR(p)lmadwnl module to compute NLS Autocorrelation Durbin-Watson Test at Higher Order AR(p)lmadwxt module to compute Panel Data Autocorrelation Durbin-Watson Testlmalb module to compute Ljung-Box Autocorrelation LM Test at Higher Order AR(p)lmalb2 module to compute 2SLS-IV Autocorrelation Ljung-Box Test at Higher Order AR(p)lmalbnl module to compute NLS Autocorrelation Ljung-Box Test at Higher Order AR(p)lmanlsur module to perform Overall System NL-SUR Autocorrelation Testslmareg3 module to compute Overall System Autocorrelation Tests after 3SLS and SURElmasem module to perform Overall System Structural Equation Modeling (SEM) Autocorrelation Testslmavon module to compute Von Neumann Ratio Autocorrelation Test at Higher Order AR(p)lmavon2 Module to Compute 2SLS-IV Autocorrelation Von Neumann Ratio Test at Higher Order AR(p)lmavonnl module to compute NLS Autocorrelation Von Neumann Ratio Test at Higher Order AR(p)lmavonxt module to compute Panel Data Autocorrelation Von Neumann Ratio Testlmawxt Module to Compute Panel Data Autocorrelation Wooldridge Testlmaz module to compute OLS Autocorrelation Z Test at Higher Order AR(p)lmaznl Module to Compute NLS Autocorrelation Z Test at Higher Order AR(p)lmcol module to compute OLS Multicollinearity Diagnostic Testslmcovnlsur module to perform Breusch-Pagan Lagrange Multiplier Diagonal Covariance Matrix Test after (NL-SUR) Regressionslmcovreg3 module to Compute Breusch-Pagan Lagrange Multiplier Diagonal Covariance Matrix Test after (3SLS-SURE) Regressionslmcovsem module to perform Overall System Structural Equation Modeling (SEM) Breusch-Pagan Lagrange Multiplier Diagonal Covariance Matrix Testlmcovvar module to compute (VAR) Breusch-Pagan Diagonal Covariance Matrix Testlmcovxt module to Compute Breusch-Pagan Lagrange Multiplier Diagonal Covariance Matrix Test for Panel Datalmdi module to compute Logarithmic Mean Divisia Index (LMDI) Decompositionlmeg module to compute Augmented Engle-Granger Cointegration Test at Higher Order AR(p)lmfreg module to Compute OLS Linear vs Log-Linear Functional Form Testslmfreg2 module to compute 2SLS-IV Linear vs Log-Linear Functional Form Testslmgc module to compute Granger Causality Test at Higher Order AR(p)lmharch module to compute OLS Heteroscedasticity Engle (ARCH) Testlmharch2 Module to Compute 2SLS-IV Heteroscedasticity Engle (ARCH) Testlmharchnl Module to Compute NLS Heteroscedasticity Engle (ARCH) Testlmharchxt Module to Compute Panel Data Heteroscedasticity Engle (ARCH) Testlmhcw Module to Compute OLS Heteroscedasticity Cook-Weisberg Testlmhcw2 Module to Compute 2SLS-IV Heteroscedasticity Cook-Weisberg Testlmhcwnl module to compute NLS Heteroscedasticity Cook-Weisberg Testlmhcwxt Module to Compute Panel Data Heteroscedasticity Cook-Weisberg Testlmhgl module to Compute Glejser Lagrange Multiplier Heteroscedasticity Test for Residuals after OLS Regressionlmhgl2 Module to Compute 2SLS-IV Heteroscedasticity Glejser Testlmhglnl module to compute NLS Heteroscedasticity Glejser Testlmhharv module to Compute Harvey Lagrange Multiplier Heteroscedasticity Test for Residuals after OLS Regressionlmhharv2 Module to Compute 2SLS-IV Heteroscedasticity Harvey Testlmhhp Module to Compute OLS Heteroscedasticity Hall-Pagan Testlmhhp2 Module to Compute 2SLS-IV Heteroscedasticity Hall-Pagan Testlmhhpnl module to compute NLS Heteroscedasticity Hall-Pagan Testlmhhpxt module to compute Panel Data Heteroscedasticity Hall-Pagan Testlmhlmxt module to Compute Breusch-Pagan Lagrange Multiplier Panel Heteroscedasticity Testlmhlrxt module to Compute Greene Likelihood Ratio Panel Heteroscedasticity Testlmhmss2 Module to Compute 2SLS-IV Heteroscedasticity Machado-Santos-Silva Testlmhnlsur module to perform Overall System NL-SUR Heteroscedasticity Testslmhreg3 module to compute Overall System Heteroscedasticity Tests after (3SLS-SURE) Regressionslmhsem module to perform Overall System Structural Equation Modeling (SEM) Heteroscedasticity Testslmhwald module to compute OLS Heteroscedasticity Wald Testlmhwaldxt module to compute Panel Data Heteroscedasticity Wald Testlmnad Module to Compute OLS Non Normality Anderson-Darling Testlmnad2 Module to Compute 2SLS-IV Non Normality Anderson-Darling Testlmnadnl Module to Compute NLS Non Normality Anderson-Darling Testlmnadxt module to compute Panel Data Non Normality Anderson-Darling Testlmndh Module to Compute OLS Non Normality Doornik-Hansen Testlmndp module to Compute OLS Non Normality D'Agostino-Pearson Testlmndp2 module to compute 2SLS-IV Non Normality D'Agostino-Pearson Testlmngr module to compute Jarque-Bera Non Normality Lagrange Multiplier Runs Test for Residuals after OLS Regressionlmngry module to compute Geary Non Normality Lagrange Multiplier Runs Testlmngry2 Module to Compute 2SLS-IV Non Normality Geary Runs Testlmngryxt module to compute Panel Data Non Normality Geary Runs Testlmnjb module to compute Lagrange Multiplier LM Jarque-Bera Normality Testlmnjbnl module to compute NLS Non Normality Jarque-Bera Testlmnjbxt Module to Compute Panel Data Non Normality Jarque-Bera Testlmnnlsur module to perform Overall System NL-SUR Non-Normality Testslmnreg3 module to compute Overall System Non Normality Tests after (3SLS-SURE) Regressionslmnsem module to perform Overall System Structural Equation Modeling (SEM) Non Normality Testslmnwhite module to Compute White Non Normality Lagrange Multiplier Test after OLS Regressionlmnwhite2 Module to Compute 2SLS-IV White IM Non Normality Testlmnwhitenl module to compute NLS Non Normality White Testlmnwhitext module to compute Panel Data Non Normality White Testlmoments module to generate L-moments and derived statisticslms module to perform least median squares regression fitlmsrd module to compute Spurious Regression Diagnostic after OLS Regressionlocalp module for kernel-weighted local polynomial smoothinglocpr module for semi-parametric estimationloevh module to compute Guttman errors and Loevinger H coefficientslog2do2 module to convert log file to do filelog2html module to produce HTML log fileslog2markup module to transform a Stata text log into a markup documentlogitcprplot module to graph component-plus-residual plot for logistic regressionlogitfe module to compute analytical and jackknife bias corrections for fixed effects estimators of panel logit models with individual and time effectslogithetm module to estimate Logit Multiplicative Heteroscedasticity Regressionlognfit module to fit lognormal distribution by maximum likelihoodlogout module to convert log or ASCII files into various output formatslogpred module to calculate logistic regression probabilitieslogtest module to test significance of a predictor in logistic modelslomackinlay module to perform Lo-MacKinlay variance ratio testlomodrs module to perform Lo R/S test for long range dependence in timeserieslongch module to identify how many records satisfy a conditionlongplot module to produce exploratory plot for longitudinal datalongshape module to reshape long (limited alternative version)looclass module for generating classification statistics of Leave-One-Out cross-validation for binary outcomesloocv module to perform Leave-One-Out Cross-Validationlookfor2 module to search for string in variable names, variable labels, value labels, and noteslookfor_all module to search for variables/patterns in .dta fileslookfor_val module to search the current dataset for values that match a specified patternlookforit module to search variable names and labels for some string or stringsloopplot modules to generate scatter plots with loopslorenz module to estimate and display Lorenz curves and concentration curveslouvain module to find communities in weighted graphlowyseattle
module for managing settings and recompilinglowyseattlea
module for tables, statistics, data management, outputlowyseattleb
module for creating, transforming, labeling, variableslprplot module to produce logistic regression partial residual plotslrchg module to calculate change in coefficients between logistic modelslrdrop1 module to calculate likelihood-ratio test after dropping one termlrmatx module to make logistic regression estimates availablelrplot module to plot coefficients from a logistic regressionlrseq module to calculate sequential likelihood-ratio test after model estimationlrutil modules providing utilities for logistic regressionlsacsetup module to create a longitudinal dataset for Growing Up in Australia: The Longitudinal Study of Australian Children (LSAC)lstack
module to stack variables with labelled _stacklstrfun module to modify long local macrosltable2
module to generate life tables for rare eventsltimbimata module containing six general-purpose Mata functionsluvain module to find communities in weighted graphlvalues module for letter value calculationlvr2plot2 module to produce leverage versus squared residual plot with Cook's Dlxpct_2 module to calculate multistate life expectancies
m_stats
module to implement interpoint distance distribution analysismac_unab module to unabbreviate Global Macro Listsmadfuller module to perform Dickey-Fuller test on panel datamads module to calculate Median Absolute Deviationsmahapick module to select matching observations based on a Mahalanobis distance measuremail module to send progress reports (Mac OSX/Linux/Unix)majority module for majority calculations for real or hypothetical electionsmakeddi module to improve the quality and efficiency of meta-data documentation productionmakehlp module to automatically create a help filemakeid module to create a unique ID for every observation in the dataset.makematrix module to make a matrix of results from other commandsmaketex module to generate LaTeX code from a text filemalmq2 module to compute Malmquist Productivity Indexmap module to map string variables using an external dictionary filemapch module map chains of eventsmargdistfit module to check the distributional assumptions underlying a parametric regression modelmargeff module to compute average marginal effects for categorical and limited dependent variable modelsmargfx
module to compute mean marginal effects with nonlinear modelsmargin module to compute average marginal effects for categorical and limited dependent variable modelsmargintegrate module to estimate non-parametric smooth functions for generalized additive modelsmarglmean module to compute marginal log means from regression modelsmargprev module to compute marginal prevalences from binary regression modelsmarhis module to produce predictive margins and marginal effects plots with histogram after regress, logit, xtmixed and mixedmark_changes module to generate a variable indicating where one or more variables changes valuemarkdoc
module for literate programmingmarker module to generate indicator variable marking desired samplemarkov module to generate Markov probabilitiesmarkstat module to support literate data analysis using Stata and Markdownmarktouse module to mark the observations to be usedmat2txt module to write matrix to ASCII filematamatrix module to enable using Mata functions on Stata matricesmatchit module to match two datasets based on similar text patternsmatin4-matout4
-matout4 module to import and export matricesmatmap module to perform elementwise calculations for matricesmatnames module to return matrix row and column namesmatodd
modules to produce various matrix tasksmatpwcorr module to takes the output from pwcorr and creates the corresponding matricesmatrixof module to produce matrix or vector of results for paired or single variablesmatrixtools module to build, present and style Stata matricesmatsave module to save and load matricesmatsort module to sort a matrix by a given columnmatvsort module for sorting vectors or rows or columns of matricesmatwrite module to write Stata variables as MATLAB matricesmauchly module to compute Mauchly’s sphericity test for repeated measures ANOVA modelsmaxdrawdown module to calculate the maximum drawdown of a stock, fund or other financial productmbitobit module to fit bivariate Tobit regressionmbsens module to compute Sensitivity metric for matched sample using McNemar's testmc module to calculate a matched concordance indexmca module to perform multiple correspondence analysismcenter module to center variables at their meansmcib module to estimate income distribution and inequality statistics from grouped datamcl
module to estimate multinomial conditional logit modelsmcmccqreg module to perform simulation assisted estimation of censored quantile regression using adaptive Markov chain Monte Carlomcmclinear
module for MCMC sampling of linear modelsmcmcstats
module to compute convergence and summary statistics for MCMC estimationmcqscore module to score the Monetary Choice Questionnaire using logistic regressionmdensity module for univariate kernel density estimation, for variables or groupsmdepriv module to compute synthetic indicators of multiple deprivationmdesc module to tabulate prevalence of missing valuesmean2 module to make a table of estimate means with subpopulation differencesmeaning module to use internet search for the meaning for a word or phrasemedcouple module to compute medcouple measure of asymmetry and heaviness of the tailsmedian
module to perform the median testmediation
module for causal mediation analysis and sensitivity analysismedoid module to calculate medoidsmedsem module to perform mediation analysis using structural equation modellingmedsurv module to calculate the median survival time after Cox/Poisson regressionmehetprob module to compute marginal effects at means and their standard errors after hetprobmeloreg2 module to perform Minimum Expected Loss (MELO) Instrumental Variables Regressionmelt module to melt variables into a dataset containing aggregated data by variablemeoprobit module to compute marginal effects after estimation of ordered probitmequate module to calculate equating constants using the Mean/Mean and Mean/Sigma methodsmeresc module to rescale the results of mixed nonlinear probability modelsmergepoly module to merge adjacent polygons from a shapefilemerlin module to fit mixed effects regression for linear and non-linear modelsmeta_lr module to graph positive and negative likelihood ratios in diagnostic testmetaaggr
modules for meta-analysis of aggregate datametaan module to perform fixed- or random-effects meta-analysesmetabias module to test for small-study effects in meta-analysismetacum module to perform cumulative meta-analysis, with graphicsmetadata module to enable access to metadatametadialog
module to provide sub-menu and dialogs for meta-analysis commandsmetaeff module to perform effect sizes calculations for meta-analysesmetafrag module to compute the fragility index for meta-analysismetafunnel module to produce funnel plots for meta-analysismetagen module to perform meta-analysis of genetic-association studiesmetagraph module to draw Forrest plot after meta commandmetamiss module to perform meta-analysis with missing datametamiss2 module accounting for missing outcome data in meta-analysismetan module for fixed and random effects meta-analysismetandi module to perform meta-analysis of diagnostic accuracymetaninf module to evaluate influence of a single study in meta-analysis estimationmetaparm module to perform meta-analysis and transformations using parmest resultssetsmetapow module for simulation based sample size calculations for designing new clinical trials and diagnostic test accuracy studies to update an existing meta-analysismetapreg module to compute fixed and random effects meta-analysis and meta-regression of proportionsmetaprop module to perform fixed and random effects meta-analysis of proportionsmetaprop_one module to perform fixed and random effects meta-analysis of proportionsmetareg module to perform meta-analysis regressionmetatrend module to implement regression methods for detecting trends in cumulative meta-analysismetatrim module to perform nonparametric analysis of publication biasmfilegr module to view and save multiple graphs with filenames based on a numeric identifiermfpi module for modelling and displaying interactionsmfpigen module for modelling and displaying interactions between continuous predictorsmfpmi module to build multivariable fractional polynomial models in multiply imputed datamfx2 module to enhance mfx command for obtaining marginal effects or elasticities after estimationmgbe module to compute Multimodel Generalized Beta Estimatormgen module to apply generate to a matrixmgof module to perform goodness-of-fit tests for multinomial datamhl module to compute Hodges and Lehman (1963) robust measure of locationmhtexp module to perform multiple hypothesis testing correction proceduremi_impute_wlogit module to perform weighted multiple imputation for binary/categorical variables
"- mi_mvncat module to assign ""final"" values to (mvn) imputed categorical variables"mi_twoway module for computing scores on questionnaires containing missing item responsesmibmi module for cleaning and multiple imputation algorithm for body mass index (BMI) in longitudinal datasetsmice
module for multiple imputation of missing valuesmice7
module for multiple imputation of missing values (version 7)mict
module to provide Multiple imputation for Categorical Time-seriesmidas module for meta-analytical integration of diagnostic test accuracy studiesmif2dta module convert MapInfo Interchange Format boundary files to Stata boundary filesmiinc module to conduct multi-model inference using information criteriamim module to analyse and manipulate multiply imputed datasetsmimix module to perform reference based multiple imputation for sensitivity analysis of longitudinal clinical trials with protocol deviationmimrgns module to run margins after mi estimatemimstack module to stack multiply-imputed datasets into format required by mimminap module to calculate minimum average partial correlation for principal componentsmint module to examine across-groups equivalence of confirmatory factor analysis (CFA) measurement model parametersmiparallel
module to perform parallel estimation for multiple imputed datasetsmira module to compute Rubin's measure for multiple imputation regression analysismissing module to replace missing valuesmissingplot module to draw plot showing patterns of missing values in a datasetmissings module to manage missing valuesmisum module to calculate summary statistics in MI datasetmivif module to calculate variance inflation factors after mi estimate regressmixlogit module to fit mixed logit models by using maximum simulated likelihoodmixlogitwtp module to estimate mixed logit models in WTP spacemixmcm module to estimate finite mixtures of non-stationary Markov chain models by maximum likelihood (ML) and the Expectation-Maximization (EM) algorithmmixmixlogit module to estimate mixed-mixed multinomial logit modelmkbilogn module to create bivariate lognormal variablesmkcorr module to generate correlation table formatted for easy inclusion in articlesmkdat module providing easy SOEP retrievalsmkdensity module to graph kernel densities of several variablesmkern module to perform multivariate nonparametric kernel regressionmkest module to convert variables to estimates matrixmkprofile module to create or edit your 'profile.do'mkstrsn
modules to format Social Security number variablesmktab module to print table of estimates in delimited or screen-presentation formatmlboolean module to implement Boolean logit and probitmlcoint module to compute Johansen cointegration testsmlogitroc module to calculate multiclass ROC Curves and AUC from Multinomial Logistic Regressionmlogpred module to produce predicted probabilities after mlogit and svymlogmlowess module for lowess smoothing with multiple predictorsmlr2sls module for 2SLS estimation with multiple-LATEs robust standard error under treatment effect heterogeneitymlt module to provide multilevel toolsmm_regress
module to compute robust regression estimatesmmat2tex module to output Mata matrix as LaTeX tablemmeiv module to perform Multiple Marginal Effects IV Estimationmmerge module: Safer and easier to use variant of merge.mmodes module to calculate the mode for a numeric varlistmmqreg module to estimate quantile regressions via Method of Momentsmmsel module to simulate (counterfactual) distributions from quantile regressions (w/optional sample selection correction)mmsrm module to estimate Multidimensional Marginally Sufficient Rasch Model (MMSRM)mmws module to perform marginal mean weighting through stratificationmnthplot module for scatter plot for monthly data with repetition of datamod11 module to generate Chile's National Identification Number (RUT) check digit (DV) (modulo 11)modeldiag module to generate graphics after regressionmodlpr module to estimate long memory in a timeseriesmog module to produce one way or two way tables of means (or totals)mol module to evaluate literacy levelmoments module to compute moment-based statisticsmoments2 module to compute skewness and kurtosis measuresmoransi module to compute Moran's Imore_clarify
module to estimate quantities of interest through simulation and resampling methodsmoremata module (Mata) to provide various functionsmoreobs module to add observations to datasetmoss module to find multiple occurrences of substringsmotivate module providing motivation to usersmovavg module using Mata to generate Moving Averagesmovestay module for maximum likelihood estimation of endogenous regression switching modelsmpi module to compute the Alkire-Foster multidimensional poverty measures and their decomposition by deprivation indicators and population sub-groupsmplotoffset module to produce marginsplots with offset plotting symbolsmpovline module to calculate FGT0, FGT1 and FGT2 by intervals of multiple thresholdsmpr module for computing the Medication Possession Ratiomqgamma module to estimate quantiles of potential-outcome distributionsmrdum module to create dummy variables and summary table for multiple response datamrobust module to estimate model robustness and model influencemrprobit module to estimate probit with Misclassification of the Dependent Variablemrtab module to compute one- and two-way tables of multiple responsesmsdeco module to calculate the Mookherjee & Shorrocks (1982) over-time inequality decomposition by subgroupmsdirb module to create a dataset of file names from the output of a MS-DOS dir/b command (Windows only)mseffect module to estimate the mean effect size of (binary/multiple group) treatment on multiple outcomesmsp module to perform the Mokken Scale Proceduremsplot module for multiple median-spline plotsmss module to perform heteroskedasticity test for quantile and OLS regressionsmstdize module to produce marginal standardization of two-way tablesmstore module to Store and Retrieve Matrices with Datasetmtad module to perform Multinomial Test of Agglomeration and Dispersionmtebinary module to compute Marginal Treatment Effects (MTE) With a Binary Instrumentmtefe module to compute marginal treatment effects with factor variablesmtemore module to compute Marginal Treatment Effects (MTE) With a Binary Instrumentmtreatreg module to fits models with multinomial treatments and continuous, count and binary outcomes using maximum simulated likelihoodmulogit module to calculate multivariate and univariate odds ratios in logistic regressionmultencode module to encode multiple string variables into numericmultibar module to produce bar and dot graphs for use with overlapping over() categoriesmultidot module for multiple panel dot charts and similarmultif module to construct multiple if-restrictions with the same value for different variablesmultiline module for multiple panel line plotsmultimport module to import multiple non-Stata datafiles into memory, appending them automaticallymultipurt module to run 1st and 2nd generation panel unit root tests for multiple variables and lagsmultishell module to allot do files and variations of loops across parallel instances of Windows Stata and computers efficientlymultistate
module to perform multi-state survival analysismundlak module to estimate random-effects regressions adding group-means of independent variables to the modelmuxplot module to produce scatter plots with y versus multiple x variablesmuxyplot module to produce scatter plots with multiple x and y variablesmvcorr module to generate moving-window correlation or autocorrelation in time series or panelmvfiles module to provide a convenient way to move/copy matched files from a specified input directory (also including, if wanted, additionally recursively matched subsets of files within distinctly matched offspring-directories) to a specified output directorymvmeta module to perform multivariate random-effects meta-analysismvnxpb
module for computation of multivariate normal probabilities using bivariate conditioningmvport module for Collection, Optimization and Backtest of Financial Portfoliosmvprobit module to calculate multivariate probit regression using simulated maximum likelihoodmvsamp1i module to determine sample size and power for multivariate regressionmvsampsi module to determine sample size and power for multivariate regressionmvsktest module to test for multivariate skewness and kurtosismvsumm module to generate moving-window descriptive statistics in time series or panelmvtest module to perform multivariate F testsmvtnorm module to work with the multivariate normal and multivariate t distributions, with and without variable truncationmvtobit module to calculate multivariate tobit models by simulated maximum likelihood (SML)mycd10 module to process ICD-10 diagnosis and procedure codesmydatelabels module to generate axis labels with a label every time a component changesmylabels module for axis labels or ticks on transformed scales or for daily datesmypkg module to inform on packages installed over net
nb_adjust module to identify and adjust outliers of a variable assumed to follow a negative binomial distributionnbercycles module to generate graph command (and optionally graph) timeseries vs. NBER recession datingnbfit module for fitting negative binomial distribution by maximum likelihoodnbinreg module to estimate negative binomial regression modelsnbstrat module to estimate Negative Binomial with Endogenous Stratificationncf modules related to the noncentral F distributionnct modules related to the noncentral t distributionndbci module extending ci for single variable with exposure time.nearest module to calculate nearest neighbours from point coordinatesnearmrg module to provide nearest-match merging of datasetsnearstat module to calculate distance-based variables and export distance matrix to text filenehurdle module for estimation of models with corner solutionsneoclassical module to estimate neoclassical education transitions modelnetplot module to provide social network visualizationnetreg module to perform linear regression of a network response with the exchangeable assumptionnetwork module to perform network meta-analysisnewey2 module to extend newey (HAC covariance estimation)newsimpact module to compute news impact curve for ARCH modelsnext module to perform regression discontinuityngram module to provide n-gram feature extractornharvey module to perform Nyblom-Harvey panel test of common stochastic trendsnicedates module for nice dates, especially for time series graphsniceest module to export regression table to excelniceloglabels module to produce nice axis labels for logarithmic scalesnjc_stuff module documenting Stata programs and help files by Nicholas J. Coxnlcheck module to check linearity assumption after model estimationnlcorr module to compute correlation metric for cross-sample comparisons using non-linear probability modelsnmissing module to show numbers of missing or present valuesnnest module to perform J test and Cox-Pesaran-Deaton test for nonnested modelsnnipolate module for nearest neighbour interpolationnnmatch module to compute nearest-neighbor bias-corrected estimatorsnonparmde module to calculate the minimum detectable effect in randomized experimentnopomatch module to implement Nopo's decompositionnorm module to normalize variablesnormalbvr module to generate Normal bivariate riditsnormalrir module to calculate ridits of inverse ridits between Normal populationsnormtest module to perform tests of univariate kurtosis and skewnessnpinfo module to merge network-based nodal characteristicsnpiv module to perform Nonparametric instrumental-variable regression on a scalar endogenous regressornproc module to produce nonparametric receiver operating curvesnpseries module to perform Nonparametric Power Series Estimationnpss module to estimate nonparametric heteroskedastic state space modelsnpsynth module to implement Nonparametric Synthetic Control Methodnrow module to rename variables as their nth-row valuesnruns module to compute number of runs compared with random shufflesnsplit module to split numeric variable into componentsnstage module for multi-arm, multi-stage (MAMS) trial designs for time-to-event outcomesnstagebin module to perform sample size calculation for multi-arm multi-stage randomised controlled trials with binary outcomesnstagebinopt module to compute admissible multi-arm multi-stage trial designs with binary outcomesntreatreg module for estimation of treatment effects in the presence of neighbourhood interactionsnum2base26 module to provide an interface to Mata's numtobase26() functionnumdate module to generate date-times or componentsnvars module to count the number of variablesnw_fromlist module to build a network from a list of long-form datanw_projection module to project a bipartite network into one of its two dimensionsnw_wcc module to calculate Weighted Clustering Coefficients (WCC) in Complex Direct Networksnwannd
module to compute ANND (average nearest neighbor degree) and related measuresnwcluster module to compute the clustering coefficient of a network's verticesnwdisparity module to calculate the disparity of a network's nodesnwind module to compute Newey-Windmeijer VCE after ivreg2 GMM-CUE estimationnwreciprocity module to calculate reciprocity metrics for (weighted) directed networksnwstrengthcent
module to compute Freeman's centrality index (1979) for strength centralitynysiis module to calculate nysiis codes from string variablesnytimes module to display top news stories from the New York Times
oaxaca module to compute the Blinder-Oaxaca decompositionoaxaca8 module to compute decompositions of outcome differentialsoaxaca9 module to compute the Blinder-Oaxaca decompositionobsdiff module to identify differences in values across observations for a variableobsofint module to display observations of interestocratio modules to fit continuation-ratio models on ordinal response dataoda module for conducting Optimal Discriminant Analysisoddsrisk module to convert Logistic Odds Ratios to Risk Ratiosodi module to score Oswestry Disability Indexodksplit module to split and label multiple response variables generated from ODK or SurveyCTOoeratio module to calculate ratio of observed to expected outcomesoesch module to recode ISCO codes into Oesch class schemeofrtplot module to plot observed, fitted and residuals versus time variableoglm module to estimate Ordinal Generalized Linear Modelsoglm9 module to estimate Ordinal Generalized Linear Modelsomninorm module to calculate omnibus test for univariate/multivariate normalityomodel modules to perform tests on ordered probit and ordered logit modelsonemode module to produce one-mode projections of a bipartite networkonespell module to generate single longest spell for each unit in panel data, listwiseoparallel module providing post-estimation command for testing the parallel regression assumptionopenall module to open all specified files with appendopencagegeo module for forward and reverse geocoding using the OpenCage Geocoder APIoplabdata module to load data from the Equality of Opportunity Projectopplot module to generate a vertical bar chart to summarize a binary outcome in cluster survey dataoprobpr module to display predicted probabilities from ordered probit and logitoptaspect module to compute heuristic criteria for optimal aspect ratios in a two-variable line plotoptifact module to find the best summated rating scale from a list of itemsordplot module for cumulative distribution plot of ordinal variableordvar module to calculate measures of ordinal consensus and dispersionorse module to save odds ratios and their standard errors after logit, ologitorth_out module to automate and export summary stats/orthogonality tablesorthog module to orthogonalize variablesosort module to reorder variable(s) and sort dataoutdat module to export data to other statistical packagesoutfix
module to produce fixed format output (version 5)outfix2 module to output formatted dataoutfixt module to write fixed-format text fileoutreg module to write estimation tables to a Word or TeX fileoutreg2 module to arrange regression outputs into an illustrative tableoutreg5 module to format regression output for published tablesoutseries module to write timeseries to text filesoutsum module to write formatted descriptive statistics to a text fileouttable module to write matrix to LaTeX tableouttex module to LaTeX code for result tables after any estimation commandoutwrite module to consolidate multiple regressions and export the results to a .xlsx, .xls, .csv, or .tex fileovbd module to generate correlated random binomial dataoverdisp module to detect overdispersion in count-data models using Stataoverfit module to calculate shrinkage statistics to measure overfitting as well as out- and in-sample predictive biasoverid module to calculate tests of overidentifying restrictions after ivreg2, ivreg29, ivregress, ivprobit, ivtobit, reg3overlay module to overlay multiple x vs y graphsovfplot module for plots of observed vs fitted
p2ci module to calculate confidence limits of a regression coefficient from the p-valuepagetrend module to perform Page's L trend test for ordered alternativespairdata module to create paired datasets from individual-per-row datapairplot module for plots of paired observationspajek2stata module to import network data in Pajek's .net formatpalette_all module to display all the named colours in Statapalettes module to provide color palettes, symbol palettes, and line pattern palettespam Module to Estimate Policy Analysis Matrix (PAM)panelauto
module to support tests for autocorrelation on panel datapanelhetero
module to examine the degree of heterogeneity across cross-sectional units using panel datapanell module to display panel length for a given set of variablespanels module to count panels and apply a command to panel unitspanelthin module to identify observations for possible thinned panel datasetpanelunit
module to support unit root tests on panel datapantest2
module to perform diagnostic tests in fixed effects panel regressionsparagr module for parallel graphing of a coefficient across different equationsparamed module to perform causal mediation analysis using parametric regression modelsparan module to compute Horn's test of principal components/factorsparetofit module to fit a Type 1 Pareto distributionparmest module to create new data set with one observation per parameter of most recent modelparmhet module to produce heterogeneity tests in parmest resultssetsparmparse module to parse a parameter name variable in a parmest resultssetparplot module for parallel coordinates plotsparseloc module to extract coordinates from a geolocation variable generated by Survey Solutionsparseuas module to extract detailed information from user agent stringspartchart module to automatically output participant characteristics table in a variety of formatspartgam module to calculate partial gamma coefficientpartpred module to generate partial predictionsparttau module to calculate Kendall's partial tau and confidence intervalpascal module to draw Pascal's trianglepath module to support file path manipulationpathof module to return the absolute path of any parent directory of the current working directorypathutil module to support file path manipulationpaverage module to calculate p-period-average series in a panel datasetpayper module to compute the periodic payment and the entire schedule of a loan or annuitypbeta module to generate probability plot for data compared with fitted beta distributionpbreg module to fit the Preece and Baines (1978) family of growth curves and age, height, and velocity at peak height velocitypca2 module to apply Principal Component Analisys (PCA) to standard and GMM-style instrumental variablespcacoefsave module to save results of PCA to new datasetpcdsearch module to extract code lists from primary care databasespchipolate module for piecewise cubic Hermite interpolationpciplot module to plot pointwise confidence intervalspcmdif module to for diagnosing and considering a potential differential item functioning (DIF) when analysing patient reported outcomes using partial credit modelspcmodel module to estimate parameters of a Partial Credit Model or a Rating Scale Model by MMLpcmtest module to test the fit of a Partial Credit Model or a Rating Scale Model estimated using pcmodelpcontract module to make a data set of frequencies and percentagespcorr2 module to display partial and semipartial correlation coefficientspcorrmat module to compute partial correlation coefficients controlled for a fixed set of covariatespcpanel module to perform power calculations for randomized experiments with panel data, allowing for arbitrary serial correlationpctrim module to trim variables based on percentilespdc module for computing the Proportion of Days Covered (of a medication)pdplot module to produce Pareto dot plotpdslasso module for post-selection and post-regularization OLS or IV estimation and inferencepeerreview module to randomly assign papers to peers for reviewpem Module to Estimate Partial EquiLibrium Model (PEM)percat module to perform percentile-based categorisationpercentmatch module to calculate the highest percentage match (near duplicates) between observationspercom
module to create permutations and combinationspersonage module to calculate people's ages or similar daily date differencesperturb module to evaluate collinearity and ill-conditioningpescadf module to perform Pesaran's CADF panel unit root test in presence of cross section dependencepetpoisson module to estimate an Endogenous Participation Endogenous Treatment Poisson model by MSLpexp module to produce probability plot for data compared with fitted exponential distributionpfs module to predict Financial Skill scale scores from CFPB survey instrumentpfwb module to predict Financial Well-Being scale scores from CFPB survey instrumentpgamma module to generate probability plot for data vs fitted gamma distributionpgmhaz8 module to estimate discrete time (grouped data) proportional hazards modelsphenotype module to simulate disease status and censored age for family datapiaactools
module to provide PIAAC toolspieplot module to plot pie charts of categorical frequenciespindex module to compute targeted price indicespisareg module to perform linear regression with PISA data and plausible valuespisatools
module to facilitate analysis of the data from the PISA OECD studyplausexog module to implement Conley et al's plausibly exogenous boundsplot3d
module to draw colored, scalable, rotatable 3D plotsplotbeta module to plot linear combinations of coefficientsplotmatrix module to plot values of a matrix as different coloured blocksplotrpys module to plot a spectrogram using CSV export from CRExplorerpls module to calculate composite variables using the partial least squares path modeling (PLS) algorithmplssas module to execute SAS partial least squares procedure (Windows only)plssem module to implement Partial least squares structural equation modelling (PLS-SEM)plztowknr module to translate German zip codes into electoral districtspmanage
module to manage large projectspmcalplot module to produce calibration plot of prediction model performancepmsampsize module to calculate the minimum sample size required for developing a multivariable prediction modelpng2rtf module to include PNG graphics in RTF documentspnrcheck module to verify the check digit in Swedish personal identification numberpoi2hdfe module to estimate a Poisson regression with two high-dimensional fixed effectspoisml module to estimate maximum likelihood Poisson regression modelspolar module to plot polar coordinatespolyspline module to generate sensible bases for polynomials and other splinespoparms module for potential outcome parameter estimationpopsim module to simulate completed fertility and birth intervals for two generationspostrcspline module containing post-estimation commands for models using a restricted cubic splinepostrri module to calculate posterior relative riskspovcalnet module to access World Bank Global Poverty and Inequality measurespovdeco module to calculate poverty indices with decomposition by subgrouppoverty module to calculate poverty measurespovguide module to generate the U.S. Poverty Guideline value for a given family size and yearpovimp module to provide poverty estimates in the absence of actual consumption datapovtime module to compute aggregate intertemporal poverty measures (poverty in a panel accounting for time)power_tworates_zhu module to calculate sample size or power for a two-sample test of ratespowercal module to perform general power and sample size calculationspowerclus module to calculate sample size and/or cluster size for cluster designed studiespowerq module to calculates posterior probabilities for heterogeneity in a meta-analysispowersim module for simulation-based power analysis for linear and generalized linear modelsppml module to perform Poisson pseudo-maximum likelihood estimation
"- ppml_panel_sg module to estimate ""structural gravity"" models via Poisson PML"ppmlhdfe module for Poisson pseudo-likelihood regression with multiple levels of fixed effectsppschromy module to draw sample with probability proportionate to size, using Chromy's method of sequential random samplingppssampford module to draw sample with probability proportionate to size, without replacement, using Sampford's methodpre module to calculate the proportional reduction in errors accomplished by an estimated modelpredcalc module to calculate out-of-sample predictions for regression, logisticpredsurv module to compute predicted survival to a specified time after stregpredxcat module to calculate predicted means, medians, or proportions for nominal X'spredxcon module to calculate predicted means, medians, or proportions for a continuous X variableprepar module to write code and data file needed to process variables in PARSCALEpreparation module to facilitate a one-by-one observation of varlist to make it easier to control data and labelsprimes module to generate prime numbersprintgph module to execute command for each matching fileprobcalc module to calculate probabilities for Binomial, Poisson, and Normal Distributionsprobexog-tobexog
-tobexog modules to test exogeneity in probit/tobitprobitfe module to compute analytical and jackknife bias corrections for fixed effects estimators of panel probit models with individual and time effectsprobitiv
module to perform instrumental variables probitprobitmiss module for Efficient Probit Estimation with Partially missing Covariatesprodest module for production function estimation based on the control function approachprodvars module to create product variables for two lists of input variablesprody module to calculate factor intensity and sophistication indicatorsprofhap module to construct profile likelihood confidence intervals for haplotype analysisprogres module to measure distributive effects of an income taxproject module providing a set of tools to build and manage a Stata projectprolist module to list programs, help files, dialogspropcnsreg module fitting a measurement model with causal indicatorsproprcspline module for restricted cubic spline smoothing of proportionsprosperity module to compute Shared Prosperity Convergence Indexprtab module to compute Precision-recall curvesprwe module to calculate the PRWE scores from your recordspsacalc module to calculate treatment effects and relative degree of selection under proportional selection of observables and unobservablespsbayes module to perform pseudo-Bayes smoothing of cell estimatespsemail module to send email from within Stata for Windows environmentpsestimate module to estimate the propensity score proposed by Imbens and Rubinpshare module to compute and graph percentile sharespsidtools module to facilitate access to Panel Study of Income Dynamics (PSID)psiduse module providing easy PSID accesspsmatch2 module to perform full Mahalanobis and propensity score matching, common support graphing, and covariate imbalance testingpspline module providing a penalized spline scatterplot smoother based on linear mixed model technologypstrata module for optimal propensity score stratificationpsweight module to perform IPW- and CBPS-type propensity score reweighting, with various extensionsptrend module for trend analysis for proportionsptvtools module contining various tools for PTV analysispunaf module to compute population attributable fractions for cohort studies