 Editorial
 Open access
 Published:
Analysis of ttest misuses and SPSS operations in medical research papers
Burns & Trauma volume 7, Article number: 31 (2019)
In medical research papers, the selection of appropriate statistical methods serves as one of the pivotal premises to ensure the quality of papers and credibility of their results [1,2,3]. To correctly perform the statistical analysis of quantitative data, two key points should be considered. One is to identify the type of experimental design correctly, and the other is to check whether data meets the preconditions of parameter test [2,3,4]. Otherwise, it may cause different misuse in some situations and may even draw different or opposite conclusions about the same data.
As one of the most commonly used statistical methods in medical research papers, ttest can be divided into onesample ttest and twosample ttest [3, 4]. Thus, it is inappropriate to compare the means among multiple groups (more than three). Concretely, onesample ttest is used to compare one group’s average value to a single number (a known population mean, for example, the norm). The twosample ttest is a type of inferential statistic used to determine if there is a significant difference between the means of two groups. Furthermore, there are two types of twosample ttest [3, 4]. One is independent sample ttest (group ttest), which is performed when the samples typically consist of independent population. The other is paired (or correlated) sample ttest, which is used when each observation in one group is paired with a related observation in the other group, i.e., the samples typically consist of matched pairs of similar units, or when there are cases of repeated measures.
Note that ttest belongs to the category of parametric test. The assumptions of the parametric test, including independence, normality, and homogeneity of variance, must be met to ensure the correct use of ttest [3, 4]. In addition, according to the theoretical deduction of ttest, it can only be applied to the quantitative data of single factor design, so it is inappropriate to perform ttest for multifactor design. For example, there are multiple independent variables/factors (such as gender and different types and dosage of drugs) and the comparisons among groups after controlling for simple effects of each independent variable.
As a journal editor and reviewer, we often encounter that some authors blindly use ttest to process quantitative data without analyzing the prerequisites of ttest or considering the type of experimental design, especially to independent sample ttest (group ttest). In order to improve the quality of statistical analysis in medical research papers, according to the problems found in the process of reviewing manuscripts, we summarized the following five most common misuses of ttest and analyzed them with examples. We hope that it can provide real help to improve our data analysis ability.
It is particularly noted that all the examples herein are artificially constructed for the purpose of illustration and do not represent actual clinical design and data. They are only for reference in the selection of statistical analysis methods.
Misuse of ttest because data do not obey normal distribution
Normal fitting tests, including the ShapiroWilk test for small sample size (n ≤ 50) or KolmogorovSmirnov test for large sample size (n > 50), usually require the analysis of the original data. However, there is a common and concise method to judge whether the data obey normal distribution, that is, to compare the mean and corresponding standard deviation (SD) of the data. If the mean is much smaller than its standard deviation, then the data may not obey the normal distribution, so ttest may also be inappropriate. In this case, it is better to perform ttest after an appropriate variable transformation (such as logarithm transforms and rank transforms) or perform nonparametric test method for original data.
Example 1
A researcher adopts the independent sample ttest to compare the demographic data (age) between the experimental group and the control group. Table 1 provides the statistical results (see Additional file 1 for the original data). Is this appropriate?
[Analysis]
The data are quantitative data for two independent samples under single factor design. However, from Table 1, we can find that the standard deviation is larger than its mean value in control group. Thus, the age in control group may not meet normal distribution. As a result, it may be inappropriate to analyze this data by the independent sample ttest directly.
[Correction]
Since the sample size of two groups is less than 50, the ShapiroWilk test is more suitable for normal fitting test. Selecting “Analyze➔Descriptive Statistics➔Explore…” and ticking “Normality plots with tests” in the “Plots” dialog box in SPSS. The results show that the age in experimental group accepts the normal distribution hypothesis (W = 0.915, p = 0.080), but the age in control group rejects the normal distribution hypothesis (W = 0.635, p < 0.001). Therefore, appropriate variable transformation should be performed if ttest must be used. In fact, the nonparametric Wilcoxon rank sum W test is a simpler and more suitable statistical method, and the MannWhitney U test method should be selected in this case. Selecting “Analyze➔Nonparametric Tests➔2 Independent Samples…” and ticking “MannWhitney U” in “Test Type” part. After performing the test in SPSS, we have the test statistic U = 116.500 and p = 0.024. As a result, we can conclude that the difference of mean rank has statistical significance between the experimental group and control group, which is completely contrary to the results of independent sample ttest (Table 1). By the way, when a variable does not obey the normal distribution, it is better to report as median with its corresponding first and third quartiles (Q1–Q3) or median with its range, not as mean and standard deviation. In the following parts, all variables are subject to the assumption of normal distribution without special explanation.
Misuse of independent sample ttest because of paired samples
In medical research, beforeafter study in the same patient is often used to compare the effect of a treatment factor (such as drug and operation). This is a typical selfmatching experimental design type, which does not meet the independent assumption of independent sample ttest. In this case, the paired sample ttest is more suitable if the difference value is met normally distributed. Otherwise, the nonparametric test (Wilcoxon signed rank test) of two related samples is recommended.
Example 2
In order to explore the effect of a certain treatment scheme on the scar of burn patients, the scar area of the patients is measured 1 day before and 1 week after treatment, respectively. And the independent sample ttest is used to compare the changes of scar area of the patients before and after treatment. Table 2 shows the statistical results (see Additional file 2 for the original data). Is this appropriate?
[Analysis]
Clearly, the independent assumption of independent sample ttest is not satisfied under the study protocol, and independent sample ttest is inappropriate for the data.
[Correction]
Using the origin data and paired samples ttest, i.e., selecting “Analyze➔Compare Means➔PairedSamples T Test…” in SPSS, we have the test statistic t = 10.025 and p < 0.001. It should be noted that in this example, by comparing the p values obtained by the two methods, we find that the result of the independent sample ttest may underestimate the efficacy of the treatment scheme, though both results indicate that the treatment scheme can significantly reduce the scar area of burn patients.
Misuse of independent sample ttest because there are more than three levels in independent samples
The single factor klevel (k ≥ 3) independent sample design is a widely used experimental design method in medical experiments. For example, to investigate the difference of a physiological index with different disease types, we measured the index of patients with k (k ≥ 3) disease types. In this case, we need to compare the means among k independent samples and determine whether there are any statistically significant differences between the means of three or more independent (unrelated) groups. Because direct multiple use of independent samples ttest will increase the probability of type I error, oneway analysis of variance (ANOVA) is more suitable at this time. If the oneway ANOVA returns a statistically significant result, we accept the alternative hypothesis, which is that there are at least two group means that are statistically significantly different from each other. To determine which specific groups differed from each other, we further need to perform post hoc multiple comparisons. If we want to compare each group with the control group, Dunnett’s test is recommended.
Example 3
For a new antihypertensive drug, we hope to compare the antihypertensive effect of high and lowdose groups with that of placebo group. The independent sample ttest is adopted to compare the lowdose group with the placebo group and the highdose group with the placebo group, respectively. The statistic results are presented in Table 3 (see Additional file 3 for the original data). Is this appropriate?
[Analysis]
These data are typical quantitative data of multigroup independent sample design, also known as the single factor design with multiple levels, and the number of levels is 3. Thus, it is not appropriate to perform the independent sample ttest directly for comparisons with control group.
[Correction]
According to the study design, selecting “Analyze➔Compare Means➔OneWay ANOVA…” and ticking “Dunnett” in the “Post Hoc Multiple Comparisons” dialog box in SPSS, we perform oneway ANOVA and Dunnett’s post hoc test to compare each dose group with the placebo group. The results indicate that there is a statistically significant difference between groups as determined by oneway ANOVA (F = 24.728, p < 0.001). The results of multiple comparisons show that the difference between lowdose group and placebo group is not statistically significant (p = 0.069), which is completely contrary to the results of the independent sample ttest (Table 3). The difference between highdose group and placebo group is still statistically significant (p < 0.001).
Misuse of independent sample ttest because of factorial design data
To understand the effect of two or more independent variables upon a single dependent variable, completely randomized factorial design is often used in medical experiments or clinical trials. A factor is a variable that is controlled and varied during the course of an experiment. In a factorial design, there are two or more factors with multiple levels that are crossed, e.g., two dose levels of drug A and two levels of drug B can be crossed to yield a total of four treatment combinations. Factorial designs offer certain advantages over conventional designs. The design can examine not only the differences among the levels of each factor, but also the interactions among the factors. For quantitative data of factorial design, direct multiple use of independent sample ttest will not only increase the probability of type I error, but also lead to wrong conclusions when there is interaction between various factors. A more appropriate method at this point is to perform ANOVA of factorial design. Taking two factors of independent samples as an example, it is also called the twoway ANOVA of independent samples.
Example 4
To study the difference of pain score between patients with different disease types (burn, trauma, and arthritis) after receiving two treatment schemes (named as scheme A and scheme B), ten patients were recruited for each type of disease and randomly assigned to the possible treatment schemes with equal possibility. For the measured pain scores, independent sample ttests are performed repeatedly to compare the difference between disease types and treatment schemes. Table 4 shows the statistical results (see Additional file 4 for the original data). Is this appropriate?
[Analysis]
This study involves two factors. One is treatment factor with two levels, scheme A and scheme B, while the other is disease type factor with three levels, burns, trauma, and arthritis. Since the patients in each level combination are different, the samples are independent. Therefore, this study belongs to the 2 × 3 factorial design, and the ANOVA of factorial design should be performed for comparative analysis. Firstly, the interaction effect between the factors should be tested. If the interaction effect is not statistically significant, the main effect of each factor can be analyzed. Otherwise, the individual effect of each factor needs to be analyzed separately.
[Correction]
ANOVA of factorial design should be performed using the General Linear Model in SPSS (selecting “Analyze➔General Linear Model➔Univariate…”), and the results show that the interaction term between treatment and disease type reaches the significance level (p < 0.001), indicating that the interaction of these two factors does have an effect on the dependent variable (pain score). Therefore, it is necessary to conduct simple primary effect test for each factor. Since these two factors are independent samples, the “Split File” instruction under dropdown menu of “Data” in SPSS can be used to select qualified samples for independent sample oneway ANOVA. Through the test, in the case of scheme B, we find that there is no statistically significant difference in the pain scores between the burn/trauma and arthritis (p = 0.067/0.187), which is completely contrary to the results of independent sample ttest (Table 4).
Misuse of independent sample ttest because of repeated measurement design
Repeated measurement designs are commonly used in longitudinal studies, such as the dynamic changes over time of temperature, blood pressure, and other indicators, which is often encountered in medical research. The purpose is usually to detect whether there is a statistical significance in the difference of the indicator values at different time points. In practice, many authors usually calculate the mean and standard deviation of each time point, and then carry out independent sample ttest repeatedly for each time point. However, according to the design principle, we know that repeated measures design uses the same subjects with every condition of the research, including the control. Thus, the measurements at different time points are correlated with each other, that is, the samples at different time points are not independent of each other. Roughly speaking, such data are often timedependent. In this case, the appropriate analysis method is ANOVA of repeated measures designs. If there is another factor with independent samples, twoway ANOVA with mixed samples is recommended.
Example 5
To study the difference for a certain indicator at different postoperative time points, 10 patients (5 males and 5 females) are enrolled in the study and the indictor of each of them is measured at 1, 2, 4, and 8 weeks after the operation. The researchers use the independent sample ttest to analyze the difference of this indictor of different time points. The statistical results are presented in Table 5 (see Additional file 5 for the original data). Is this appropriate?
[Analysis]
According to the experimental process of this study, the indicators of each patient are repeatedly measured at 1 week, 2 weeks, 4 weeks, and 8 weeks after the surgery, so the postoperative time serves as a factor of repeated measurement with four levels. In addition, gender is another factor, which is an independent sample at each level. Thus, the overall design was separated by pairwise comparison at different time points through independent sample ttest and fails to take into account the fact that the data on the same subject at different time points are not independent.
[Correction]
Twoway ANOVA with mixed samples should be performed using the General Linear Model in SPSS (selecting “Analyze➔General Linear Model➔Repeated Measures…”). Similarly, since the interaction between gender and postoperative time reaches the level of significance (p < 0.001), it is necessary to perform simple primary effect test. However, since the gender factor is an independent sample and the postoperative time factor is a related sample, the test methods for the two factors are different. For gender factor, four independent sample oneway ANOVA analyses were performed based on the four levels of postoperative time, but for postoperative time factor, two related sample ANOVAs were carried out based on the two levels of gender. Using the original data, we can find that the difference between 1 week after operation and 8 weeks after operation is not statistically significant in males (p = 0.057), but there is a significant difference between 8 weeks after operation and 1 week after operation in females (p = 0.045), which was completely contrary to the results of independent sample ttest (Table 5).
In summary, in order to effectively reduce misuse of statistical methods and improve credibility of the statistical results, it is necessary to carefully consider the experimental design type, distribution characteristics of the data, and other relevant factors. Concretely, we should meticulously review the applicable preconditions of each statistical analysis technique and reasonably select the appropriate method before analysis of quantitative data. In this paper, the five cases of most commonly misused ttests are summarized, with the causes of each misuse analyzed and the more appropriate statistical methods are also offered in SPSS. By doing so, we believe that this paper can be helpful to the writing and editing of biomedical research papers.
Availability of data and materials
All artificially constructed data are presented in the tables and additional files.
Abbreviations
 ANOVA:

