Skip to Main Content

Useful non-UCLA Stata programs

These are useful Stata programs from around the world We assume
that you are running Stata and have the most up to date version of Stata (i.e.,
that you have run the update all command recently)  A number of these programs are from the Stata Technical Bulletin
(STB) courtesy of, and Copyright, Stata Corporation

ANOVA tools

anovaplot
Plots of ANOVA fit, including interaction plots (SJ-4-4/gr0009)
search anovaplot
prcomp
Pairwise comparisons of means, including the Tukey wsd
(STB47/sg101)
net from http://wwwstatacom/stb/stb47
net install sg101

Correlation and regression tools

boxtid
Box-tidwell and exponential regression models
search boxtid
indexplot
index plots after estimation
ssc install indexplot
regmsng
Multiple regression with missing observations for some variables
view net install regmsng, from(“http://digital.cgdev.org/doc/stata/MO/Misc”)

Logistic, poisson, and negative binomial regression tools

gologit2
module to estimate generalized ordered logit models (SJ-6-1/st00-7)
ssc install gologit2
meanscor
Mean score method for missing
covariate data in logistic regression (STB58/sg156)
net from from http://wwwstatacom/stb/stb58
net install sg156
predcalc
module to calculate out-of-sample
predictions for regression, logistic (STB58/sg157)
ssc install predcalc

spostado

 

 

Survey data analysis

corr_svy
Correlation tables for survey data
ssc install corr_svy
survwgt
Survey sampling weights: adjustment and replicate weight creation
ssc install survwgt
svypxcat
Predicted means or proportions for nominal predictors for survey data
ssc install svypxcat
svypxcoc
Predicted means or proportions for a continuous predictor for survey
data
ssc install svypxcon

Data management tools

labedit
A labels editor for Windows and Macintosh (STB51/dm561)
net from http://wwwstatacom/stb/stb43
net install dm56
listblck
How can I list observations in blocks? (STB50/dm68)
net from http://wwwstatacom/stb/stb50
net install dm68
labutil
Modules for managing value and variable labels
ssc install labutil

Other data analysis tools

clarify
Software to Interpret and Present Statistical
Results (see documentation)
net from http://gkingharvardedu/clarify/
net install clarify
estout
Make regression tables that look like those in journal articles (SJ-5-3/st0085)
search estout
gllamm
Estimates generalized linear latent and mixed models
ssc install gllamm
ice
Multiple imputation for missing data (SJ-5-4/st0067_2)
search ice
iqr
Inter-quartile range, including outliers
search iqr
mvpatterns
Displays the missing value patterns
search mvpatterns
npresent-nmissing
Can I quickly see how many missing/nonmissing values a variable has?
(SJ-5-4/dm67_3)
ssc install nmissing
outreg
Can I make regression tables that look like those in
journal articles?
(STB59/sg973)
ssc install outreg
runmlwin
Runs MLwiN via Stata
search runmlwin
http://www.bristol.ac.uk/cmm/software/runmlwin/
tab3way
Cross-tabulates three variables and displays any combination of cell
frequencies, cell percents, row percents and column percents
ssc install tab3way
univar
 How can
I get descriptive statistics and the five number summary on one line?

(STB51/sg671)
net from http://wwwstatacom/stb/stb51
net install sg67_1