Escolar Documentos
Profissional Documentos
Cultura Documentos
2016 Choosing the Correct Statistical Test in SAS, Stata and SPSS
Help the Stat Consulting Group by giving a gift
interval &
onesample ttest SAS Stata SPSS R
normal
ordinal or onesample
SAS Stata SPSS R
interval median
0 IVs (1 population)
categorical (2
binomial test SAS Stata SPSS R
categories)
Chisquare
categorical SAS Stata SPSS R
goodnessoffit
interval & 2 independent
SAS Stata SPSS R
normal sample ttest
ordinal or WilcoxonMann
1 IV with 2 levels SAS Stata SPSS R
interval Whitney test
(independent groups)
Chisquare test SAS Stata SPSS R
categorical Fisher's exact
SAS Stata SPSS R
test
interval &
oneway ANOVA SAS Stata SPSS R
normal
1 IV with 2 or more levels
ordinal or
(independent groups) Kruskal Wallis SAS Stata SPSS R
interval
interval &
paired ttest SAS Stata SPSS R
1 IV with 2 levels normal
oneway
interval & repeated
SAS Stata SPSS R
normal measures
1 ANOVA
1 IV with 2 or more levels ordinal or
Friedman test SAS Stata SPSS R
(dependent/matched interval
groups) repeated
measures
categorical logistic SAS Stata SPSS R
regression
http://www.ats.ucla.edu/stat/mult_pkg/whatstat/ 1/3
15.06.2016 Choosing the Correct Statistical Test in SAS, Stata and SPSS
interval &
factorial ANOVA SAS Stata SPSS R
normal
factorial logistic
categorical SAS Stata SPSS R
regression
interval &
correlation SAS Stata SPSS R
normal
interval & simple linear
SAS Stata SPSS R
normal regression
1 interval IV
ordinal or nonparametric
SAS Stata SPSS R
interval correlation
simple logistic
categorical SAS Stata SPSS R
regression
multiple
SAS Stata SPSS R
interval & regression
normal analysis of
1 or more interval IVs SAS Stata SPSS R
covariance
and/or 1 or more
multiple logistic
categorical IVs SAS Stata SPSS R
regression
categorical
discriminant
SAS Stata SPSS R
analysis
multivariate
interval &
2+ 2+ multiple linear SAS Stata SPSS R
normal
regression
interval &
0 factor analysis SAS Stata SPSS R
normal
interval & canonical
2 sets of 2+ 0 SAS Stata SPSS R
normal correlation
This page was adapted from Choosing the Correct Statistic developed by James D. Leeper, Ph.D. We thank Professor Leeper for permission to adapt and
distribute this page from our site.
1Technically, it is the residuals from these analyses that should be normally distributed; it does not matter if the dependent variable is normally distributed or
not.
How to cite this page Report an error on this page or leave a comment
The content of this web site should not be construed as an endorsement of any particular web site, book, or software product by the University of California.
http://www.ats.ucla.edu/stat/mult_pkg/whatstat/ 2/3
15.06.2016 Choosing the Correct Statistical Test in SAS, Stata and SPSS
© 2016 UC Regents
Terms of Use & Privacy Policy
http://www.ats.ucla.edu/stat/mult_pkg/whatstat/ 3/3