Select Page
Summarise categorical or continuous data

2-sample t-test for summary data

    Sample 1 Sample 2

Standard deviations  

Sample sizes  

Compare sample means using the 2-sample t-test for summary values. P-values can be calculated for one- or two-tailed comparisons, or compare results to a specified significance level.

Inputs are:
  • - mean values for each sample;
  • - standard deviations for each sample;
  • - sample sizes for each sample;
  • - specified significance level;
  • - number of digits to display in results; and;
  • - whether test is one-tailed or two-tailed.

Outputs include:
  • - difference in sample means;
  • - standard deviation and standard error of the difference;
  • - confidence limits (based on specified significance level) for the means and their difference;
  • - t and P values for the difference in means and the appropriate number of degrees of freedom; and
  • - a plot of the confidence limits.

8 recent calculations

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. Please submit any comments, questions or suggestions here.