Introduction
In data analysis, choosing the right statistical test is very important.[1] A wrong choice can give misleading results. One key assumption is the distribution of the data. It shows how values are spread on a scale. Different tests need different types of distribution.[2] For example, when comparing a continuous variable between two independent groups, an unpaired t-test is used if the data are normally distributed. If the data are not normally distributed, the Mann–Whitney U test is used instead.[3] If researchers ignore this, the results can be misleading. Many biomedical researchers and residents skip checking data distribution before analysis. This may be partially due to lack of awareness[4] and partially due unavailability of proper software. In this context, we describe the basics of data distribution and developed a free software application that tests the normality of data.
Normal or Gaussian Distribution
There are several types of probability distributions commonly used in medical research, summarized in Table 1.[5,6]
Table 1.
Common distribution of data in biomedical research
| Distribution | Type | Description | Biomedical example | Typical tests |
|---|---|---|---|---|
| Normal (Gaussian) Distribution | Continuous | Symmetrical, bell-shaped curve. Most values cluster around the mean. | Blood pressure, body weight, or height in healthy populations. | Parametric tests: t-test, ANOVA, Pearson correlation, linear regression |
| Binomial Distribution | Discrete | Models the number of successes in a fixed number of independent trials. | Number of patients who respond to a drug (response vs. no response). | Chi-square test, Fisher’s exact test, logistic regression |
| Poisson Distribution | Discrete | Models the number of events in a fixed time or space interval, where events occur independently. | Number of new cases of a rare disease per month in a hospital. | Poisson regression, goodness-of-fit test for counts |
ANOVA: Analysis of variance, The statistical tests listed are appropriate for data commonly modeled by these distributions, but the tests themselves do not require the data to strictly follow those distributions in all cases
One of the most significant and often applied probability distributions in statistics is the Gaussian distribution, known as the normal distribution. It is named after the German mathematician and physicist Carl Friedrich Gauss.[7] The Gaussian distribution is symmetric and forms a bell-shaped curve [Figure 1]. It is symmetrical all the way around its mean, which is also the mode and median of the distribution.
Figure 1.
Visualization of normal distribution, skewness, and kurtosis
Deviation from Normality
Deviation from normality can be defined as either skewness or kurtosis. Figure 1 shows the skewness and kurtosis pattern.
Skewness (skew: a slant) measures the asymmetry of the data.[8] In simpler terms, it tells researchers whether the data are more concentrated on one side of the average (mean) than the other. It may be of two types – positive or negative. When data are positively skewed, the right-hand tail of the distribution stretches out more. On the other hand, when data are negatively skewed, the left-hand tail extends further.
Kurtosis gives idea about how the data are peaked.[9] It tells researchers whether the data have more extreme values (outliers). The distribution may be of three types: leptokurtic, mesokurtic, and platykurtic [Figure 1]. A leptokurtic distribution has a tall central peak, meaning the data are tightly grouped around the mean but also show more extreme values. A mesokurtic distribution looks similar to the normal distribution, with a moderate peak and balanced tails. In contrast, a platykurtic distribution has a flatter peak and lighter tails, showing that the data are more spread out with fewer extreme values.
Tests for Checking Normal Distribution
Normality can be checked visually (with graphs) or using statistical tests, which give a number and a “P value” to decide if the data are normal or not. In these tests, P < 0.05 indicates that the data are not normally distributed.[10] Some of the tests and their brief descriptions are shown in Table 2.
Table 2.
Tests for checking the normal distribution of data
| Test | What it analyzes | Sample size suitability |
|---|---|---|
| Shapiro–Wilk Test | Compares the sample distribution to a normal distribution | Small to moderate (n <2000) |
| Kolmogorov–Smirnov Test | Compares the empirical cumulative distribution to a reference (normal) distribution | Moderate to large |
| Lilliefors Test | Modified K-S test when the mean/variance is estimated from data | Small to moderate |
| Anderson–Darling Test | Measures deviation between empirical and expected distribution, emphasizing tails | Small to large |
| Cramér–von Mises Test | Compares empirical and theoretical cumulative distributions | Moderate to large |
| D’Agostino–Pearson Test | Combines skewness and kurtosis into one test statistic | Moderate to large |
| Jarque–Bera Test | Uses skewness and kurtosis to test normality | Large (sensitive to sample size) |
| Shapiro–Francia Test | Variation of the Shapiro–Wilk, correlation-based test optimized for larger samples | Moderate to large |
No normality test “confirms” normality; all provide evidence against normality. Sample size cutoffs are guidelines, not strict rules. Tests listed in the table can be carried out in NormSight
Visual methods
1) Histogram: A histogram is a graphical representation of the distribution of numerical (continuous or discrete) data, where values are grouped into contiguous intervals (bins) and the height of each bar represents the frequency (or density) of observations within each interval.[11] By looking at its shape, researchers can get a quick sense of the distribution: A bell-shaped, symmetric histogram suggests that most values are near the average [Figure 2a].
Figure 2.

