## 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.

Next Up

## BREAKING DOWN 'T-Test'

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.

## Example

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.

RELATED TERMS
1. ### Sampling Distribution

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

A z-test is a statistical test used to determine whether two ...
3. ### Sample

A sample is a smaller, manageable version of a larger group. ...
4. ### Central Limit Theorem - CLT

A statistical theory that states that given a sufficiently large ...
5. ### Systematic Sampling

Systematic sampling is a probability sampling method in which ...
6. ### T Distribution

A T distribution is a type of probability function that is appropriate ...
Related Articles
1. Investing

### How to Use Stratified Random Sampling

Stratified random sampling is a technique best used with a sample population easily broken into distinct subgroups. Samples are then taken from each subgroup based on the ratio of the subgroup’s ...
2. Investing

### Using Historical Volatility To Gauge Future Risk

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

### How Vanguard Index Funds Work

Learn how Vanguard index funds work. See how the index sampling technique allows Vanguard to charge low expense ratios that can save investors money.

### Exploring the Exponentially Weighted Moving Average

Learn how to calculate a metric that improves on simple variance.
5. Insights

### Which Consumer Genetic Tests Are FDA-Approved?

Now you can get some genetic tests without going to a doctor. Should you?

### 5 Powerful Website Tools Every Advisor Needs

Top-performing financial advisor websites have these five features in common.
7. Managing Wealth

### An Investor's Guide To Bank Stress-Testing

Just how are bank stress tests performed and what is the logic behind them? And is a stress test useful for evaluating a bank's stock?
8. Investing

### Find the right fit with probability distributions

Discover a few of the most popular probability distributions and how to calculate them.
9. Personal Finance

### 8 Signs Your Neighborhood Is On The Upswing

If you were hard-hit by the real estate crash, you may be wondering when things will get better for you. We show you how to keep tabs.
RELATED FAQS
1. ### What's the difference between a representative sample and a random sample?

Explore the differences between representative samples and random samples, and discover how they are often used in tandem ... Read Answer >>
2. ### 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 disadvantages of using a simple random sample to approximate a larger ...

Learn what a simple random sample is, how researchers use it as a statistical tool and the disadvantages it carries when ... Read Answer >>
5. ### What are the pros and cons of stratified random sampling?

Stratified random sampling provides a more accurate sampling of a population, but can be disadvantageous when researchers ... Read Answer >>
6. ### What is the difference between the standard error of means and standard deviation?

Learn about the difference between the standard error of the mean and the standard deviation and how standard deviation is ... Read Answer >>
Hot Definitions
1. ### Gross Margin

A company's total sales revenue minus its cost of goods sold, divided by the total sales revenue, expressed as a percentage. ...
2. ### Inflation

Inflation is the rate at which prices for goods and services is rising and the worth of currency is dropping.
3. ### Discount Rate

Discount rate is the interest rate charged to commercial banks and other depository institutions for loans received from ...
4. ### Economies of Scale

Economies of scale refer to reduced costs per unit that arise from increased total output of a product. For example, a larger ...
5. ### Quick Ratio

The quick ratio measures a company’s ability to meet its short-term obligations with its most liquid assets.
6. ### Leverage

Leverage results from using borrowed capital as a source of funding when investing to expand the firm's asset base and generate ...