Help with hypothesis testing: choosing a test and checking results
Do you need help with hypothesis testing because you are unsure which test to choose, two analyses have yielded different results, or your supervisor has asked a methodological question? The key is to identify where the uncertainty arises. A targeted review of your research question, data structure, and output can clarify the most appropriate next step.
This guide will help you identify your specific problem, gather the necessary documents, and have an existing analysis checked to ensure it is correct.
Where do you need help with hypothesis testing?
You do not know which test is appropriate
First, describe what you want to investigate: a difference between groups, a change over time, or a relationship between variables. Next, consider the level of measurement, the number of groups, and whether the observations are independent. For example, multiple measurements from the same person should not be treated as independent cases.
When there are multiple influencing factors, measurement times, or hierarchical data, a simple classification based on the "two groups, equal variance, t-test" pattern is often insufficient. Our methodological advice on test selection addresses exactly this, linking your research question to a well-founded analysis plan.
You have an output but are not sure how to interpret it
A single p-value is not enough for a professional review. The actual sample size analyzed, the estimated effect, the confidence interval, and the settings used are also important. In some outputs, several test variants are listed one below the other. You must decide which row is appropriate for your research question based on the procedure and its assumptions.
If your uncertainty mainly concerns the interpretation of a p-value, you can find the basics in the article how to correctly interpret p-values. A non-significant result does not prove either the null hypothesis or the absence of a practically relevant effect.
Your supervisor or a reviewer has requested an addition
Submit the specific question along with your approach so far. "Please check the assumptions" requires a different response than a request for an additional model or a sensitivity analysis. We will clarify what is meant from a methodological perspective and whether an explanation, an additional check, or a new calculation is required.
What documents do we need for the review?
A few carefully selected pieces of information are sufficient for an initial assessment. You do not need to reformat a complete paper:
- Research question and hypotheses: What do you want to test? What statements were established before the analysis?
- Study design: What groups and measurement times are there? Were the same people examined multiple times?
- Variables and coding: What is being measured, on what scale, and with what categories or units?
- Sample sizes and data status: How many cases are actually included in the analysis? Which filters, exclusions, and missing values are relevant?
- Previous analysis: Test name, complete relevant output, and, if available, the syntax or code, including important settings.
- Your specific question: What is unclear? If applicable, add your supervisor's feedback and your deadline.
A description of your project is sufficient for the initial request. We will coordinate with you afterward to determine whether and what data we need. Direct personal identifiers should not be included in the initial description of the problem.
Why do two analyses yield different results?
A different p-value does not automatically mean that a calculation is incorrect. Often, different data or test variants were used. Check the differences in this order:
- Same data basis: Are the data version, filters, exclusion rules, and treatment of missing values identical? Compare the sample size in the output with the expected sample size.
- Same variables: Do the coding, group order, scale construction, and, if applicable, reverse-coded items match? A swapped group order can change the sign of an effect.
- Same procedure: A paired t-test and an independent t-test answer different designs. The Welch test and the variant assuming equal variance can also yield different results.
- Same settings: One-tailed and two-tailed tests, corrections for multiple tests, and exact and asymptotic procedures are not easily comparable. In random-based calculations, settings and starting values may also be relevant.
The decision is based on your research question and analysis plan. Do not choose the variant with the smaller p-value after the fact. You can find a structured check of other pitfalls in our overview common errors in hypothesis testing.
An example: the same people before and after coaching
Illustrative example: You record a stress level before and after coaching. Both values come from the same person. Your question is whether the average stress level has changed between the two time points.
For a paired t-test, the differences within individuals are considered. Therefore, first check whether the measurements are correctly assigned and how missing second measurements were handled. For the normality assumption of this test, the difference values are relevant, not two general normality tests of the individual measurement times.
If there were actually a different group of people at the second time point, this pairing would not be appropriate. If there is also a control group or multiple measurement times, the analysis model must also reflect this structure. The analysis of a single change does not replace a comparison of the trends between the groups.
Content-wise, a boundary also remains important: a change before and after coaching does not prove a causal effect of coaching on its own. For this conclusion, the study design and possible alternative explanations matter.
What should you do if a test assumption is questionable?
A conspicuous normality test is not an automatic instruction to change the procedure. The key is which assumption your specific model requires, how large the deviation is, and what influence outliers, sample size, and data structure have.
Non-parametric procedures also have assumptions and sometimes test a different hypothesis than a comparison of means. Depending on the research question, a different model, a robust analysis, or a well-founded sensitivity analysis may be appropriate. The comparison t-test or Mann-Whitney test shows why the decision requires more than a glance at the normal distribution.
How do you report the checked result in a reproducible way?
A convincing presentation of results makes the analysis verifiable. State the procedure, the analyzed groups or measurement times, and the relevant sample size. Report the appropriate descriptive statistics, the estimated effect with a suitable confidence interval, as well as the test statistic and p-value. Add degrees of freedom, effect sizes, and corrections where relevant to the procedure and reporting guidelines.
Then interpret what the findings mean for your research question and what conclusions the data do not allow. Statistical significance and practical importance are different aspects. Both belong in a careful interpretation.
Have you already written the results section? Through our free statistics editing service, you can have checked whether the presentation is methodologically sound and consistent. We will discuss a new calculation or the expansion of your analysis separately if necessary.
How does Easy Statistik support you with your hypothesis test?
We start where your project needs support: with the methodological decision, the checking of existing results, the analysis, or a clear explanation in coaching. You will receive a methodologically sound recommendation that suits your field of research, your academic level, and the requirements of your supervisor.
Our statisticians work without generative AI. Dr. Kay Stankov remains involved in the quality assurance of every customer project. What is important to us is that you can understand why a procedure was chosen and how its results can be interpreted.
If you first want to follow the entire process yourself, our professional article will guide you through the hypothesis testing in seven steps. To support your specific project, describe your question and the current status to us. We will usually get back to you within an hour and clarify the appropriate scope with you.