Paired t-test or Wilcoxon signed rank test on numeric data

Input Values


Note: This page now accepts data where either a comma (,) or point (.) is used as the decimal separator.

Undertake a paired t-test or Wilcoxon signed rank test to test for differences between means (or medians) of paired numeric values.

Inputs are:

  • Type of test desired (paired t-test or Wilcoxon signed rank);
  • desired level of confidence for confidence interval estimation;
  • the desired number of digits after the decimal point in summary results; and
  • two columns of data (including a header row with labels for each column). The data must be paired in rows (ie each row is a pair of corresponding measurements) and the columns must be the same length.

Note: missing values in the data will be omitted from calculations.

For this analysis, the values in the first column are subtracted from the corresponding values in the second column and a t-test (or signed rank test) undertaken to test for deviation of the mean (median) difference from zero. Outputs include:

  • a summary of statistical test results for the selected test, including 2-tailed and 1-tailed for both tails;
  • Shapiro-Wilk test for normality on both sets of measurements and the differences;
  • Note: for groups with < 4 or > 5000 observations it is not possible to calculate Shapiro-Wilks W statistic to test for normality of distribution
  • a numeric summary of the data for each measurement and the difference, including histograms and normal plots;
  • Note: for groups with only one observation or with standard deviation = 0 histograms and quantile plots are not shown.
  • boxplots of the data by group and a plot of confidence intervals about the mean (or median) value for each group.
Type of statistical test to be done?
Paired t-test (Parametric data)
Wilcoxon signed rank test (Non-parametric data)
Confidence level:
Digits after decimal pt:
Paste the data to be analysed in the space below and click on submit (2 columns of paired measurements). Include a header row:
Download example data


  Home  |   About this site  |   Glossary   |   References   |   Links  

This site was created by Ausvet with funding from a range of sources.
It provides a range of epidemiological tools for the use of researchers and epidemiologists, particularly in animal health.
Please send any comments, questions or suggestions to Evan Sergeant
© 2019 Ausvet