One-sample test to compare sample mean or median to population estimate

Input Values

  

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

Compare a sample mean (or median) to a population estimate (default 0) using the 1-sample t-test (or sign test for medians). P-values can be calculated for one- or two-tailed comparisons, and are compared to a specified significance level.

Inputs are:

  • Population estimate of mean or median for comparison (default value is 0);
  • whether to use t-test (means) or sign test (medians);
  • specified significance level;
  • number of digits to display in results;
  • whether test is one-tailed or two-tailed; and
  • sample data.
Outputs include:
  • A summary of the data provided;
  • Confidence limits (based on specified significance level) for the sample mean or median; and
  • P values for the difference between sample mean/median and the specified value;
  • interpretation of the results; and
  • plots of the data distribution and confidence limits for mean/median.

Comparison value (mean or median):
Type of statistical test to be done?
1-sample t-test (Parametric data)
Sign test (Non-parametric data)
Significance level:
One-tailed Two-tailed
Digits after decimal pt:
Paste the data to be summarised in the space below and click on submit. Include a header row:
Download example data


Top

  Home  |   About this site  |   Glossary   |   References   |   Links   |  105 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, particularly in animal health.
Please send any comments, questions or suggestions to Evan Sergeant
© 2017 Ausvet