2010年9月27日 星期一

What statistical analysis should I use?


Number of
Dependent
Variables

Nature of
Independent
Variables

Nature of Dependent
Variable(s)

Test(s)

How to
SAS
How to
Stata
How to
SPSS

1

0 IVs
(1 population)

interval & normal

one-sample t-test

SASStataSPSS

ordinal or interval

one-sample median

SASStataSPSS

categorical
(2 categories)

binomial test

SASStataSPSS
categorical

Chi-square goodness-of-fit

SASStataSPSS

1 IV with 2 levels
(independent groups)

interval & normal

2 independent sample t-test

SASStataSPSS

ordinal or interval

Wilcoxon-Mann Whitney testSASStataSPSS

categorical

Chi- square test

SASStataSPSS
Fisher's exact testSASStataSPSS

1 IV with 2 or more levels (independent groups)

interval & normal

one-way ANOVA

SASStataSPSS

ordinal or interval

Kruskal Wallis

SASStataSPSS

categorical

Chi- square test

SASStataSPSS

1 IV with 2 levels
(dependent/matched groups)

interval & normal

paired t-test

SASStataSPSS

ordinal or interval

Wilcoxon signed ranks test

SASStataSPSS

categorical

McNemar

SASStataSPSS

1 IV with 2 or more levels
(dependent/matched groups)

interval & normal

one-way repeated measures ANOVA

SASStataSPSS

ordinal or interval

Friedman test

SASStataSPSS

categorical

repeated measures logistic regression

SASStataSPSS

2 or more IVs
(independent groups)

interval & normal

factorial ANOVA

SASStataSPSS

ordinal or interval

???

?????????

categorical

factorial
logistic regression

SASStataSPSS

1 interval IV

interval & normal

correlation

SASStataSPSS

simple linear regression

SASStataSPSS

ordinal or interval

non-parametric correlation

SASStataSPSS

categorical

simple logistic regression

SASStataSPSS
1 or more interval IVs and/or
1 or more categorical IVs
interval & normal

multiple regression

SASStataSPSS
analysis of covarianceSASStataSPSS

categorical

multiple logistic regression

SASStataSPSS
discriminant analysisSASStataSPSS

2 or more

1 IV with 2 or more levels
(independent groups)

interval & normalone-way MANOVASASStataSPSS

2 or more

2 or more

interval & normal

multivariate multiple linear regression

SASStataSPSS

2 sets of
2 or more

0

interval & normal

canonical correlation

SASStataSPSS

2 or more

0

interval & normal

factor analysis

SASStataSPSS

Number of
Dependent
Variables

Nature of
Independent
Variables

Nature of Dependent
Variable(s)

Test(s)

How to
SAS
How to
Stata
How to
SPSS