Blog
How To Choose The Right Statistical Test For Your Final Year Project
Your data is collected, your questionnaire responses are in a spreadsheet, and now your supervisor asks the question every final year student dreads. Which statistical test did you use, and why that one and not another? The short answer is that the test follows from your research question and your data, not from habit or from what a friend used. If you can answer four plain questions about your study, the right test usually picks itself. This guide explains those four questions, the tests final year students use most often, and the mistakes that cost marks in Chapter Four.
Why the Right Test Matters
Every statistical test answers one specific kind of question about one specific kind of data. A t-test compares the average scores of two groups. A chi-square test checks whether two categories are related. A correlation measures how two numbers move together. Use the wrong one and your result means nothing, even if the software gives you a neat p-value. Worse, your examiner will notice. At the defence, "why this test?" is one of the most common questions, and "because my friend used it" is not an answer.
There is good news. You do not need to memorise every test in statistics. Undergraduate projects in Nigerian universities almost always need one of six or seven tests, and the choice between them comes down to four questions you can answer in plain English. Learn the four questions and you can defend your choice with confidence.
The Four Questions That Decide Your Test
Work through these in order, before you open SPSS or any other software. Each answer narrows the options until only one or two tests remain.
1. What is your research question really asking?
Strip the academic wording away and put your question into one of four buckets. Are you describing something, such as the level of social media use among undergraduates? Are you comparing groups, such as male and female students, or three departments? Are you looking for a relationship between two things, such as study hours and CGPA? Or are you trying to predict one thing from others, such as predicting performance from attendance, study hours and sleep?
Your bucket points you at a family of tests. Comparing groups leads to the t-test and ANOVA family. Relationships lead to correlation and chi-square. Prediction leads to regression. If you are unsure which bucket your question falls into, write your hypothesis as a sentence. "There is a difference between..." means compare. "There is a relationship between..." means associate. "X predicts Y" means predict. Our guide on how to write research questions and hypotheses for projects shows how to turn each objective into a question and then into a testable hypothesis, and that chain is what your test choice must follow.
2. What kind of data is your outcome variable?
This is the question students get wrong most often, so take it slowly. Your outcome variable, the dependent variable, the thing you measure, comes in three kinds.
- Continuous data is measured on a scale with meaningful numbers: test scores, CGPA, income, time in minutes, weight. You can calculate a mean for it. This keeps you in the t-test, ANOVA, correlation and regression world.
- Categorical data puts people or things into boxes: male or female, yes or no, pass or fail, department, type of school. You count how many fall in each box, you do not calculate a mean. This pushes you towards chi-square tests.
- Ordinal data is ranked but the gaps between ranks are not equal: Likert scale responses from strongly disagree to strongly agree, or a ranking of first, second and third. This usually calls for non-parametric tests, which are explained below.
Before you go further, be sure you can name your variables and say which is independent and which is dependent. Our guide on variables in research, independent, dependent, control and moderating variables explained, walks through this with Nigerian final year examples.
3. How many groups are you comparing, and are they independent or the same people?
If you are comparing groups, count them. Two groups means t-test territory. Three or more groups means ANOVA. Running three separate t-tests instead of one ANOVA is a classic beginner error, because every extra test increases the chance of a false positive.
Then ask whether the groups are independent or paired. Independent means different people in each group, such as male students compared with female students. Paired means the same people measured twice, such as the same students tested before and after a training programme, or matched pairs. Paired data needs the paired version of the test: a paired t-test instead of an independent t-test, a Wilcoxon signed-rank test instead of a Mann-Whitney U test, and repeated measures ANOVA instead of one-way ANOVA.
4. Does your data meet the test's assumptions?
The most powerful tests, t-tests, ANOVA and Pearson correlation, are called parametric tests. They assume your continuous data is roughly normally distributed, the familiar bell curve, and that the groups have similar variances. When those assumptions hold, use the parametric test, because it is more likely to detect a real effect.
When the assumptions do not hold, when your data is clearly skewed, has strong outliers, comes from a small sample, or is ordinal, use the non-parametric alternative. These tests work with ranks instead of raw scores, so they make no assumption about the shape of the distribution. Mann-Whitney U replaces the independent t-test, Wilcoxon signed-rank replaces the paired t-test, Kruskal-Wallis replaces one-way ANOVA, and Spearman correlation replaces Pearson correlation. Check the assumptions before you run the test, not after you see the p-value. Our guide on how to use SPSS for data analysis in your final year project shows where to find the normality and variance checks inside SPSS.
The Tests Final Year Students Use Most
Here is each common test in plain language, with the situation it fits and a Nigerian final year example.
Independent samples t-test
Compares the average of a continuous outcome between two independent groups. Example: comparing the mean CGPA of male and female undergraduates at the University of Lagos. If the data is skewed or the sample is small, use the Mann-Whitney U test instead.
Paired samples t-test
Compares the average of a continuous outcome in the same people at two times. Example: comparing the test scores of the same students before and after a six-week tutorial programme. The non-parametric alternative is the Wilcoxon signed-rank test.
One-way ANOVA
Compares the average of a continuous outcome across three or more independent groups. Example: comparing mean examination scores across students from four departments. If ANOVA finds a significant difference, a post-hoc test tells you which groups actually differ. The non-parametric alternative is the Kruskal-Wallis test.
Chi-square test of independence
Checks whether two categorical variables are related. Example: testing whether gender is related to participation in a side hustle among undergraduates. It works with counts in categories, not with means. A common rule of thumb is that chi-square becomes unreliable when more than 20 percent of the cells have an expected count below 5, in which case Fisher's exact test is the safer choice.
Pearson correlation
Measures the strength and direction of a linear relationship between two continuous variables. Example: the relationship between daily study hours and CGPA. The result is a coefficient between minus 1 and plus 1. Remember that correlation shows association, not causation. A strong correlation never proves that one variable causes the other. The non-parametric alternative for ordinal data is Spearman correlation.
Regression analysis
Goes one step further than correlation: it predicts an outcome from one or more predictors and tells you how much each predictor contributes. Example: predicting academic performance from study hours, attendance and sleep. With a continuous outcome use linear regression; with a yes or no outcome use logistic regression. Regression is the right choice when your objective says "to determine the factors that influence" or "to predict".
A Quick Decision Table
Keep this table beside you when you write Chapter Three. Find your situation in the first column and the test follows.
| Your situation | Use this test | If assumptions fail |
|---|---|---|
| Compare a continuous outcome between two independent groups | Independent samples t-test | Mann-Whitney U test |
| Compare a continuous outcome in the same people at two times | Paired samples t-test | Wilcoxon signed-rank test |
| Compare a continuous outcome across three or more groups | One-way ANOVA | Kruskal-Wallis test |
| Check association between two categorical variables | Chi-square test of independence | Fisher's exact test |
| Measure a relationship between two continuous variables | Pearson correlation | Spearman correlation |
| Predict an outcome from one or more variables | Regression analysis | Check with your supervisor |
Three Worked Examples
Seeing the four questions applied to real project topics makes the method stick. Here are three complete examples.
Example 1: Social media use and academic performance
Research question: What is the relationship between daily social media use and the academic performance of undergraduates? The question asks for a relationship, so you are in the correlation family. Both variables are continuous, hours per day and CGPA, so Pearson correlation is the test, provided the data is roughly normal. If the hours data is heavily skewed, Spearman correlation is the safer choice.
Example 2: Teaching methods across three departments
Research question: Is there a difference in examination scores among students taught with lecture, discussion and practical methods? The question asks for a comparison, and there are three independent groups, so one-way ANOVA is the test. A significant ANOVA result is followed by a post-hoc test to find which methods actually differ.
Example 3: Training and staff performance before and after
Research question: To what extent does staff training affect employee performance in a selected manufacturing firm? The same employees are measured before and after training, so the data is paired. The outcome is a continuous performance score, so a paired samples t-test is the test. If the difference scores are not normally distributed, use the Wilcoxon signed-rank test.
Common Mistakes to Avoid
- Choosing the test before the question. The research question decides the test, never the other way round. If you pick a test first, you will end up reshaping your question to fit it.
- Running many t-tests instead of one ANOVA. Comparing three groups with three t-tests inflates the chance of a false positive. One ANOVA does the job properly.
- Using a t-test on categorical data. You cannot calculate a mean of yes and no answers. Categorical outcomes need chi-square, not a t-test.
- Treating Likert scale items as continuous without thinking. A single Likert item is ordinal. Summed scale scores are often treated as continuous, but say so in Chapter Three and check with your supervisor.
- Reading causation into correlation. A correlation between study hours and CGPA does not prove study hours cause higher grades. Other factors may be at work. Our guide on how to interpret your research findings explains how to report associations honestly.
- Ignoring the assumptions. A p-value from a test whose assumptions your data breaks is not a result, it is a number. Check normality and equal variances first.
- Reporting only the p-value. Report the test statistic, the degrees of freedom and the p-value together, and say in plain words what the result means for your hypothesis. Our guide on how to present your results in tables and figures in Chapter Four shows how to lay this out clearly.
What to Write in Chapter Three and Chapter Four
In Chapter Three, name the test you will use, say why it fits your question and your data, and note the assumptions you checked. One or two sentences per hypothesis is enough, for example: "Hypothesis one was tested with an independent samples t-test, because the study compares the mean CGPA of two independent groups, male and female students, on a continuous outcome variable." That single sentence shows your supervisor you chose deliberately. If your design or your variables are still taking shape, our guides on how to choose the right research design for your final year project and qualitative vs quantitative research will help you settle the design first, because the design and the test must agree.
In Chapter Four, report each test result in the same order as your hypotheses. State the test, show the statistic, degrees of freedom and p-value, then state your decision in words: reject or fail to reject the null hypothesis. Do not write that you "proved" the hypothesis. Results support or fail to support it, and that wording matters to examiners. Our guide on how to write Chapter Four of your final year project covers the full layout, and our guide on how to analyse quantitative data in your final year project covers presenting the descriptive statistics that come before the tests. Finally, remember that a sound test choice is part of showing your instrument and your analysis are trustworthy, which is what our guide on validity and reliability in research is about.
Frequently Asked Questions
Can I use more than one statistical test in my project?
Yes, and most quantitative projects do. Each hypothesis usually needs its own test, so a project with three hypotheses may use a t-test, a chi-square test and a correlation. What matters is that each test matches its own question and its own variables.
What if my supervisor disagrees with my choice of test?
Ask which of the four questions they see differently. Usually the disagreement is about the type of data or about whether groups are paired. Walking through the four questions together settles most disagreements quickly, and it shows your supervisor you reasoned about the choice.
Do I need a statistical test if my study is qualitative?
No. Qualitative studies explore experiences and meanings through interviews or observation, and they are analysed by theme, not by statistical test. If you are unsure which approach fits your study, read our guide on qualitative vs quantitative research before you decide.
What is the difference between a parametric and a non-parametric test?
A parametric test, such as a t-test or ANOVA, assumes your continuous data is roughly normally distributed. A non-parametric test, such as Mann-Whitney U or Kruskal-Wallis, makes no such assumption and works with ranks instead of raw scores. Use the parametric test when its assumptions hold, and the non-parametric alternative when they do not.
Is a p-value below 0.05 always good news?
Not always. A p-value below 0.05 means the result is statistically significant at the usual 0.05 level, which is the standard most Nigerian projects use. But significance is not the same as importance. A tiny effect in a large sample can be significant yet practically meaningless, so always report the size of the effect as well as the p-value.
Conclusion
Choosing a statistical test is not a guessing game and it is not a memory test. Start from your research question, name the kind of data your outcome variable holds, count your groups and check whether they are independent or paired, then check the assumptions. Those four answers point you at the test, and the table above gives you the name. Write the choice into Chapter Three with one sentence of reasoning per hypothesis, report the results in Chapter Four with the statistic and the p-value, and you will be able to answer your examiner's "why this test?" with a clear, honest answer.
Further reading: For a five-question flowchart version of this decision process, see the beginner guide to choosing the right statistical test at Researchers Life. For a decision table with worked examples, see which statistical test should I use at EconTutorials. For a step-by-step guide written for dissertation students, see how to choose the right statistical test at Erudite Digital Team, and for a comparison table covering regression and logistic regression, see the decision guide on choosing a statistical test for your dissertation at MonteScholar.


