Statistical Analysis: Descriptive and Inferential Statistics and Choosing the Right Test
Most statistics problems become simpler once you know what kind of data you have and what question you are asking. This guide builds that foundation and gives you a practical way to choose and interpret the right test.
Types of data
| Level | Description | Example | Typical summaries |
|---|---|---|---|
| Nominal | Categories without order | Study mode, country | Counts, percentages, mode |
| Ordinal | Ordered categories | Satisfaction (low/medium/high) | Median, percentiles |
| Interval | Equal intervals, no true zero | Temperature in °C | Mean, SD |
| Ratio | Equal intervals and a true zero | Age, income, reaction time | Mean, SD, ratios |
Interval and ratio are often grouped as "scale" or "continuous" data.
Watch the topic explained
Video lesson · about 9 minutes · in production
Choosing the Right Statistical Test
An original lesson that teaches statistics with diagrams and a worked example, with captions and a transcript. These are the chapters it will cover; each links to the matching part of this guide.
- 01Types of data
- 02Describing data well
- 03Hypotheses, p-values and effect sizes
- 04A test-selection flowchart
- 05Worked ANOVA example
Descriptive statistics
- Centre: mean (sensitive to outliers), median (robust), mode.
- Spread: standard deviation, interquartile range, range.
- Shape: skewness, outliers; always look at a histogram or box plot.
Inferential statistics
You rarely study a whole population, so you use a sample to estimate population values and test hypotheses.
- Null hypothesis (H₀): no effect or no difference.
- p-value: the probability of results at least as extreme as yours if H₀ were true. A small p (conventionally < .05) is evidence against H₀.
- Confidence interval: a range of plausible values for the population parameter.
- Effect size: how large the effect is (Cohen’s d, r, η², odds ratio). Significance depends on sample size; effect size tells you whether it matters.
- Type I error: a false positive; Type II error: a false negative. Power is the probability of detecting a real effect.
Choosing a test
| Question | Outcome | Groups / predictors | Parametric test | Non-parametric alternative |
|---|---|---|---|---|
| Difference between 2 independent groups | Scale | 2 groups | Independent t-test | Mann–Whitney U |
| Difference within the same people (2 times) | Scale | Paired | Paired t-test | Wilcoxon signed-rank |
| Difference among 3+ independent groups | Scale | 3+ groups | One-way ANOVA | Kruskal–Wallis |
| Association between categories | Nominal | Nominal | Chi-square test | Fisher’s exact (small counts) |
| Relationship between two variables | Scale | Scale | Pearson’s r | Spearman’s rho |
| Predicting a continuous outcome | Scale | Several predictors | Linear regression | – |
| Predicting a yes/no outcome | Binary | Several predictors | Logistic regression | – |
Parametric tests assume, among other things, approximately normal distributions (or large samples) and similar variances across groups.
Worked example
A fictional study comparing three teaching formats (lecture, flipped, blended) on exam scores, 30 students each.
- Question: do mean scores differ across formats? Scale outcome, three independent groups → one-way ANOVA.
- Descriptives: lecture M = 64, flipped M = 71, blended M = 69.
- Assumptions: histograms look roughly normal; Levene’s test non-significant.
- Result: F(2, 87) = 5.12, p = .008, η² = .11 (a medium effect).
- Post hoc (Tukey): flipped > lecture (p = .006); other differences not significant.
- Interpretation: the flipped format was associated with higher scores than lectures. Because students were not randomly assigned, other differences between groups might contribute.
Common mistakes
- "p = .06, so there is no effect." Absence of evidence is not evidence of absence; look at the effect size and interval.
- Running many tests without adjusting for multiple comparisons.
- Using means for heavily skewed data without comment.
- Treating Likert items as continuous without justification.
- Ignoring paired structure (using an independent test on before-and-after data).
Explore learning resources
Worked examples, worksheets and checklists to use alongside this guide. They are learning tools, not answers to an assessment: adapt them to your own task and your institution’s requirements.
Decision guideChoosing the right test in four questionsWork through these in order.
- What is my question? Difference, relationship or prediction?
- What type is my outcome variable? Nominal, ordinal or scale?
- How many groups or predictors, and are observations independent or paired?
- Are parametric assumptions reasonable? If not, choose the non-parametric alternative.
Then check the table in the guide and confirm with your course materials.
Worked examplesReporting results in APA styleModel sentences to adapt.
- t-test: "Part-time students (M = 3.3, SD = 0.8) reported lower engagement than full-time students (M = 3.6, SD = 0.7), t(118) = 2.17, p = .032, d = 0.40."
- Correlation: "Support and engagement were positively correlated, r(118) = .46, p < .001."
- Chi-square: "Study mode was associated with completion, χ²(1, N = 240) = 6.4, p = .011, φ = .16."
- ANOVA: "Scores differed across formats, F(2, 87) = 5.12, p = .008, η² = .11."
Try the interactive tools
Free tools that let you practise statistics hands-on. They run in your browser, explain every result and keep what you type private.
- Statistical Test SelectorAnswer a few questions about your aim and data, and see which test fits and why.
- Descriptive Statistics LabPaste a column of numbers and get mean, median, SD, quartiles, skewness and a histogram.
- Correlation & Regression LabPaste X and Y values to see the scatter plot, Pearson’s r, the regression line, R² and significance.
- Hypothesis Test CalculatorRun one-sample, independent and paired t-tests and a test of two proportions from summary statistics.
- p-value ExplorerMove a test statistic along the z, t or χ² distribution and watch the p-value area change.
- Type I & II Error and Power SimulatorSee how α, effect size and sample size change the chance of Type I and Type II errors.
Check your understanding
4 short questions. Choose an answer for each, then check. Every answer comes with an explanation.
Take your learning further
Learn statistics with a specialist Academic Expert
Sometimes a concept needs more than a written explanation. A live 1:1 session with an Academic Expert who works in statistics lets you ask your own questions, work through examples at your pace and get feedback on your own thinking.
What you can work on together
- Identify your variable types and research question
- Choose appropriate tests and check assumptions
- Understand p-values, confidence intervals and effect sizes
- Interpret output from SPSS, R, STATA or Excel
- Report results clearly in APA style
- Get feedback on your own results section
How sessions help
- Make sense of your brief and marking criteria, so you know exactly what is being asked.
- Ask the questions you would not ask in a big class, as often as you need.
- Get timely, specific feedback on work you have written yourself.
- Practise explaining your reasoning out loud, ready for vivas, presentations and practicals.
- Extra support with academic English and conventions if English is not your first language.
Teach → coach → review. Experts explain, demonstrate and give feedback. You stay the author of your work and make the decisions in it.
Frequently asked questions
Can I use a t-test on Likert scale data?
For single Likert items, non-parametric tests are often preferred. For scale scores built from several items, parametric tests are commonly used if assumptions are reasonable. Justify your choice.
What sample size do I need?
It depends on the test, expected effect size and power. Use a power analysis (for example with G*Power) before collecting data.
Our academic integrity commitment
UniLearno supports learning, understanding and independent academic development. Our Academic Experts explain concepts, demonstrate methods, guide research and give feedback on work you have created. We do not complete assessed work, fabricate data or references, or produce anything for you to submit. You remain responsible for your own ideas, analysis, conclusions and final submission, and for following your institution’s academic integrity and AI-use rules.
Why a shortcut costs more than it saves
- It is more visible than it looks. Markers notice when work does not match what they know of you; document history, reference lists and follow-up conversations about your work are all used to check authorship.
- It creates a lasting risk. Services that sell completed assignments have threatened students afterwards, demanding money not to tell their university.
- The gap does not go away. Later units, supervised exams, vivas, placements and the job itself all assume you have the skill.
- Help that teaches is the safer route. Understanding the brief, getting feedback early and practising with an expert closes the gap for good.
Sources and about this guide
- Field, A. (2024). Discovering statistics using IBM SPSS Statistics (6th ed.). SAGE.
- Wasserstein, R. L., & Lazar, N. A. (2016). The ASA statement on p-values: Context, process, and purpose. The American Statistician, 70(2), 129–133.
- Cohen, J. (1988). Statistical power analysis for the behavioral sciences (2nd ed.). Erlbaum.
- Written by
- UniLearno Learning Team
- Last reviewed
- Found an error?
- Tell us and we will check and correct it.