This section is help to determine what test to perform when. It is only to be used as a
rough guideline and is accurate most of the time but not always. In particular, the case of
a small sample this section could be misleading. This section will aid greatly in
understanding why and when a statistician may perform certain statistical tests. It is the
opinion of the author that often it is important to consult a statistician and that most if
not all introductory courses are not enough for a researcher to lead the statistical aspects
of the project.
What to do when is mainly determined by the number of variables and the type of
variables you are working with. Yes, it is often this simple, for the general situation. It is
necessary to check assumptions but below is a starting point.
First off, what is the number of variables and the type of variable(s):
- One variable: categorical
- One variable: continuous
- Two variables: categorical and categorical
- Two variables: categorical and continuous
- Two variables: continuous and continuous
- Multiple variables: Continuous dependent
- Multiple variables: Categorical dependent (beyond the scope of this text)
- Exception: Time series data - use time series techniques
- Categorical
- Two Categories
- Binomial Test or Z approximation for test of proportions
- More than two categories
- Continuous
- Categorical and Categorical
- Two Categories For Each Variable
- If one or two sided test: Two Sample Z-test of proportions
- If two sided test: Chi-Square test
- More than two categories for at least one of the variables.
- Categorical and Continuous
- Two Categories
- Two sample t-test
- Paired t-test (if data is paired)
- More than two Categories
- Continuous and Continuous
- Correlation and simple linear regression
- Multiple variables: Continuous dependent
- Multiple variables: Categorical dependent (beyond the scope of this text)
- Two Categories
- More than two Categories
- Time series data - use time series techniques