Choosing the Right Statistical Test for Thesis Hypotheses: A Decision Tree With Examples
Pearson or Spearman? Independent t or Mann-Whitney? ANOVA or Kruskal-Wallis? Four simple questions pick the test for each hypothesis: the type of hypothesis, the level of measurement, independent or paired groups, and normality. With a full table, effect sizes, post-hoc tests and five common mistakes.
Most students get stuck in chapter 4 not on the calculation but on the choice of test: "Pearson or Spearman for this hypothesis?", "I have three groups — do I run three t-tests?", "My data aren't normal, now what?". Choosing a test isn't a matter of taste; answer four questions and there is almost always one right answer left. In short:
- Is the hypothesis about a relationship or a difference?
- What is each variable's level of measurement: nominal, ordinal or quantitative?
- For a difference: how many groups, and are they independent, or were the same people measured twice?
- Are the data normal, and are the group variances equal?
The table at the end puts every case side by side. If you want these decisions made automatically on your own data, with the reason written next to each choice, see the thesis statistical analysis service.
Question 1: relationship or difference?
Almost every questionnaire hypothesis can be rewritten in one of two forms:
- Relationship: "There is a significant relationship between X and Y." Example: "Perceived organizational support is related to employees' organizational commitment." Both variables are measured on every respondent, and the question is whether they rise and fall together.
- Difference: "Y differs significantly across the groups of G." Example: "Job satisfaction differs by level of education." Here G is the grouping variable (nominal or ordinal with a few levels) and Y is the variable whose mean or rank is compared.
A hypothesis such as "organizational support affects commitment" is, in a cross-sectional survey, still a relationship hypothesis; cross-sectional data do not show causation. When several variables predict Y together ("leadership style, pay and work climate affect job satisfaction"), multiple regression fits better than several separate correlations.
Question 2: level of measurement
| Level | Definition | Questionnaire example | Role in the test |
|---|---|---|---|
| Nominal | Categories only, no order | Gender, field of study, marital status | Grouping variable; two nominal variables = chi-square |
| Ordinal | Ordered categories, unknown spacing | Degree level, a single Likert item | Grouping, or the variable in rank tests (Spearman, Mann-Whitney) |
| Quantitative (interval or ratio) | Numbers with meaningful spacing | Age, years of experience, a construct's total score | Variable for parametric tests when roughly normal |
A construct score built as the mean or sum of several Likert items is, in social-science practice, treated as quantitative; a single item on its own is ordinal. Before building construct scores, reverse the negatively worded items and check reliability; the method is in analyzing Likert data in Excel and SPSS and questionnaire validity and reliability.
Question 3: how many groups, independent or paired?
- Two independent groups: each respondent belongs to only one group (women and men, public and private sector).
- Three or more groups: for example associate, bachelor's and master's degrees. Running three t-tests inflates the type I error (with three comparisons at .05, the chance of at least one chance "significant" result rises to about 14%); you need one overall test followed by a post-hoc test.
- Paired (dependent): the same people measured twice, such as a pre-test and post-test around a training course. Each person's change is analyzed, not the difference between two groups.
Question 4: normality and equal variances
Parametric tests (Pearson, t-tests, ANOVA) assume the variable being compared is roughly normal. Two common tests of that assumption:
- Kolmogorov-Smirnov with the Lilliefors correction: the one SPSS shows next to Shapiro-Wilk in its "Tests of Normality" table. The uncorrected version, when the mean and standard deviation are estimated from the data, declares "normal" far too often.
- Shapiro-Wilk: more powerful for small and medium samples, and many guides prefer it below a few hundred cases.
If p is below .05, normality is rejected. Two important points: for a difference hypothesis, check normality within each group, not in the whole sample; and in very large samples, tiny, unimportant deviations also become significant, so look at skewness and kurtosis too (a common rule of thumb: both between −2 and +2).
When comparing groups, equality of variances is checked with Levene's test. If Levene is significant (unequal variances), report Welch's t instead of the classic t-test and Welch's ANOVA instead of the classic ANOVA; the "Equal variances not assumed" row in SPSS is Welch's t.
The full table: which test for which hypothesis?
| Hypothesis | Normal data | Non-normal or ordinal data | Effect size | Post-hoc test |
|---|---|---|---|---|
| Relationship between two quantitative variables | Pearson correlation | Spearman correlation | r or rho | — |
| Predicting Y from one or more variables | Simple or multiple linear regression | — | R², standardized beta | — |
| Difference between two independent groups | Independent t (Welch if Levene is significant) | Mann-Whitney | Cohen's d or r | — |
| Difference among three or more groups | One-way ANOVA (Welch if Levene is significant) | Kruskal-Wallis | Eta squared or epsilon squared | Tukey, Games-Howell or Dunn with Bonferroni |
| Two measurements on the same people | Paired t | Wilcoxon | Cohen's d or r | — |
| Relationship between two nominal variables | Chi-square | Chi-square | Cramér's V | — |
In regression, the normality assumption concerns the residuals, not the variables themselves; check multicollinearity among predictors with VIF. In a chi-square test, if more than 20% of the cells have an expected count below 5, the result is unreliable and categories should be merged.
Post-hoc tests: which groups differ?
A significant ANOVA only says "at least two groups differ", not which ones. To find out:
- Tukey: when variances are equal.
- Games-Howell: when Levene is significant and you reported Welch.
- Dunn with the Bonferroni correction: pairwise comparisons after Kruskal-Wallis.
If the overall test is not significant, don't use post-hoc tests to go "looking" for a difference.
Put the effect size next to p
p only says a difference or relationship is probably not due to chance; it does not say how large it is. With 1,000 respondents even a correlation of .07 is significant, yet it means almost nothing in practice. Cohen's common benchmarks:
| Index | Small | Medium | Large |
|---|---|---|---|
| Cohen's d | 0.2 | 0.5 | 0.8 |
| r (correlation, or r = Z/√N in rank tests) | 0.1 | 0.3 | 0.5 |
| Eta squared | 0.01 | 0.06 | 0.14 |
These cut-offs are conventions and each field has its own norms, but leaving out the effect size draws criticism in most reviews today.
A complete example
Hypothesis: "Employees' job satisfaction differs across three education levels (high-school diploma, bachelor's, master's and above)."
- Type: difference. Y = the job satisfaction construct score (quantitative), G = education with three levels, independent groups.
- Normality in each of the three groups with Shapiro-Wilk: if all three p values are above .05, take the parametric route.
- Levene: if not significant, one-way ANOVA and, if significant, Tukey; if Levene is significant, Welch and Games-Howell.
- If one group is not normal and that group is small: Kruskal-Wallis and Dunn-Bonferroni.
- Report: the statistic, degrees of freedom, p, the effect size and a sentence saying whether the hypothesis was supported. A sample write-up of this section is in how to write thesis chapter 4, with a sample.
Five common mistakes
- Several t-tests instead of ANOVA. The type I error adds up.
- Normality of the whole sample for a difference hypothesis. It must be checked within each group.
- Pearson on a single item. Spearman suits an ordinal variable better.
- Writing p = 0.000. A probability of zero does not exist; write p < .001.
- "The hypothesis was proven". A statistical test proves nothing; write "the hypothesis was supported".
Frequently asked questions
If my data aren't normal, must I use a nonparametric test?
Not always. With large groups (usually more than 30 per group), t-tests and ANOVA are robust to moderate departures from normality. With small groups, strong skew or outliers, a nonparametric test is safer. Whatever you choose, state the reason in the text.
Should I report Kolmogorov-Smirnov or Shapiro-Wilk?
You can report both; SPSS shows them side by side. For small and medium samples Shapiro-Wilk is more powerful. If the two disagree, rely on Shapiro-Wilk and a plot of the data.
Is a five-point Likert item quantitative or ordinal?
A single item is ordinal; a construct score built from several items is usually treated as quantitative. If a hypothesis concerns one item, prefer rank-based tests.
Can I trust automatic test selection?
The decision tree is the same set of rules described here, and in thesis statistical analysis the reason for each choice is written next to it. But your research design and your supervisor's view come first, which is why the test can be changed by hand.