Loading the player...

What is a 'T-Test'

A t-test is an analysis of two populations means through the use of statistical examination; a t-test with two samples is commonly used with small sample sizes, testing the difference between the samples when the variances of two normal distributions are not known.

A t-test looks at the t-statistic, the t-distribution and degrees of freedom to determine the probability of difference between populations; the test statistic in the test is known as the t-statistic. To conduct a test with three or more variables, an analysis of variance (ANOVA) must be used.


A form of hypothesis testing, the t-test is just one of many tests used for this purpose. Statisticians must use tests other than the t-test to examine more variables, as well as for test with larger sample sizes. For a large sample size, statisticians use a z-test. Other testing options include the chi-square test and the f-test.

Statistical Analysis of the T-Test

The formula used to calculate the test is a ratio: The top portion of the ratio is the easiest portion to calculate and understand, as it is simply the difference between the means or averages of the two samples. The lower half of the ratio is a measurement of the dispersion, or variability, of the scores. The bottom part of this ratio is known as the standard error of the difference. To compute this part of the ratio, the variance for each sample is determined and is then divided by the number of individuals the compose the sample, or group. These two values are then added together, and a square root is taken of the result.


For example, consider that an analyst wants to study the amount that Pennsylvanians and Californians spend, per month, on clothing. It would not be practical to record the spending habits of every individual (or family) in both states, thus a sample of spending habits is taken from a selected group of individuals from each state. The group may be of any small to moderate size — for this example, assume that the sample group is 200 individuals.

The average amount for Pennsylvanians comes out to $500; the average amount for Californians is $1,000. The t-test questions whether the different between the groups is representative of a true difference between people in Pennsylvania and people in California in general or if it is likely a meaningless statistical difference. In this example, if, theoretically, all Pennsylvanians spent $500 per month on clothing and all Californians spent $1,000 per month on clothing, it is highly unlikely that 200 randomly selected individuals all spent that exact amount, respective to state. Thus, if an analyst or statistician yielded the results listed in the example above, it is safe to conclude that the difference between sample groups is indicative of a significant difference between the populations, as a whole, of each state.

  1. Sampling Distribution

    A sampling distribution is a probability distribution of a statistic ...
  2. Z-Test

    A statistical test used to determine whether two population means ...
  3. Sample

    A sample is a smaller, manageable version of a larger group. ...
  4. Sample Size Neglect

    Sample size neglect occurs when an individual infers too much ...
  5. Simple Random Sample

    A subset of a statistical population in which each member of ...
  6. Sampling Error

    A statistical error to which an analyst exposes a model simply ...
Related Articles
  1. Investing

    Using Historical Volatility To Gauge Future Risk

    Use these calculations to uncover the risk involved in your investments.
  2. Investing

    Hypothesis Testing in Finance: Concept & Examples

    When you're indecisive about an investment, the best way to keep a cool head might be test various hypotheses using the most relevant statistics.
  3. Personal Finance

    Birch Box Review: Is It Worth It?

    Learn more about the convenience of the subscription beauty box industry, and discover why the Birchbox company in particular has become so popular.
  4. Trading

    Trading With Gaussian Models Of Statistics

    The study of statistics originated from Carl Friedrich Gauss and helps us understand markets, prices and probabilities, among other applications.
  5. Insights

    Ace the U.S. Citizenship Test!

    A guide to the U.S. citizenship test for immigrants.
  6. Tech

    New Advances In AI From Google Acquisition DeepMind (GOOG, AAPL)

    DeepMind's text-to-speech system can reproduce human speech patterns and produce music.
  7. Investing

    Find The Right Fit With Probability Distributions

    Discover a few of the most popular probability distributions and how to calculate them.
  8. Financial Advisor

    How To Become A CPA

    If you've ever wondered what it takes to earn the CPA designation, here's your answer. Be prepared for lots of studying and lots of testing.
  9. Investing

    Calculating Covariance for Stocks

    Learn how to figure out how two stocks might move together in the future by calculating covariance.
  1. What assumptions are made when conducting a t-test?

    Learn what a t-test is and discover the five standard assumptions made regarding the validity of sampling and data used in ... Read Answer >>
  2. How can a representative sample lead to sampling bias?

    Learn how using representative samples alone is not enough to make sampling bias negligible and why elements such as randomization ... Read Answer >>
  3. What is the difference between systematic sampling and cluster sampling?

    Learn about the differences between systematic sampling and cluster sampling, including how the samples are created for each ... Read Answer >>
  4. What are the advantages of using a simple random sample to study a larger population?

    Learn how simple random sampling works and what advantages it offers over other sampling methods when selecting a research ... Read Answer >>
  5. What is the difference between a simple random sample and a stratified random sample?

    Learn about the differences between simple random sampling and stratified random sampling, and the advantages of each method. Read Answer >>
  6. How can I use systematic sampling in finance?

    Learn about systematic sampling, how it works and how it can be used in finance, including Monte Carlo simulations that model ... Read Answer >>
Hot Definitions
  1. Diversification

    Diversification is the strategy of investing in a variety of securities in order to lower the risk involved with putting ...
  2. Liquidity

    Liquidity is the degree to which an asset or security can be quickly bought or sold in the market without affecting the asset's ...
  3. Federal Funds Rate

    The federal funds rate is the interest rate at which a depository institution lends funds maintained at the Federal Reserve ...
  4. Call Option

    An agreement that gives an investor the right (but not the obligation) to buy a stock, bond, commodity, or other instrument ...
  5. Standard Deviation

    A measure of the dispersion of a set of data from its mean, calculated as the square root of the variance. The more spread ...
  6. Entrepreneur

    An entrepreneur is an individual who founds and runs a small business and assumes all the risk and reward of the venture.
Trading Center