Test Statistics | Definition, Interpretation, And Examples - Scribbr

Have a language expert improve your writing

Proofreading Services

Run a free plagiarism check in 10 minutes

Plagiarism Checker

Generate accurate citations for free

Citation Generator

Statistics

  • Statistical analysis step by step
  • Data collection
    • Data collection guide
    • Experimental design
    • Populations and samples
      • Populations and samples
      • Sampling methods
    • Types of variables
      • Types of variables
      • Levels of measurement
      • Nominal data
      • Ordinal data
      • Interval data
      • Ratio data
    • Data cleansing
      • Data cleansing guide
      • Missing data
      • Outliers
  • Descriptive statistics
    • Overview descriptive statistics
    • Measures of central tendency
      • Overview
      • Mode
      • Median
      • Mean
      • Geometric mean
    • Measures of variability
      • Overview
      • Range
      • Interquartile range
      • Standard deviation
      • Variance
    • Frequency distribution
      • Frequency distribution
      • Quartiles & quantiles
  • Probability (distributions)
    • Probability distributions
      • Overview
      • Normal distribution
      • Standard normal distribution
      • Poisson distribution
      • Chi-square distribution
      • Chi-square table
      • t distribution
      • t table
  • Inferential statistics
    • Overview inferential statistics
    • Degrees of freedom
    • Central limit theorem
    • Parameters & test statistics
      • Parameters vs. test statistics
      • Test statistics
    • Estimation
      • Standard error
      • Confidence intervals
    • Hypothesis testing
      • Hypothesis testing guide
      • Null vs. alternative hypotheses
      • Statistical significance
      • p value
      • Type I & Type II errors
      • Statistical power
  • Statistical tests
    • Choosing the right test
    • Assumptions for hypothesis testing
      • Skewness
      • Kurtosis
    • Correlation
      • Correlation vs. causation
      • Correlation coefficient
      • Pearson correlation
    • Regression analysis
      • Simple linear regression
      • Multiple linear regression
      • Linear regression in R
    • t tests
    • ANOVAs
      • One-way ANOVA
      • Two-way ANOVA
      • ANOVA in R
    • Chi-square
      • Overview chi-square tests
      • Chi-square goodness of fit test
      • Chi-square test of independence
    • Effect size
      • Overview of effect sizes
      • Coefficient of determination
    • Model selection
      • Akaike information criterion
  • Reporting statistics in APA

Interesting topics

  • Parts of speech
  • Working with sources
  • IEEE
  • Commonly confused words
  • Commas
  • Definitions
  • UK vs. US English
  • Research bias
  • Nouns and pronouns
  • AMA style
  • College essay
  • Sentence structure
  • Verbs
  • Common mistakes
  • Effective communication
  • Using AI tools
  • Fallacies
  • Rhetoric
  • Plurals
  • APA Style 6th edition
  • Applying to graduate school
  • Statistics
  • Chicago Style
  • Language rules
  • Methodology
  • MLA Style
  • Research paper
  • Academic writing
  • Starting the research process
  • Dissertation
  • Essay
  • Tips
  • APA Style 7th edition
  • APA citation examples
  • Citing sources
  • Plagiarism
Try our other services

Proofreading & Editing

Have a human editor polish your writing to ensure your arguments are judged on merit, not grammar errors.

Get expert writing help

AI Proofreader

Get unlimited proofreading for 30 days

Try for free

Plagiarism Checker

Compare your paper to billions of pages and articles with Scribbr’s plagiarism checker.

Run a free check

Citation Generator

Generate accurate APA, MLA, and Chicago citations for free with Scribbr's Citation Generator.

Start citing

Paraphrasing Tool

Rewrite and paraphrase texts instantly with our AI-powered paraphrasing tool.

Try for free

Grammar Checker

Eliminate grammar errors and improve your writing with our free AI-powered grammar checker.

Try for free

Test statistics | Definition, Interpretation, and Examples

Published on July 17, 2020 by Rebecca Bevans. Revised on June 22, 2023.

The test statistic is a number calculated from a statistical test of a hypothesis. It shows how closely your observed data match the distribution expected under the null hypothesis of that statistical test.

The test statistic is used to calculate the p value of your results, helping to decide whether to reject your null hypothesis.