Analysis of variance
 SD:

Standard deviation
References
Bahar B, Pambuccian SE, Barkan GA, Akdas Y. The use and misuse of statistical methods in cytopathology studies: review of 6 journals. Laboratory Medicine. 2019;50(1):8–15.
Hall JC, Hill D, Watts JM. Misuse of statistical methods in the Australasian surgical literature. Aust N Z J Surg. 1982;52(5):541–3.
Gore SM, Jones IG, Rytter EC. Misuse of statistical methods: critical assessment of articles in BMJ from January to March 1976. Br Med J. 1977;6053(1):85–7.
Skaik Y. The bread and butter of statistical analysis “ttest”: uses and misuses. Pak J Med Sci. 2015;31(6):1558–9.
Acknowledgements
Not applicable.
Funding
Not applicable
Author information
Authors and Affiliations
Contributions
The conception and design was developed by GL and KW. The article drafting and revising were performed by WF and KW. The data analysis and interpretation, revision, and final approval of article were carried out by WF, GL, and KW.
Corresponding author
Ethics declarations
Ethics approval and consent to participate
Not applicable
Consent for publication
Not applicable
Competing interests
The authors declare that they have no competing interests.
Supplementary information
Additional file 1:
The original data of the Example 1.
Additional file 2:
The original data of the Example 2.
Additional file 3:
The original data of the Example 3.
Additional file 4:
The original data of the Example 4.
Additional file 5:
The original data of the Example 5.
Rights and permissions
Open Access This article is distributed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made. The Creative Commons Public Domain Dedication waiver (http://creativecommons.org/publicdomain/zero/1.0/) applies to the data made available in this article, unless otherwise stated.
About this article
Cite this article
Liang, G., Fu, W. & Wang, K. Analysis of ttest misuses and SPSS operations in medical research papers. Burn Trauma 7, 31 (2019). https://doi.org/10.1186/s4103801901703
Received:
Accepted:
Published:
DOI: https://doi.org/10.1186/s4103801901703