An example of a (a) histogram and (b) Q-Q plot of normally distributed data
2) Quantile-Quantile Plot: A Q-Q (quantile-quantile) plot is a scatter plot that compares data to a perfectly normal distribution.[12] If the points fall roughly along a straight diagonal line, the data are close to normal [Figure 2b]. Deviations from the line indicate non-normality: Points curving upward at the right suggest a positive skew, and points curving downward at the left suggest a negative skew.
Calculation method
Some of the calculations are described below, and other tests are shown in Table 2.[10,13] For all tests, P < 0.05 indicates that the data are probably not normal.
1) Shapiro–Wilk Test: The Shapiro–Wilk test is a popular method to check for normality. It compares your data with a perfectly normal distribution and tells you how similar they are. This test works well for small- and medium-sized datasets.[3]
2) Kolmogorov–Smirnov Test: The Kolmogorov–Smirnov (K-S) test is another way to see if the data match a normal pattern. It looks at how far the data are from a standard normal curve. This test is usually used for larger datasets, but it is less sensitive to unusual values at the edges (tails) of the data.[14]
3) Anderson–Darling Test: The Anderson–Darling test is similar to the others but pays more attention to the edges of the data, where extreme values occur.[15] It is useful in biomedical research because sometimes rare high or low measurements (like very high blood sugar) can affect results.
A Free Application for Normality Test
There are statistical software packages or online services that provide options to test the distribution of data. However, with an aim to create free software specially for normality tests, an R-based Shiny application was developed. NormSight was designed as a freely accessible application code where users can easily perform different types of normality tests, visualize their data through histograms and Q-Q plots, and receive clear interpretations of the results.
To use the NormSight app, first, researchers need to ensure that their computer has R, R Tools, and RStudio installed. They are available for free:
R: https://cran.r-project.org/bin/windows/base
RStudio: https://posit.co/download/rstudio-desktop
RTools: https://cran.r-project.org/bin/windows/Rtools
Now, researchers need to download a Microsoft Word document (from doi: 10.17632/2jp9j5ytfy.2) that contains the code of the NormSight application. This Word document has commands for installing the required packages and running the software. To open the application, researchers need to first open the RStudio software. On the console, they need to paste the code and click “enter” (in Windows) or “return” (in Macintosh). It will take some time to install the packages and then open the user interface [Figure 3].
Figure 3.
User interface of the NormSight Shiny application running on R
How to Test Data in NormSight
After the app opens, researchers can download [Figure 3] a sample comma-separated value (.csv) file and use it as a template. In this CSV file, they should enter their data and save it. Next, they should click on ‘browse’ and upload the CSV file, select the normality test of their choice, and click on the “Run Full Analysis” button. This will show the result in the “Primary Result” tab. In addition, it will show the central tendency and shape of data distribution, histogram, and Q-Q plot (visuals tab) and compare all test results (all tests summary tab). For using the visualization in a thesis or research paper, they can save the images in JPG or PNG format.
Limitations
This tool is limited by the normality tests available in existing R packages. Therefore, its functionality and accuracy are constrained by the assumptions, algorithms, and updates of those packages. Furthermore, the tool is intended for univariate assessment only and does not replace expert statistical consultation. In addition, several limitations apply universally to normality tests across all statistical methods. These tests provide evidence against normality rather than definitive proof of a normal distribution, and their performance is influenced by sample size. Hence, p-values should not be interpreted in isolation and results should be interpreted alongside visual methods such as histograms and Q–Q plots.
Conclusion
This article highlights a basic understanding of data distribution and its analysis methods. Researchers can use a free R-based Shiny application – NormSight to test normality. This open-source tool can help students, clinicians, and researchers make correct analytical decisions with ease.
Author contributions
We confirm that all authors have read and approved the manuscript for submission. All authors meet authorship criteria, and the manuscript represents honest work.
Conflicts of interest
There are no conflicts of interest.
Use of artificial intelligence (AI)
We have used ChatGPT to correct language and grammar. We have referred to the publisher’s policy of use of AI as depicted in information for authors and assume full responsibility for the content of our manuscript, even those parts produced by an AI tool, and are thus liable for any breach of publication ethics.
Acknowledgements
We thank Sarika Mondal and Ahana Aarshi for their technical help in the visualization of the article.
Funding Statement
Nil.
References
- 1.Ranganathan P. An introduction to statistics:Choosing the correct statistical test. Indian J Crit Care Med. 2021;25:S184–6. doi: 10.5005/jp-journals-10071-23815. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 2.Mishra P, Pandey CM, Singh U, Gupta A, Sahu C, Keshri A. Descriptive statistics and normality tests for statistical data. Ann Card Anaesth. 2019;22:67–72. doi: 10.4103/aca.ACA_157_18. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 3.Mondal H, Mondal S, Majumder R, De R. Conduct common statistical tests online. Indian Dermatol Online J. 2022;13:539–42. doi: 10.4103/idoj.idoj_605_21. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 4.Okoro PE, Karibi EN. Knowledge and use of biostatistics among resident and junior doctors at the University of Port Harcourt Teaching Hospital, Port Harcourt. Niger J Surg. 2019;25:60–3. doi: 10.4103/njs.NJS_37_18. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 5.Viti A, Terzi A, Bertolaccini L. A practical overview on probability distributions. J Thorac Dis. 2015;7:E7–10. doi: 10.3978/j.issn.2072-1439.2015.01.37. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 6.Coskun A, Oosterhuis WP. Statistical distributions commonly used in measurement uncertainty in laboratory medicine. Biochem Med. 2020;30:010101. doi: 10.11613/BM.2020.010101. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 7.Manikandan S. Data transformation. J Pharmacol Pharmacother. 2010;1:126–7. doi: 10.4103/0976-500X.72373. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 8.Trafimow D, Wang T, Wang C. From a sampling precision perspective, skewness is a friend and not an enemy! Educ Psychol Meas. 2019;79:129–50. doi: 10.1177/0013164418764801. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 9.Ghasemi A, Zahediasl S. Normality tests for statistical analysis:A guide for non-statisticians. Int J Endocrinol Metab. 2012;10:486–9. doi: 10.5812/ijem.3505. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 10.Paramasivam G, Rao IR, Prabhu MA. Normality testing in statistics:What clinician-researchers should know. Heart Fail J India. 2024;2:55. [Google Scholar]
- 11.Nuzzo RL. Histograms:A useful data analysis visualization. PM R. 2019;11:309–12. doi: 10.1002/pmrj.12145. [DOI] [PubMed] [Google Scholar]
- 12.Vetter TR. Fundamentals of research data and variables:The devil is in the details. Anesth Analg. 2017;125:1375–80. doi: 10.1213/ANE.0000000000002370. [DOI] [PubMed] [Google Scholar]
- 13.Midway S, White JW. Testing for normality in regression models:Mistakes abound (but may not matter) R Soc Open Sci. 2025;12:241904. doi: 10.1098/rsos.241904. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 14.Park YG. Comments on statistical issues in January 2013. Korean J Fam Med. 2013;34:64–5. doi: 10.4082/kjfm.2013.34.1.64. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 15.Kamath A, Poojari S, Varsha K. Assessing the robustness of normality tests under varying skewness and kurtosis:A practical checklist for public health researchers. BMC Med Res Methodol. 2025;25:206. doi: 10.1186/s12874-025-02641-y. [DOI] [PMC free article] [PubMed] [Google Scholar]