Table of contents

  1. What exactly is a test statistic?
  2. Types of test statistics
  3. Interpreting test statistics
  4. Reporting test statistics
  5. Other interesting articles
  6. Frequently asked questions about test statistics

What exactly is a test statistic?

A test statistic describes how closely the distribution of your data matches the distribution predicted under the null hypothesis of the statistical test you are using.

The distribution of data is how often each observation occurs, and can be described by its central tendency and variation around that central tendency. Different statistical tests predict different types of distributions, so it’s important to choose the right statistical test for your hypothesis.

The test statistic summarizes your observed data into a single number using the central tendency, variation, sample size, and number of predictor variables in your statistical model.

Generally, the test statistic is calculated as the pattern in your data (i.e., the correlation between variables or difference between groups) divided by the variance in the data (i.e., the standard deviation).

Test statistic example
You are testing the relationship between temperature and flowering date for a certain type of apple tree. You use a long-term data set that tracks temperature and flowering dates from the past 25 years by randomly sampling 100 trees every year in an experimental field.

  • Null hypothesis (H0): There is no correlation between temperature and flowering date.
  • Alternate hypothesis (HA or H1): There is a correlation between temperature and flowering date.

To test this hypothesis you perform a regression test, which generates a t value as its test statistic. The t value compares the observed correlation between these variables to the null hypothesis of zero correlation.

Receive feedback on language, structure, and formatting

Professional editors proofread and edit your paper by focusing on:

  • Academic style
  • Vague sentences
  • Grammar
  • Style consistency

See an example

Types of test statistics

Below is a summary of the most common test statistics, their hypotheses, and the types of statistical tests that use them.

Different statistical tests will have slightly different ways of calculating these test statistics, but the underlying hypotheses and interpretations of the test statistic stay the same.

Test statistic Null and alternative hypotheses Statistical tests that use it
t value Null: The means of two groups are equal

Alternative: The means of two groups are not equal

  • T test
  • Regression tests
z value Null: The means of two groups are equal

Alternative:The means of two groups are not equal

  • Z test
F value Null: The variation among two or more groups is greater than or equal to the variation between the groups

Alternative: The variation among two or more groups is smaller than the variation between the groups

  • ANOVA
  • ANCOVA
  • MANOVA
X2-value Null: Two samples are independent

Alternative: Two samples are not independent (i.e., they are correlated)

  • Chi-squared test
  • Non-parametric correlation tests

In practice, you will almost always calculate your test statistic using a statistical program (R, SPSS, Excel, etc.), which will also calculate the p value of the test statistic. However, formulas to calculate these statistics by hand can be found online.

Test statistic example
To test your hypothesis about temperature and flowering dates, you perform a regression test. The regression test generates:

  • a regression coefficient of 0.36
  • a t value comparing that coefficient to the predicted range of regression coefficients under the null hypothesis of no relationship

The t value of the regression test is 2.36 – this is your test statistic.

Interpreting test statistics

For any combination of sample sizes and number of predictor variables, a statistical test will produce a predicted distribution for the test statistic. This shows the most likely range of values that will occur if your data follows the null hypothesis of the statistical test.

The more extreme your test statistic – the further to the edge of the range of predicted test values it is – the less likely it is that your data could have been generated under the null hypothesis of that statistical test.

The agreement between your calculated test statistic and the predicted values is described by the p value. The smaller the p value, the less likely your test statistic is to have occurred under the null hypothesis of the statistical test.

Because the test statistic is generated from your observed data, this ultimately means that the smaller the p value, the less likely it is that your data could have occurred if the null hypothesis was true.

Test statistic example
Your calculated t value of 2.36 is far from the expected range of t values under the null hypothesis, and the p value is < 0.01. This means that you would expect to see a t value as large or larger than 2.36 less than 1% of the time if the true relationship between temperature and flowering dates was 0.

Therefore, it is statistically unlikely that your observed data could have occurred under the null hypothesis. Using a significance threshold of 0.05, you can say that the result is statistically significant.

Reporting test statistics

Test statistics can be reported in the results section of your research paper along with the sample size, p value of the test, and any characteristics of your data that will help to put these results into context.

Whether or not you need to report the test statistic depends on the type of test you are reporting.

Type of test Which statistics to report
Correlation and regression tests
  • Correlation coefficient or regression coefficient for each predictor variable
  • p value for each predictor
Tests of difference between groups
  • Test statistic
  • Degrees of freedom
  • p value for the test statistic
