Welch's t-test is a useful starting point when you want to compare the means of two independent groups without assuming equal variances. It does not require equal sample sizes. First check, however, that each person belongs to only one group and contributes one score to this comparison. If you compare before-and-after measurements from the same people, you need an analysis that accounts for pairing. Changing the test's name cannot repair dependence between observations.
In a thesis in the field of Psychology, selecting the software row labelled “equal variances not assumed” does not complete the analysis. You need to establish the score's meaning, inspect the data, calculate the mean difference and show its uncertainty. Below you will work through groups with different sample sizes and standard deviations. A reporting example also separates the statistical finding from its psychological explanation and helps check whether the analysis answers the thesis question.
First establish what is independent in your data
Open the dataset and identify the participant ID, group column and score you intend to compare. Each person should belong to one of the two groups. Check that the same ID does not appear on both sides. Also make sure successive rows are not individual questionnaire items entered as separate people. A mean-comparison test needs a defined variable's score for each unit, rather than any available number of spreadsheet rows.
Independence also concerns how the material was collected. Two different people may form a pair through deliberate matching, or belong to a shared team that influences their scores. Pupils in one class or people in the same therapy group may share conditions. An absence of repeated IDs does not settle this issue. Record recruitment and study organisation before describing the samples as independent.
If the same people were measured repeatedly, return to the study design. The guide to repeated measurements of the same people can help. Do not turn three measurement occasions into three separate groups merely to use a familiar software command. An appropriate model should retain information about which scores come from the same person and what kind of change you want to describe.
Name the outcome and the comparison direction
Write one sentence specifying what the mean concerns. This could be a questionnaire total, task completion time or number of correct responses under a defined scoring rule. Add the unit and explain the scale's direction. A higher number might indicate greater difficulty or better performance. Without this information, a positive difference only establishes numerical order, leaving the reader to guess its psychological meaning.
Choose a subtraction order, such as group A minus group B, and preserve it throughout the report. Reversing the order changes the sign of the difference and t statistic, without changing a two-sided p-value. The interval's signs and endpoints change accordingly. Record this choice above your analysis results. You can then check “group A scored higher” against a simple calculation instead of relying on memory of the software settings.
Welch's test compares population means within the chosen model. It does not automatically answer questions about medians, the proportion above a threshold or whether every score in one group exceeds every score in the other. If your thesis asks one of those questions, establish the appropriate measure and method first. Similar-looking plots or the word “difference” in a hypothesis do not select a test on their own.
Establish the plan before checking significance
Record the outcome, groups, subtraction direction and hypothesis type in your plan. A two-sided analysis asks whether the means differ, allowing either direction. Specify the significance level and handling of missing observations before evaluating the result too. This distinguishes a planned comparison from an additional question prompted by seeing the data.
Do not choose between the pooled-variance Student test and Welch solely according to whether Levene's p-value exceeds 0.05. A non-significant variance test does not demonstrate equal variances. In small samples it may miss an important difference; in large samples it can detect minor departures. This two-stage selection adds a decision based on the same sample to your analysis.
Delacre, Lakens and Leys argue for Welch as a default strategy for comparing independent-group means. That does not remove the need to examine design and data. It means you do not first have to “prove” unequal variances before planning a procedure that does not assume equality. Explain the choice through the task and assumptions, rather than searching for a more favourable p-value.
Inspect the data separately within each group
Before reading the test, calculate each group's sample size, mean and standard deviation. Inspect the score distributions and check extreme observations. A dot plot showing observations can reveal a small group, one unusual score or repeated values. A mean-only bar hides that information. With a larger dataset, combine a distribution summary with a sufficiently readable display of observations.
Check the scale's permitted range and how the score was calculated. An out-of-range value may indicate an entry error, an alternative missing-value code or incorrect item summation. Before treating it as an outlier, return to the instrument instructions and source data. Correcting a documented error differs from deleting a valid response because it changes the analysis result.
When judging distributions, consider sample size and features that may undermine inference about a mean. A very small sample, strong skewness and a single extreme observation call for care. Do not reduce the entire check to one normality-test p-value. Describe what you inspected and why the chosen model is adequate for this comparison. If the material cannot support that decision, revise the analysis plan.
- Comparison
- Set the group order and check independence.
- Calculation
- Keep the group sizes and standard deviations separate.
- Report
- State the direction, the interval and the test result.
Choose the procedure using the design and data distribution before interpreting the result.
Prepare the inputs for the calculation
Use the following two groups for the calculation. Group A has 12 observations, a mean of 20 points and a standard deviation of 6 points. Group B has 20 observations, a mean of 14 points and a standard deviation of 3 points. We calculate A minus B. These inputs are sufficient to reconstruct Welch's statistic, but cannot reveal the distributions, identify errors or establish observation independence.
For inference we assume two independent samples, a numerical outcome suitable for mean comparison and conditions supporting the t-distribution approximation. At these sample sizes, we assume an approximately normal distribution in each population; inspect the original data for strong skewness and extreme observations. With groups this small, inspecting the original data would be particularly important. Performing the calculation below does not establish those conditions. Transfer results to your thesis only after checking them in your material and documenting actual participant selection.
First calculate the mean difference: 20 – 14 = 6 points. This is the main quantity to which we will return. Group A's mean is 6 points higher in this comparison. We do not yet call this a cause, a treatment effect or individual change. Such descriptions would require study information that means, sample sizes and standard deviations alone do not provide.
Calculate the standard error of the difference
Each group contributes its own variance and sample size in Welch's test. Square the standard deviation and divide by that group's sample size. For A this gives 6²/12 = 36/12 = 3. For B it gives 3²/20 = 9/20 = 0.45. Add the components: 3 + 0.45 = 3.45. Their sum's square root is the standard error of the mean difference: SE of the difference = √3.45 = 1.8574 points.
This error describes uncertainty in the estimated difference under the model. It is not the standard deviation of individual scores, nor does it mean most people score within 1.8574 points of the mean. Score dispersion is SD = 6 in A and SD = 3 in B. If these terms become confused in the output, read the explanation of SD and SE before writing the figure caption.
Notice that A's component is much larger than B's. Both its greater dispersion and smaller sample contribute. Comparing sample sizes alone, or standard deviations alone, is therefore insufficient for calculating uncertainty. Check your spreadsheet by computing both components separately. If the software reports another standard error, establish whether you used the same participants, variables and test variant.
Divide the difference by its uncertainty
Welch's t statistic compares the observed difference with the difference specified by the null hypothesis, then divides by the standard error. Here the null assumes a population mean difference of 0. The calculation is t = (6 – 0)/1.8574. Retaining full precision gives t = 3.2303. The positive value follows our chosen A-minus-B order.
The t-value alone does not determine p. You also need degrees of freedom and the hypothesis type. Do not compare the result with an arbitrary table row or a constant 1.96 from another approximation. Small-sample t critical values may differ appreciably. Software calculates the critical value using the appropriate degrees of freedom, which may be fractional in Welch's procedure.
The NIST account provides the independent-samples statistic and the Welch-Satterthwaite approximation. Preserve each symbol's meaning: means concern the outcome, SD describes dispersion and n counts analysed units. A correctly copied formula with the wrong sample size still gives the wrong answer. This is why checking the inputs precedes calculation.
Check Welch's degrees of freedom
Label our earlier components a = 3 and b = 0.45. Calculate df = (a + b)²/[a²/(12 – 1) + b²/(20 – 1)]. The numerator is 3.45² = 11.9025. The denominator is 9/11 + 0.2025/19, approximately 0.82884. Their ratio gives df = 14.3604. Retain the full value in calculations; two decimal places will usually suffice in the report.
Do not replace it with 30 because 12 + 20 – 2 = 30. That subtraction belongs to another test variant using a pooled variance estimate. Welch uses separate variances and the groups' unequal contributions to uncertainty. Degrees of freedom here are not a head count. A fractional value is an expected feature, not a software error needing manual correction.
The smaller group with greater SD strongly influences the comparison's precision. Total sample size therefore cannot describe the information supporting this particular difference by itself. When designing research, consider each group's size and anticipated dispersion. Do not justify sample size retrospectively merely because the result was significant. Planning and interpreting a result answer different questions.
Read the two-sided p-value and difference interval
For t = 3.2303 and df = 14.3604, the two-sided p-value is approximately 0.00588. At a previously selected 0.05 level this leads to rejection of the null within the model. A concise report can give p = 0.006. Do not write p = 0.000 or copy zero from a rounded output display. Retain the fact that the analysis was two-sided.
The 95% difference interval uses a t critical value of approximately 2.13975. Its margin is 2.13975 × 1.8574 = 3.9744 points. Subtract and add that margin to the difference of 6. The endpoints are 2.0256 and 9.9744 points, rounded to [2.03; 9.97]. This is the interval for A minus B, rather than an interval for either separate mean.
Under the same assumptions, a two-sided 0.05 test and its corresponding 95% interval should give consistent information about zero. This interval is entirely positive. If your output combines p below 0.05 with an interval containing zero, check the test type, confidence level, group order and adjustment. You may be comparing results from two different analyses.
Report the result with its unit and limits
The calculation can be reported as follows: “For groups A (n = 12, M = 20, SD = 6) and B (n = 20, M = 14, SD = 3), the A-minus-B mean difference was 6.00 points. A two-sided Welch t-test gave t(14.36) = 3.23, p = 0.006, with a 95% confidence interval for the difference of [2.03; 9.97] points.” The sentence includes information needed to reconstruct direction and scale.
In your thesis, replace A and B with the actual categories and identify the outcome. Separate the method from interpretation. Explain selection and assumptions in Methods, report the estimate, interval and test in Results, and discuss the difference in relation to the construct, instrument and literature. Avoid compressing all three tasks into a general statement that “the hypothesis was confirmed”.
A difference in group means does not establish that any person in A will outscore any person in B. The distributions can overlap. It also does not establish that group membership caused a score change. Causal interpretation requires an appropriate design and assessment of alternative explanations. In observational research, groups may also differ in characteristics the simple test does not consider.
Explain what p and the interval do not establish
The p-value is not the probability that the null hypothesis is true. Nor does it mean the risk of a wrong conclusion in this particular study is 0.6%. It relates an observed or more extreme result to a model assuming the null and the other analysis conditions. Interpretation therefore first requires an adequate model. A small p-value cannot validate measurement quality, representativeness or independence.
A confidence interval describes estimation uncertainty under the chosen procedure. It does not contain 95% of individual differences or define where the next person's score will certainly lie. In the standard frequentist interpretation, it also does not assign a 95% probability to the particular fixed population difference after calculation. Practically, examine values compatible with data and model and their relevance to the research question.
Our 6-point estimate has an interval almost 8 points wide. That matters despite p below 0.05. The estimate suggests a positive difference but leaves considerable uncertainty about its size. Before calling the effect small or large, consider the score range and the justification for practical importance in that field. Six points cannot receive one universal interpretation across all psychological instruments.
In small samples, Welch does not solve every problem
Welch accounts for unequal variances, but means and SD remain sensitive to extreme observations. In a group containing only a few people, one unusual score can change both quantities and the entire test. First check recording accuracy and the reason for the extreme, where documentation allows. Then assess whether inference about means is sufficiently justified. The procedure's name cannot replace that judgement.
With strongly skewed distributions and unequal sample sizes, avoid invoking general “robustness” without checking its scope. The 2022 correction by Delacre and colleagues limits some earlier simulation generalisations about strong skewness. The main recommendation favouring Welch remains, but does not guarantee validity for every distribution and sample. This distinction should inform decisions about your data.
Where another method is needed, first establish its target parameter. A trimmed-mean procedure concerns a different quantity from the arithmetic mean, while a rank test is not automatically a median-equality test for arbitrary distributions. Bootstrap and permutation methods also require an appropriate construction and assumptions. Do not select a name simply because it appears beside Welch in a menu and returns a smaller p-value.
Preserve valid data when investigating outliers
Establish checking rules before deleting records. Document impossible values under the instrument instructions, confirmed entry errors and corrections. A valid but unusual observation may be an important feature of the group. Deleting it solely to equalise variances or obtain normality changes the material and can distort the answer to your thesis question.
A sensitivity analysis can show how decisions affect the result, but must be reported. Identify the main analysis and a justified additional check. Compare the difference, interval and conclusion instead of retrospectively selecting the significant version. If results change substantially, report that and discuss uncertainty. This matters more than assuring readers that the software eventually displayed an acceptable result.
You need the original observations for such a comparison. Sample sizes, means and SD cannot reconstruct every score's position. Our calculation therefore cannot support statements that there were “no outliers” or that “the distribution was appropriate”. The formula and numerical result can be checked; the sample distributions cannot. Your own report should separate those two kinds of verification.
Account for missing data and scoring
The sample size used in the test counts observations included for this outcome. If more people entered the study but some lack a complete score, report both stages and explain the difference. One analysis can use another n than the next. Do not copy the recruitment count into every table without comparing it with the rows actually used by the software.
For a questionnaire, check how the manual handles missing responses and whether a partial-item score is allowed. A missing code must not become zero or a high total. Also verify reversed items and the permitted range. Two tests run on identical columns can agree numerically while comparing an incorrectly prepared measure. A valid variable comes first; its mean follows.
Do not fill missing entries with the group mean without a justified procedure. That changes dispersion and uncertainty on which the test depends. If missingness matters to the conclusion, include it in the plan and choose an appropriate approach. State the rule in Methods and report analysed sample sizes in Results. Explaining excluded observations helps assess comparability, rather than serving only as a spreadsheet note.
Do not confuse group comparison with within-person change
Two columns can represent two groups or two measurements of the same people. Establish what a row means before rearranging the data. In before-and-after research, paired differences and score dependence matter. An independent-group test ignores that information. Conversely, placing unrelated people into pairs creates an artificial match not present in the design.
Similar sample sizes cannot decide the test type either. Independent groups may each contain 20 people, while dependent measurements with missing observations may leave fewer complete pairs than original participants. Explain the comparison's structure, rather than the table's appearance. Readers should understand why scores were treated as independent without needing to open your analysis file.
For more groups, occasions or explanatory variables, consider a model addressing the complete question. A series of t-tests may fail to represent the planned comparison and increases statistical decisions. Do not append an adjustment only in the final sentence after running every test. Define the comparison family and purpose in the plan, accounting for multiplicity and reporting additional analyses.
Read the appropriate software result
Software may display both an equal-variance test and a version without that assumption. Check the procedure name, degrees of freedom and mean difference. Our calculation should yield approximately 14.36 degrees of freedom, not 30. Neither row position nor the smaller p-value should determine selection. Save the output or settings so that the procedure can later be identified.
Check what the interval represents too. We need an interval for the mean difference with the specified group order and confidence level. Two intervals for separate means cannot replace it. Plots with separate error bars may look similar across procedures, so name the displayed measure in the caption. Evaluate the hypothesis with the appropriate test and difference interval rather than error-bar overlap alone.
Finally, reproduce the simple quantities manually: the difference, both error-variance components and their square root. Check the full p-value and t quantile with another appropriately configured tool if needed. Agreement confirms calculation, not recruitment or measurement. If results differ, compare observations, missing-data settings, group order, hypothesis and procedure variant first.
Do not change the question after seeing p
If the plan specifies a two-sided test, do not halve p after seeing a favourable direction. A one-sided hypothesis requires prior justification and specifies the direction of inference. Merely expecting one group to score higher is insufficient. Explain why the opposite result will not support the same decision and what that means for your research question.
A non-significant result does not demonstrate equal groups. With substantial uncertainty, an interval may include both zero and differences important to the thesis problem. To demonstrate a sufficiently small difference, you need justified equivalence bounds and an appropriately planned analysis. Failure to reject a zero-difference null in an ordinary t-test does not replace that investigation. Conclusions should match the question actually tested.
A significant finding likewise does not remove the need to show all planned comparisons. If several scales were tested, retain their complete list and the chosen multiplicity approach. Selecting only one significant scale can misleadingly suggest it was the sole objective from the start. A saved plan and separation of main and additional results let readers assess how the conclusion arose without reconstructing the analysis from isolated output windows.
Retain precision until the calculation is complete
The standard error 1.8574176 need not appear with that many digits in your chapter. Nevertheless, retain available precision during calculation and round final results afterwards. Early truncation of SE or df can alter the last digits of p and interval limits. This matters particularly near a decision threshold. A thesis report should be readable while the analysis file remains precise enough to check.
Rescaling both groups by the same positive linear factor changes the difference, SD and SE in their units but leaves t and the two-sided p-value unchanged. That is a useful calculation check, not permission to mix scales. You cannot compare a raw score in one group with a standardised score in the other. First establish a common definition and measurement unit.
Positive and negative signs convey direction. Keep one subtraction order in the caption and when copying output. If software orders categories according to numeric codes, read the labels rather than just 1 and 2. A directional reporting error can coexist with a perfectly matching p-value. Final text checks therefore compare each statement with its group means.
Separate the raw difference from standardisation
A difference in points and its interval relate directly to the scale. If an additional standardised effect measure is needed, establish its denominator and justification. With unequal variances, several standardisation approaches exist and need not answer exactly the same question. Do not call every number derived from two means the same d without defining it.
Avoid automatically converting Welch's t to d with a pooled-variance formula and treating the result as the only correct effect measure. Choosing the estimator, any bias correction and its interval requires separate justification. A simple comparison may retain the mean difference in an understandable unit as its foundation. Another index should assist interpretation rather than conceal uncertainty visible in the interval.
Assess practical importance against the instrument and research problem. If literature supplies an important-difference threshold, check its origin, population and derivation. A threshold from another measure or population does not automatically transfer. Positive limits in our interval do not themselves establish clinical, educational or social importance. That additional conclusion requires its own support.
Put the rationale in Methods and limitations beside the conclusion
Methods might state that a two-sided Welch t-test was planned to compare two independent-group means without assuming equal variances. Add checks of data type, independence, distributions and records. Explain other comparisons' relationship if the plan includes them. A concise decision account is sufficient when it matches what was actually performed and documented.
The Polish Wrocław Medical University biostatistics textbook introduces Welch under variance homogeneity. It helps identify the procedure variant. For an advance choice, use the analysis plan and methodological literature about mean comparison, including the Delacre correction. Sources may propose different decision pathways, so state which approach your thesis follows.
Place a material-specific limitation beside the conclusion: a small group, wide interval, selection process or measurement uncertainty where these actually apply. Avoid attaching a general statement about “psychological complexity” instead of naming a concrete obstacle. Readers should know what was estimated, what remains unresolved and which additional material would help answer the outstanding question.
Prepare material for checking the analysis
If output and interpretation disagree, prepare a dataset without direct identifying details, a codebook, scoring instructions, research question and current university guidance. Explain what each row represents and whether participants are linked. Include existing settings and output. A photograph of p alone cannot distinguish the wrong test from a data error or reversed group order.
The guide to selecting tests and reporting findings explains the broader sequence. For Welch, establish the comparison's meaning, check data, then calculate and write. When commissioning analysis, specify the need: checking a plan, performing the comparison, verifying an existing result or preparing its report. The scope should fit your current stage.
Before submitting, revisit four elements: groups, outcome, difference and uncertainty. Are groups independent? Is the outcome defined identically on both sides? Does the sentence's direction match the means? Do interval and p come from the same test? Answers supported by the analysis file provide a foundation for a clear report. Claims about causes and importance still need separate justification.
Questions and answers
When should I use Student's t-test and when Welch's t-test?
Example: do two groups differ in mean scale score? I will distinguish between independent samples and repeated measures from the same individuals. For independent groups with unequal variances, Welch's test can be applied. For pre- and post-measures, within-pair differences are important. I will base the assessment on the distribution, outliers, and sample size, not solely on one normality test.
Do I need to know which statistical test to commission?
No. Not every thesis requires statistical tests. Please send the research questions, hypotheses, the survey, and the database. I will check the type of variables, group structure, and method assumptions, and then propose an analysis that corresponds to the research objective.
How many people are needed for statistical analysis in a master's thesis?
There is no single number suitable for every thesis. The planned test, the number and size of groups, the expected effect size, and the required power and precision of the analysis are important. A small sample limits inference. It is best to discuss the sample size before starting data collection.
What will I receive after the statistical analysis is completed?
I agree the scope before starting. It may include a prepared dataset, descriptive statistics, test results, tables, charts, a description of the methods and interpretation in relation to the research questions. I agree the format of editable files and any materials from the software when I prepare the quote.
Is a p-value < 0.05 sufficient to confirm a hypothesis?
No. With a pre-set significance level of 0.05, a p-value < 0.05 allows rejecting the null hypothesis within the adopted model and its assumptions. It does not mean that the research hypothesis is true with 95% probability.
Describe the direction and size of the effect, the confidence interval, the sample size, and the limitations of measurement and participant selection. Also consider multiple testing. A significant result alone does not prove causality or the practical importance of the difference.
When should I use non-parametric tests based on ranks?
Depending on the data and the question, Mann-Whitney U, Wilcoxon, Kruskal-Wallis, or Friedman tests may be useful. Each corresponds to a different arrangement of groups and measurements. I do not automatically interpret every rank test as a comparison of medians; such a conclusion requires additional assumptions.
Sources
- Rusiecka, A., Kujawa, K. (2025). Testy t i ich nieparametryczne odpowiedniki w medycynie. W: K. Laszki-Szcząchor, K. Kujawa (red.), Technologia informacyjna i biostatystyka w medycynie, s. 181-204. Uniwersytet Medyczny we Wrocławiu. A Polish reference for identifying Welch's variant. Its preliminary-testing decision pathway is not adopted as this guide's rule.
- Delacre, M., Lakens, D., Leys, C. (2017). Why Psychologists Should by Default Use Welch’s t-test Instead of Student’s t-test. International Review of Social Psychology, 30(1), 92-101. DOI 10.5334/irsp.82. Rationale for planning Welch and limitations of selection following a variance test. Read alongside the 2022 correction.
- Delacre, M., Lakens, D., Leys, C. (2022). Correction: Why Psychologists Should by Default Use Welch’s t-test Instead of Student’s t-test. International Review of Social Psychology, 35(1), 21. DOI 10.5334/irsp.661. Clarifies sample/population distinctions and simulation conclusions, including strong-skewness limitations.
- NIST/SEMATECH. e-Handbook of Statistical Methods, Two-Sample t-Test for Equal Means. Test-statistic and Welch-Satterthwaite degrees-of-freedom formulas, paired/independent data and two-sided testing.
Check whether the test fits your design
Send the measurement details, the group sizes and your draft results paragraph. Identify the decision you want to check.
Contact StudentSupport