Example: Reporting the results of a regression test
In your survey of apple tree flowering dates, it is not necessary to report the test statistic – the regression coefficient and the p value are sufficient:

By surveying a random subset of 100 trees over 25 years we found a statistically significant (p < 0.01) positive correlation between temperature and flowering dates (R2 = 0.36, SD = 0.057).

Example: Reporting the results of a t test
In a t test of the difference between two groups, it is necessary to report the test statistic as well as the degrees of freedom and the p value:

In our comparison of mouse diet A and mouse diet B, we found that the lifespan on diet A  (M = 2.1 years; SD = 0.12) was significantly shorter than the lifespan on diet B (M = 2.6 years; SD = 0.1), with an average difference of 6 months (t(80) = -12.75; p < 0.01).

Here's why students love Scribbr's proofreading services

Trustpilot

Discover proofreading & editing

Other interesting articles

If you want to know more about statistics, methodology, or research bias, make sure to check out some of our other articles with explanations and examples.

Statistics

  • Confidence interval
  • Kurtosis
  • Descriptive statistics
  • Measures of central tendency
  • Correlation coefficient
  • p value

Methodology

  • Cluster sampling
  • Stratified sampling
  • Types of interviews
  • Case study
  • Cohort study
  • Thematic analysis

Research bias

  • Implicit bias
  • Cognitive bias
  • Survivorship bias
  • Availability heuristic
  • Nonresponse bias
  • Regression to the mean

Frequently asked questions about test statistics

What is a test statistic?

A test statistic is a number calculated by a statistical test. It describes how far your observed data is from the null hypothesis of no relationship between variables or no difference among sample groups.

The test statistic tells you how different two or more groups are from the overall population mean, or how different a linear slope is from the slope predicted by a null hypothesis. Different test statistics are used in different statistical tests.

How do you calculate a test statistic?

The formula for the test statistic depends on the statistical test being used.

Generally, the test statistic is calculated as the pattern in your data (i.e. the correlation between variables or difference between groups) divided by the variance in the data (i.e. the standard deviation).

How do I know which test statistic to use?

The test statistic you use will be determined by the statistical test.

You can choose the right statistical test by looking at what type of data you have collected and what type of relationship you want to test.

What factors affect the test statistic?

The test statistic will change based on the number of observations in your data, how variable your observations are, and how strong the underlying patterns in the data are.

For example, if one data set has higher variability while another has lower variability, the first data set will produce a test statistic closer to the null hypothesis, even if the true correlation between two variables is the same in either data set.

What is statistical significance?

Statistical significance is a term used by researchers to state that it is unlikely their observations could have occurred under the null hypothesis of a statistical test. Significance is usually denoted by a p-value, or probability value.

Statistical significance is arbitrary – it depends on the threshold, or alpha value, chosen by the researcher. The most common threshold is p < 0.05, which means that the data is likely to occur less than 5% of the time under the null hypothesis.

When the p-value falls below the chosen alpha value, then we say the result of the test is statistically significant.

Cite this Scribbr article

If you want to cite this source, you can copy and paste the citation or click the “Cite this Scribbr article” button to automatically add the citation to our free Citation Generator.

Bevans, R. (2023, June 22). Test statistics | Definition, Interpretation, and Examples. Scribbr. Retrieved February 24, 2026, from https://www.scribbr.com/statistics/test-statistic/

Cite this article
Is this article helpful?
266 52 You have already voted. Thanks :-) Your vote is saved :-) Processing your vote... Rebecca Bevans

Rebecca Bevans

Rebecca is working on her PhD in soil ecology and spends her free time writing. She's very happy to be able to nerd out about statistics with all of you. Why do I see ads? Ads help us keep our tools free for everyone. Scribbr customers enjoy an ad-free experience!

Other students also liked

Understanding P values | Definition and Examples

The p-value shows the likelihood of your data occurring under the null hypothesis. P-values help determine statistical significance. 1219

Choosing the Right Statistical Test | Types & Examples

Your choice of statistical test depends on the types of variables you're dealing with and whether your data meets certain assumptions. 3170

What is Effect Size and Why Does It Matter? (Examples)

Effect size tells you how meaningful the relationship between variables or the difference between groups is. 466

What is your plagiarism score?

Scribbr Plagiarism Checker

Tag » What Is The Test Statistic