Hypothesis Testing Calculator

Related: confidence interval calculator, type ii error.

The first step in hypothesis testing is to calculate the test statistic. The formula for the test statistic depends on whether the population standard deviation (σ) is known or unknown. If σ is known, our hypothesis test is known as a z test and we use the z distribution. If σ is unknown, our hypothesis test is known as a t test and we use the t distribution. Use of the t distribution relies on the degrees of freedom, which is equal to the sample size minus one. Furthermore, if the population standard deviation σ is unknown, the sample standard deviation s is used instead. To switch from σ known to σ unknown, click on $\boxed{\sigma}$ and select $\boxed{s}$ in the Hypothesis Testing Calculator.

Next, the test statistic is used to conduct the test using either the p-value approach or critical value approach. The particular steps taken in each approach largely depend on the form of the hypothesis test: lower tail, upper tail or two-tailed. The form can easily be identified by looking at the alternative hypothesis (H a ). If there is a less than sign in the alternative hypothesis then it is a lower tail test, greater than sign is an upper tail test and inequality is a two-tailed test. To switch from a lower tail test to an upper tail or two-tailed test, click on $\boxed{\geq}$ and select $\boxed{\leq}$ or $\boxed{=}$, respectively.

In the p-value approach, the test statistic is used to calculate a p-value. If the test is a lower tail test, the p-value is the probability of getting a value for the test statistic at least as small as the value from the sample. If the test is an upper tail test, the p-value is the probability of getting a value for the test statistic at least as large as the value from the sample. In a two-tailed test, the p-value is the probability of getting a value for the test statistic at least as unlikely as the value from the sample.

To test the hypothesis in the p-value approach, compare the p-value to the level of significance. If the p-value is less than or equal to the level of signifance, reject the null hypothesis. If the p-value is greater than the level of significance, do not reject the null hypothesis. This method remains unchanged regardless of whether it's a lower tail, upper tail or two-tailed test. To change the level of significance, click on $\boxed{.05}$. Note that if the test statistic is given, you can calculate the p-value from the test statistic by clicking on the switch symbol twice.

In the critical value approach, the level of significance ($\alpha$) is used to calculate the critical value. In a lower tail test, the critical value is the value of the test statistic providing an area of $\alpha$ in the lower tail of the sampling distribution of the test statistic. In an upper tail test, the critical value is the value of the test statistic providing an area of $\alpha$ in the upper tail of the sampling distribution of the test statistic. In a two-tailed test, the critical values are the values of the test statistic providing areas of $\alpha / 2$ in the lower and upper tail of the sampling distribution of the test statistic.

To test the hypothesis in the critical value approach, compare the critical value to the test statistic. Unlike the p-value approach, the method we use to decide whether to reject the null hypothesis depends on the form of the hypothesis test. In a lower tail test, if the test statistic is less than or equal to the critical value, reject the null hypothesis. In an upper tail test, if the test statistic is greater than or equal to the critical value, reject the null hypothesis. In a two-tailed test, if the test statistic is less than or equal the lower critical value or greater than or equal to the upper critical value, reject the null hypothesis.

When conducting a hypothesis test, there is always a chance that you come to the wrong conclusion. There are two types of errors you can make: Type I Error and Type II Error. A Type I Error is committed if you reject the null hypothesis when the null hypothesis is true. Ideally, we'd like to accept the null hypothesis when the null hypothesis is true. A Type II Error is committed if you accept the null hypothesis when the alternative hypothesis is true. Ideally, we'd like to reject the null hypothesis when the alternative hypothesis is true.

Hypothesis testing is closely related to the statistical area of confidence intervals. If the hypothesized value of the population mean is outside of the confidence interval, we can reject the null hypothesis. Confidence intervals can be found using the Confidence Interval Calculator . The calculator on this page does hypothesis tests for one population mean. Sometimes we're interest in hypothesis tests about two population means. These can be solved using the Two Population Calculator . The probability of a Type II Error can be calculated by clicking on the link at the bottom of the page.

t-test Calculator

Table of contents

Welcome to our t-test calculator! Here you can not only easily perform one-sample t-tests , but also two-sample t-tests , as well as paired t-tests .

Do you prefer to find the p-value from t-test, or would you rather find the t-test critical values? Well, this t-test calculator can do both! 😊

What does a t-test tell you? Take a look at the text below, where we explain what actually gets tested when various types of t-tests are performed. Also, we explain when to use t-tests (in particular, whether to use the z-test vs. t-test) and what assumptions your data should satisfy for the results of a t-test to be valid. If you've ever wanted to know how to do a t-test by hand, we provide the necessary t-test formula, as well as tell you how to determine the number of degrees of freedom in a t-test.

When to use a t-test?

A t-test is one of the most popular statistical tests for location , i.e., it deals with the population(s) mean value(s).

There are different types of t-tests that you can perform:

  • A one-sample t-test;
  • A two-sample t-test; and
  • A paired t-test.

In the next section , we explain when to use which. Remember that a t-test can only be used for one or two groups . If you need to compare three (or more) means, use the analysis of variance ( ANOVA ) method.

The t-test is a parametric test, meaning that your data has to fulfill some assumptions :

  • The data points are independent; AND
  • The data, at least approximately, follow a normal distribution .

If your sample doesn't fit these assumptions, you can resort to nonparametric alternatives. Visit our Mann–Whitney U test calculator or the Wilcoxon rank-sum test calculator to learn more. Other possibilities include the Wilcoxon signed-rank test or the sign test.

Which t-test?

Your choice of t-test depends on whether you are studying one group or two groups:

One sample t-test

Choose the one-sample t-test to check if the mean of a population is equal to some pre-set hypothesized value .

The average volume of a drink sold in 0.33 l cans — is it really equal to 330 ml?

The average weight of people from a specific city — is it different from the national average?

Two-sample t-test

Choose the two-sample t-test to check if the difference between the means of two populations is equal to some pre-determined value when the two samples have been chosen independently of each other.

In particular, you can use this test to check whether the two groups are different from one another .

The average difference in weight gain in two groups of people: one group was on a high-carb diet and the other on a high-fat diet.

The average difference in the results of a math test from students at two different universities.

This test is sometimes referred to as an independent samples t-test , or an unpaired samples t-test .

Paired t-test

A paired t-test is used to investigate the change in the mean of a population before and after some experimental intervention , based on a paired sample, i.e., when each subject has been measured twice: before and after treatment.

In particular, you can use this test to check whether, on average, the treatment has had any effect on the population .

The change in student test performance before and after taking a course.

The change in blood pressure in patients before and after administering some drug.

How to do a t-test?

So, you've decided which t-test to perform. These next steps will tell you how to calculate the p-value from t-test or its critical values, and then which decision to make about the null hypothesis.

Decide on the alternative hypothesis :

Use a two-tailed t-test if you only care whether the population's mean (or, in the case of two populations, the difference between the populations' means) agrees or disagrees with the pre-set value.

Use a one-tailed t-test if you want to test whether this mean (or difference in means) is greater/less than the pre-set value.

Compute your T-score value :

Formulas for the test statistic in t-tests include the sample size , as well as its mean and standard deviation . The exact formula depends on the t-test type — check the sections dedicated to each particular test for more details.

Determine the degrees of freedom for the t-test:

The degrees of freedom are the number of observations in a sample that are free to vary as we estimate statistical parameters. In the simplest case, the number of degrees of freedom equals your sample size minus the number of parameters you need to estimate . Again, the exact formula depends on the t-test you want to perform — check the sections below for details.

The degrees of freedom are essential, as they determine the distribution followed by your T-score (under the null hypothesis). If there are d degrees of freedom, then the distribution of the test statistics is the t-Student distribution with d degrees of freedom . This distribution has a shape similar to N(0,1) (bell-shaped and symmetric) but has heavier tails . If the number of degrees of freedom is large (>30), which generically happens for large samples, the t-Student distribution is practically indistinguishable from N(0,1).

💡 The t-Student distribution owes its name to William Sealy Gosset, who, in 1908, published his paper on the t-test under the pseudonym "Student". Gosset worked at the famous Guinness Brewery in Dublin, Ireland, and devised the t-test as an economical way to monitor the quality of beer. Cheers! 🍺🍺🍺

p-value from t-test

Recall that the p-value is the probability (calculated under the assumption that the null hypothesis is true) that the test statistic will produce values at least as extreme as the T-score produced for your sample . As probabilities correspond to areas under the density function, p-value from t-test can be nicely illustrated with the help of the following pictures:

p-value from t-test

The following formulae say how to calculate p-value from t-test. By cdf t,d we denote the cumulative distribution function of the t-Student distribution with d degrees of freedom:

p-value from left-tailed t-test:

p-value = cdf t,d (t score )

p-value from right-tailed t-test:

p-value = 1 − cdf t,d (t score )

p-value from two-tailed t-test:

p-value = 2 × cdf t,d (−|t score |)

or, equivalently: p-value = 2 − 2 × cdf t,d (|t score |)

However, the cdf of the t-distribution is given by a somewhat complicated formula. To find the p-value by hand, you would need to resort to statistical tables, where approximate cdf values are collected, or to specialized statistical software. Fortunately, our t-test calculator determines the p-value from t-test for you in the blink of an eye!

t-test critical values

Recall, that in the critical values approach to hypothesis testing, you need to set a significance level, α, before computing the critical values , which in turn give rise to critical regions (a.k.a. rejection regions).

Formulas for critical values employ the quantile function of t-distribution, i.e., the inverse of the cdf :

Critical value for left-tailed t-test: cdf t,d -1 (α)

critical region:

(-∞, cdf t,d -1 (α)]

Critical value for right-tailed t-test: cdf t,d -1 (1-α)

[cdf t,d -1 (1-α), ∞)

Critical values for two-tailed t-test: ±cdf t,d -1 (1-α/2)

(-∞, -cdf t,d -1 (1-α/2)] ∪ [cdf t,d -1 (1-α/2), ∞)

To decide the fate of the null hypothesis, just check if your T-score lies within the critical region:

If your T-score belongs to the critical region , reject the null hypothesis and accept the alternative hypothesis.

If your T-score is outside the critical region , then you don't have enough evidence to reject the null hypothesis.

How to use our t-test calculator

Choose the type of t-test you wish to perform:

A one-sample t-test (to test the mean of a single group against a hypothesized mean);

A two-sample t-test (to compare the means for two groups); or

A paired t-test (to check how the mean from the same group changes after some intervention).

Two-tailed;

Left-tailed; or

Right-tailed.

This t-test calculator allows you to use either the p-value approach or the critical regions approach to hypothesis testing!

Enter your T-score and the number of degrees of freedom . If you don't know them, provide some data about your sample(s): sample size, mean, and standard deviation, and our t-test calculator will compute the T-score and degrees of freedom for you .

Once all the parameters are present, the p-value, or critical region, will immediately appear underneath the t-test calculator, along with an interpretation!

One-sample t-test

The null hypothesis is that the population mean is equal to some value μ 0 \mu_0 μ 0 ​ .

The alternative hypothesis is that the population mean is:

  • different from μ 0 \mu_0 μ 0 ​ ;
  • smaller than μ 0 \mu_0 μ 0 ​ ; or
  • greater than μ 0 \mu_0 μ 0 ​ .

One-sample t-test formula :

  • μ 0 \mu_0 μ 0 ​ — Mean postulated in the null hypothesis;
  • n n n — Sample size;
  • x ˉ \bar{x} x ˉ — Sample mean; and
  • s s s — Sample standard deviation.

Number of degrees of freedom in t-test (one-sample) = n − 1 n-1 n − 1 .

The null hypothesis is that the actual difference between these groups' means, μ 1 \mu_1 μ 1 ​ , and μ 2 \mu_2 μ 2 ​ , is equal to some pre-set value, Δ \Delta Δ .

The alternative hypothesis is that the difference μ 1 − μ 2 \mu_1 - \mu_2 μ 1 ​ − μ 2 ​ is:

  • Different from Δ \Delta Δ ;
  • Smaller than Δ \Delta Δ ; or
  • Greater than Δ \Delta Δ .

In particular, if this pre-determined difference is zero ( Δ = 0 \Delta = 0 Δ = 0 ):

The null hypothesis is that the population means are equal.

The alternate hypothesis is that the population means are:

  • μ 1 \mu_1 μ 1 ​ and μ 2 \mu_2 μ 2 ​ are different from one another;
  • μ 1 \mu_1 μ 1 ​ is smaller than μ 2 \mu_2 μ 2 ​ ; and
  • μ 1 \mu_1 μ 1 ​ is greater than μ 2 \mu_2 μ 2 ​ .

Formally, to perform a t-test, we should additionally assume that the variances of the two populations are equal (this assumption is called the homogeneity of variance ).

There is a version of a t-test that can be applied without the assumption of homogeneity of variance: it is called a Welch's t-test . For your convenience, we describe both versions.

Two-sample t-test if variances are equal

Use this test if you know that the two populations' variances are the same (or very similar).

Two-sample t-test formula (with equal variances) :

where s p s_p s p ​ is the so-called pooled standard deviation , which we compute as:

  • Δ \Delta Δ — Mean difference postulated in the null hypothesis;
  • n 1 n_1 n 1 ​ — First sample size;
  • x ˉ 1 \bar{x}_1 x ˉ 1 ​ — Mean for the first sample;
  • s 1 s_1 s 1 ​ — Standard deviation in the first sample;
  • n 2 n_2 n 2 ​ — Second sample size;
  • x ˉ 2 \bar{x}_2 x ˉ 2 ​ — Mean for the second sample; and
  • s 2 s_2 s 2 ​ — Standard deviation in the second sample.

Number of degrees of freedom in t-test (two samples, equal variances) = n 1 + n 2 − 2 n_1 + n_2 - 2 n 1 ​ + n 2 ​ − 2 .

Two-sample t-test if variances are unequal (Welch's t-test)

Use this test if the variances of your populations are different.

Two-sample Welch's t-test formula if variances are unequal:

  • s 1 s_1 s 1 ​ — Standard deviation in the first sample;
  • s 2 s_2 s 2 ​ — Standard deviation in the second sample.

The number of degrees of freedom in a Welch's t-test (two-sample t-test with unequal variances) is very difficult to count. We can approximate it with the help of the following Satterthwaite formula :

Alternatively, you can take the smaller of n 1 − 1 n_1 - 1 n 1 ​ − 1 and n 2 − 1 n_2 - 1 n 2 ​ − 1 as a conservative estimate for the number of degrees of freedom.

🔎 The Satterthwaite formula for the degrees of freedom can be rewritten as a scaled weighted harmonic mean of the degrees of freedom of the respective samples: n 1 − 1 n_1 - 1 n 1 ​ − 1 and n 2 − 1 n_2 - 1 n 2 ​ − 1 , and the weights are proportional to the standard deviations of the corresponding samples.

As we commonly perform a paired t-test when we have data about the same subjects measured twice (before and after some treatment), let us adopt the convention of referring to the samples as the pre-group and post-group.

The null hypothesis is that the true difference between the means of pre- and post-populations is equal to some pre-set value, Δ \Delta Δ .

The alternative hypothesis is that the actual difference between these means is:

Typically, this pre-determined difference is zero. We can then reformulate the hypotheses as follows:

The null hypothesis is that the pre- and post-means are the same, i.e., the treatment has no impact on the population .

The alternative hypothesis:

  • The pre- and post-means are different from one another (treatment has some effect);
  • The pre-mean is smaller than the post-mean (treatment increases the result); or
  • The pre-mean is greater than the post-mean (treatment decreases the result).

Paired t-test formula

In fact, a paired t-test is technically the same as a one-sample t-test! Let us see why it is so. Let x 1 , . . . , x n x_1, ... , x_n x 1 ​ , ... , x n ​ be the pre observations and y 1 , . . . , y n y_1, ... , y_n y 1 ​ , ... , y n ​ the respective post observations. That is, x i , y i x_i, y_i x i ​ , y i ​ are the before and after measurements of the i -th subject.

For each subject, compute the difference, d i : = x i − y i d_i := x_i - y_i d i ​ := x i ​ − y i ​ . All that happens next is just a one-sample t-test performed on the sample of differences d 1 , . . . , d n d_1, ... , d_n d 1 ​ , ... , d n ​ . Take a look at the formula for the T-score :

Δ \Delta Δ — Mean difference postulated in the null hypothesis;

n n n — Size of the sample of differences, i.e., the number of pairs;

x ˉ \bar{x} x ˉ — Mean of the sample of differences; and

s s s  — Standard deviation of the sample of differences.

Number of degrees of freedom in t-test (paired): n − 1 n - 1 n − 1

t-test vs Z-test

We use a Z-test when we want to test the population mean of a normally distributed dataset, which has a known population variance . If the number of degrees of freedom is large, then the t-Student distribution is very close to N(0,1).

Hence, if there are many data points (at least 30), you may swap a t-test for a Z-test, and the results will be almost identical. However, for small samples with unknown variance, remember to use the t-test because, in such cases, the t-Student distribution differs significantly from the N(0,1)!

🙋 Have you concluded you need to perform the z-test? Head straight to our z-test calculator !

What is a t-test?

A t-test is a widely used statistical test that analyzes the means of one or two groups of data. For instance, a t-test is performed on medical data to determine whether a new drug really helps.

What are different types of t-tests?

Different types of t-tests are:

  • One-sample t-test;
  • Two-sample t-test; and
  • Paired t-test.

How to find the t value in a one sample t-test?

To find the t-value:

  • Subtract the null hypothesis mean from the sample mean value.
  • Divide the difference by the standard deviation of the sample.
  • Multiply the resultant with the square root of the sample size.

.css-slt4t3.css-slt4t3{color:#2B3148;background-color:transparent;font-family:"Roboto","Helvetica","Arial",sans-serif;font-size:20px;line-height:24px;overflow:visible;padding-top:0px;position:relative;}.css-slt4t3.css-slt4t3:after{content:'';-webkit-transform:scale(0);-moz-transform:scale(0);-ms-transform:scale(0);transform:scale(0);position:absolute;border:2px solid #EA9430;border-radius:2px;inset:-8px;z-index:1;}.css-slt4t3 .js-external-link-button.link-like,.css-slt4t3 .js-external-link-anchor{color:inherit;border-radius:1px;-webkit-text-decoration:underline;text-decoration:underline;}.css-slt4t3 .js-external-link-button.link-like:hover,.css-slt4t3 .js-external-link-anchor:hover,.css-slt4t3 .js-external-link-button.link-like:active,.css-slt4t3 .js-external-link-anchor:active{text-decoration-thickness:2px;text-shadow:1px 0 0;}.css-slt4t3 .js-external-link-button.link-like:focus-visible,.css-slt4t3 .js-external-link-anchor:focus-visible{outline:transparent 2px dotted;box-shadow:0 0 0 2px #6314E6;}.css-slt4t3 p,.css-slt4t3 div{margin:0px;display:block;}.css-slt4t3 pre{margin:0px;display:block;}.css-slt4t3 pre code{display:block;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;}.css-slt4t3 pre:not(:first-child){padding-top:8px;}.css-slt4t3 ul,.css-slt4t3 ol{display:block margin:0px;padding-left:20px;}.css-slt4t3 ul li,.css-slt4t3 ol li{padding-top:8px;}.css-slt4t3 ul ul,.css-slt4t3 ol ul,.css-slt4t3 ul ol,.css-slt4t3 ol ol{padding-top:0px;}.css-slt4t3 ul:not(:first-child),.css-slt4t3 ol:not(:first-child){padding-top:4px;} .css-4okk7a{margin:auto;background-color:white;overflow:auto;overflow-wrap:break-word;word-break:break-word;}.css-4okk7a code,.css-4okk7a kbd,.css-4okk7a pre,.css-4okk7a samp{font-family:monospace;}.css-4okk7a code{padding:2px 4px;color:#444;background:#ddd;border-radius:4px;}.css-4okk7a figcaption,.css-4okk7a caption{text-align:center;}.css-4okk7a figcaption{font-size:12px;font-style:italic;overflow:hidden;}.css-4okk7a h3{font-size:1.75rem;}.css-4okk7a h4{font-size:1.5rem;}.css-4okk7a .mathBlock{font-size:24px;-webkit-padding-start:4px;padding-inline-start:4px;}.css-4okk7a .mathBlock .katex{font-size:24px;text-align:left;}.css-4okk7a .math-inline{background-color:#f0f0f0;display:inline-block;font-size:inherit;padding:0 3px;}.css-4okk7a .videoBlock,.css-4okk7a .imageBlock{margin-bottom:16px;}.css-4okk7a .imageBlock__image-align--left,.css-4okk7a .videoBlock__video-align--left{float:left;}.css-4okk7a .imageBlock__image-align--right,.css-4okk7a .videoBlock__video-align--right{float:right;}.css-4okk7a .imageBlock__image-align--center,.css-4okk7a .videoBlock__video-align--center{display:block;margin-left:auto;margin-right:auto;clear:both;}.css-4okk7a .imageBlock__image-align--none,.css-4okk7a .videoBlock__video-align--none{clear:both;margin-left:0;margin-right:0;}.css-4okk7a .videoBlock__video--wrapper{position:relative;padding-bottom:56.25%;height:0;}.css-4okk7a .videoBlock__video--wrapper iframe{position:absolute;top:0;left:0;width:100%;height:100%;}.css-4okk7a .videoBlock__caption{text-align:left;}@font-face{font-family:'KaTeX_AMS';src:url(/katex-fonts/KaTeX_AMS-Regular.woff2) format('woff2'),url(/katex-fonts/KaTeX_AMS-Regular.woff) format('woff'),url(/katex-fonts/KaTeX_AMS-Regular.ttf) format('truetype');font-weight:normal;font-style:normal;}@font-face{font-family:'KaTeX_Caligraphic';src:url(/katex-fonts/KaTeX_Caligraphic-Bold.woff2) format('woff2'),url(/katex-fonts/KaTeX_Caligraphic-Bold.woff) format('woff'),url(/katex-fonts/KaTeX_Caligraphic-Bold.ttf) format('truetype');font-weight:bold;font-style:normal;}@font-face{font-family:'KaTeX_Caligraphic';src:url(/katex-fonts/KaTeX_Caligraphic-Regular.woff2) format('woff2'),url(/katex-fonts/KaTeX_Caligraphic-Regular.woff) format('woff'),url(/katex-fonts/KaTeX_Caligraphic-Regular.ttf) format('truetype');font-weight:normal;font-style:normal;}@font-face{font-family:'KaTeX_Fraktur';src:url(/katex-fonts/KaTeX_Fraktur-Bold.woff2) format('woff2'),url(/katex-fonts/KaTeX_Fraktur-Bold.woff) format('woff'),url(/katex-fonts/KaTeX_Fraktur-Bold.ttf) format('truetype');font-weight:bold;font-style:normal;}@font-face{font-family:'KaTeX_Fraktur';src:url(/katex-fonts/KaTeX_Fraktur-Regular.woff2) format('woff2'),url(/katex-fonts/KaTeX_Fraktur-Regular.woff) format('woff'),url(/katex-fonts/KaTeX_Fraktur-Regular.ttf) format('truetype');font-weight:normal;font-style:normal;}@font-face{font-family:'KaTeX_Main';src:url(/katex-fonts/KaTeX_Main-Bold.woff2) format('woff2'),url(/katex-fonts/KaTeX_Main-Bold.woff) format('woff'),url(/katex-fonts/KaTeX_Main-Bold.ttf) format('truetype');font-weight:bold;font-style:normal;}@font-face{font-family:'KaTeX_Main';src:url(/katex-fonts/KaTeX_Main-BoldItalic.woff2) format('woff2'),url(/katex-fonts/KaTeX_Main-BoldItalic.woff) format('woff'),url(/katex-fonts/KaTeX_Main-BoldItalic.ttf) format('truetype');font-weight:bold;font-style:italic;}@font-face{font-family:'KaTeX_Main';src:url(/katex-fonts/KaTeX_Main-Italic.woff2) format('woff2'),url(/katex-fonts/KaTeX_Main-Italic.woff) format('woff'),url(/katex-fonts/KaTeX_Main-Italic.ttf) format('truetype');font-weight:normal;font-style:italic;}@font-face{font-family:'KaTeX_Main';src:url(/katex-fonts/KaTeX_Main-Regular.woff2) format('woff2'),url(/katex-fonts/KaTeX_Main-Regular.woff) format('woff'),url(/katex-fonts/KaTeX_Main-Regular.ttf) format('truetype');font-weight:normal;font-style:normal;}@font-face{font-family:'KaTeX_Math';src:url(/katex-fonts/KaTeX_Math-BoldItalic.woff2) format('woff2'),url(/katex-fonts/KaTeX_Math-BoldItalic.woff) format('woff'),url(/katex-fonts/KaTeX_Math-BoldItalic.ttf) format('truetype');font-weight:bold;font-style:italic;}@font-face{font-family:'KaTeX_Math';src:url(/katex-fonts/KaTeX_Math-Italic.woff2) format('woff2'),url(/katex-fonts/KaTeX_Math-Italic.woff) format('woff'),url(/katex-fonts/KaTeX_Math-Italic.ttf) format('truetype');font-weight:normal;font-style:italic;}@font-face{font-family:'KaTeX_SansSerif';src:url(/katex-fonts/KaTeX_SansSerif-Bold.woff2) format('woff2'),url(/katex-fonts/KaTeX_SansSerif-Bold.woff) format('woff'),url(/katex-fonts/KaTeX_SansSerif-Bold.ttf) format('truetype');font-weight:bold;font-style:normal;}@font-face{font-family:'KaTeX_SansSerif';src:url(/katex-fonts/KaTeX_SansSerif-Italic.woff2) format('woff2'),url(/katex-fonts/KaTeX_SansSerif-Italic.woff) format('woff'),url(/katex-fonts/KaTeX_SansSerif-Italic.ttf) format('truetype');font-weight:normal;font-style:italic;}@font-face{font-family:'KaTeX_SansSerif';src:url(/katex-fonts/KaTeX_SansSerif-Regular.woff2) format('woff2'),url(/katex-fonts/KaTeX_SansSerif-Regular.woff) format('woff'),url(/katex-fonts/KaTeX_SansSerif-Regular.ttf) format('truetype');font-weight:normal;font-style:normal;}@font-face{font-family:'KaTeX_Script';src:url(/katex-fonts/KaTeX_Script-Regular.woff2) format('woff2'),url(/katex-fonts/KaTeX_Script-Regular.woff) format('woff'),url(/katex-fonts/KaTeX_Script-Regular.ttf) format('truetype');font-weight:normal;font-style:normal;}@font-face{font-family:'KaTeX_Size1';src:url(/katex-fonts/KaTeX_Size1-Regular.woff2) format('woff2'),url(/katex-fonts/KaTeX_Size1-Regular.woff) format('woff'),url(/katex-fonts/KaTeX_Size1-Regular.ttf) format('truetype');font-weight:normal;font-style:normal;}@font-face{font-family:'KaTeX_Size2';src:url(/katex-fonts/KaTeX_Size2-Regular.woff2) format('woff2'),url(/katex-fonts/KaTeX_Size2-Regular.woff) format('woff'),url(/katex-fonts/KaTeX_Size2-Regular.ttf) format('truetype');font-weight:normal;font-style:normal;}@font-face{font-family:'KaTeX_Size3';src:url(/katex-fonts/KaTeX_Size3-Regular.woff2) format('woff2'),url(/katex-fonts/KaTeX_Size3-Regular.woff) format('woff'),url(/katex-fonts/KaTeX_Size3-Regular.ttf) format('truetype');font-weight:normal;font-style:normal;}@font-face{font-family:'KaTeX_Size4';src:url(/katex-fonts/KaTeX_Size4-Regular.woff2) format('woff2'),url(/katex-fonts/KaTeX_Size4-Regular.woff) format('woff'),url(/katex-fonts/KaTeX_Size4-Regular.ttf) format('truetype');font-weight:normal;font-style:normal;}@font-face{font-family:'KaTeX_Typewriter';src:url(/katex-fonts/KaTeX_Typewriter-Regular.woff2) format('woff2'),url(/katex-fonts/KaTeX_Typewriter-Regular.woff) format('woff'),url(/katex-fonts/KaTeX_Typewriter-Regular.ttf) format('truetype');font-weight:normal;font-style:normal;}.css-4okk7a .katex{font:normal 1.21em KaTeX_Main,Times New Roman,serif;line-height:1.2;text-indent:0;text-rendering:auto;}.css-4okk7a .katex *{-ms-high-contrast-adjust:none!important;border-color:currentColor;}.css-4okk7a .katex .katex-version::after{content:'0.13.13';}.css-4okk7a .katex .katex-mathml{position:absolute;clip:rect(1px, 1px, 1px, 1px);padding:0;border:0;height:1px;width:1px;overflow:hidden;}.css-4okk7a .katex .katex-html>.newline{display:block;}.css-4okk7a .katex .base{position:relative;display:inline-block;white-space:nowrap;width:-webkit-min-content;width:-moz-min-content;width:-webkit-min-content;width:-moz-min-content;width:min-content;}.css-4okk7a .katex .strut{display:inline-block;}.css-4okk7a .katex .textbf{font-weight:bold;}.css-4okk7a .katex .textit{font-style:italic;}.css-4okk7a .katex .textrm{font-family:KaTeX_Main;}.css-4okk7a .katex .textsf{font-family:KaTeX_SansSerif;}.css-4okk7a .katex .texttt{font-family:KaTeX_Typewriter;}.css-4okk7a .katex .mathnormal{font-family:KaTeX_Math;font-style:italic;}.css-4okk7a .katex .mathit{font-family:KaTeX_Main;font-style:italic;}.css-4okk7a .katex .mathrm{font-style:normal;}.css-4okk7a .katex .mathbf{font-family:KaTeX_Main;font-weight:bold;}.css-4okk7a .katex .boldsymbol{font-family:KaTeX_Math;font-weight:bold;font-style:italic;}.css-4okk7a .katex .amsrm{font-family:KaTeX_AMS;}.css-4okk7a .katex .mathbb,.css-4okk7a .katex .textbb{font-family:KaTeX_AMS;}.css-4okk7a .katex .mathcal{font-family:KaTeX_Caligraphic;}.css-4okk7a .katex .mathfrak,.css-4okk7a .katex .textfrak{font-family:KaTeX_Fraktur;}.css-4okk7a .katex .mathtt{font-family:KaTeX_Typewriter;}.css-4okk7a .katex .mathscr,.css-4okk7a .katex .textscr{font-family:KaTeX_Script;}.css-4okk7a .katex .mathsf,.css-4okk7a .katex .textsf{font-family:KaTeX_SansSerif;}.css-4okk7a .katex .mathboldsf,.css-4okk7a .katex .textboldsf{font-family:KaTeX_SansSerif;font-weight:bold;}.css-4okk7a .katex .mathitsf,.css-4okk7a .katex .textitsf{font-family:KaTeX_SansSerif;font-style:italic;}.css-4okk7a .katex .mainrm{font-family:KaTeX_Main;font-style:normal;}.css-4okk7a .katex .vlist-t{display:inline-table;table-layout:fixed;border-collapse:collapse;}.css-4okk7a .katex .vlist-r{display:table-row;}.css-4okk7a .katex .vlist{display:table-cell;vertical-align:bottom;position:relative;}.css-4okk7a .katex .vlist>span{display:block;height:0;position:relative;}.css-4okk7a .katex .vlist>span>span{display:inline-block;}.css-4okk7a .katex .vlist>span>.pstrut{overflow:hidden;width:0;}.css-4okk7a .katex .vlist-t2{margin-right:-2px;}.css-4okk7a .katex .vlist-s{display:table-cell;vertical-align:bottom;font-size:1px;width:2px;min-width:2px;}.css-4okk7a .katex .vbox{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-align-items:baseline;-webkit-box-align:baseline;-ms-flex-align:baseline;align-items:baseline;}.css-4okk7a .katex .hbox{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;width:100%;}.css-4okk7a .katex .thinbox{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;width:0;max-width:0;}.css-4okk7a .katex .msupsub{text-align:left;}.css-4okk7a .katex .mfrac>span>span{text-align:center;}.css-4okk7a .katex .mfrac .frac-line{display:inline-block;width:100%;border-bottom-style:solid;}.css-4okk7a .katex .mfrac .frac-line,.css-4okk7a .katex .overline .overline-line,.css-4okk7a .katex .underline .underline-line,.css-4okk7a .katex .hline,.css-4okk7a .katex .hdashline,.css-4okk7a .katex .rule{min-height:1px;}.css-4okk7a .katex .mspace{display:inline-block;}.css-4okk7a .katex .llap,.css-4okk7a .katex .rlap,.css-4okk7a .katex .clap{width:0;position:relative;}.css-4okk7a .katex .llap>.inner,.css-4okk7a .katex .rlap>.inner,.css-4okk7a .katex .clap>.inner{position:absolute;}.css-4okk7a .katex .llap>.fix,.css-4okk7a .katex .rlap>.fix,.css-4okk7a .katex .clap>.fix{display:inline-block;}.css-4okk7a .katex .llap>.inner{right:0;}.css-4okk7a .katex .rlap>.inner,.css-4okk7a .katex .clap>.inner{left:0;}.css-4okk7a .katex .clap>.inner>span{margin-left:-50%;margin-right:50%;}.css-4okk7a .katex .rule{display:inline-block;border:solid 0;position:relative;}.css-4okk7a .katex .overline .overline-line,.css-4okk7a .katex .underline .underline-line,.css-4okk7a .katex .hline{display:inline-block;width:100%;border-bottom-style:solid;}.css-4okk7a .katex .hdashline{display:inline-block;width:100%;border-bottom-style:dashed;}.css-4okk7a .katex .sqrt>.root{margin-left:0.27777778em;margin-right:-0.55555556em;}.css-4okk7a .katex .sizing.reset-size1.size1,.css-4okk7a .katex .fontsize-ensurer.reset-size1.size1{font-size:1em;}.css-4okk7a .katex .sizing.reset-size1.size2,.css-4okk7a .katex .fontsize-ensurer.reset-size1.size2{font-size:1.2em;}.css-4okk7a .katex .sizing.reset-size1.size3,.css-4okk7a .katex .fontsize-ensurer.reset-size1.size3{font-size:1.4em;}.css-4okk7a .katex .sizing.reset-size1.size4,.css-4okk7a .katex .fontsize-ensurer.reset-size1.size4{font-size:1.6em;}.css-4okk7a .katex .sizing.reset-size1.size5,.css-4okk7a .katex .fontsize-ensurer.reset-size1.size5{font-size:1.8em;}.css-4okk7a .katex .sizing.reset-size1.size6,.css-4okk7a .katex .fontsize-ensurer.reset-size1.size6{font-size:2em;}.css-4okk7a .katex .sizing.reset-size1.size7,.css-4okk7a .katex .fontsize-ensurer.reset-size1.size7{font-size:2.4em;}.css-4okk7a .katex .sizing.reset-size1.size8,.css-4okk7a .katex .fontsize-ensurer.reset-size1.size8{font-size:2.88em;}.css-4okk7a .katex .sizing.reset-size1.size9,.css-4okk7a .katex .fontsize-ensurer.reset-size1.size9{font-size:3.456em;}.css-4okk7a .katex .sizing.reset-size1.size10,.css-4okk7a .katex .fontsize-ensurer.reset-size1.size10{font-size:4.148em;}.css-4okk7a .katex .sizing.reset-size1.size11,.css-4okk7a .katex .fontsize-ensurer.reset-size1.size11{font-size:4.976em;}.css-4okk7a .katex .sizing.reset-size2.size1,.css-4okk7a .katex .fontsize-ensurer.reset-size2.size1{font-size:0.83333333em;}.css-4okk7a .katex .sizing.reset-size2.size2,.css-4okk7a .katex .fontsize-ensurer.reset-size2.size2{font-size:1em;}.css-4okk7a .katex .sizing.reset-size2.size3,.css-4okk7a .katex .fontsize-ensurer.reset-size2.size3{font-size:1.16666667em;}.css-4okk7a .katex .sizing.reset-size2.size4,.css-4okk7a .katex .fontsize-ensurer.reset-size2.size4{font-size:1.33333333em;}.css-4okk7a .katex .sizing.reset-size2.size5,.css-4okk7a .katex .fontsize-ensurer.reset-size2.size5{font-size:1.5em;}.css-4okk7a .katex .sizing.reset-size2.size6,.css-4okk7a .katex .fontsize-ensurer.reset-size2.size6{font-size:1.66666667em;}.css-4okk7a .katex .sizing.reset-size2.size7,.css-4okk7a .katex .fontsize-ensurer.reset-size2.size7{font-size:2em;}.css-4okk7a .katex .sizing.reset-size2.size8,.css-4okk7a .katex .fontsize-ensurer.reset-size2.size8{font-size:2.4em;}.css-4okk7a .katex .sizing.reset-size2.size9,.css-4okk7a .katex .fontsize-ensurer.reset-size2.size9{font-size:2.88em;}.css-4okk7a .katex .sizing.reset-size2.size10,.css-4okk7a .katex .fontsize-ensurer.reset-size2.size10{font-size:3.45666667em;}.css-4okk7a .katex .sizing.reset-size2.size11,.css-4okk7a .katex .fontsize-ensurer.reset-size2.size11{font-size:4.14666667em;}.css-4okk7a .katex .sizing.reset-size3.size1,.css-4okk7a .katex .fontsize-ensurer.reset-size3.size1{font-size:0.71428571em;}.css-4okk7a .katex .sizing.reset-size3.size2,.css-4okk7a .katex .fontsize-ensurer.reset-size3.size2{font-size:0.85714286em;}.css-4okk7a .katex .sizing.reset-size3.size3,.css-4okk7a .katex .fontsize-ensurer.reset-size3.size3{font-size:1em;}.css-4okk7a .katex .sizing.reset-size3.size4,.css-4okk7a .katex .fontsize-ensurer.reset-size3.size4{font-size:1.14285714em;}.css-4okk7a .katex .sizing.reset-size3.size5,.css-4okk7a .katex .fontsize-ensurer.reset-size3.size5{font-size:1.28571429em;}.css-4okk7a .katex .sizing.reset-size3.size6,.css-4okk7a .katex .fontsize-ensurer.reset-size3.size6{font-size:1.42857143em;}.css-4okk7a .katex .sizing.reset-size3.size7,.css-4okk7a .katex .fontsize-ensurer.reset-size3.size7{font-size:1.71428571em;}.css-4okk7a .katex .sizing.reset-size3.size8,.css-4okk7a .katex .fontsize-ensurer.reset-size3.size8{font-size:2.05714286em;}.css-4okk7a .katex .sizing.reset-size3.size9,.css-4okk7a .katex .fontsize-ensurer.reset-size3.size9{font-size:2.46857143em;}.css-4okk7a .katex .sizing.reset-size3.size10,.css-4okk7a .katex .fontsize-ensurer.reset-size3.size10{font-size:2.96285714em;}.css-4okk7a .katex .sizing.reset-size3.size11,.css-4okk7a .katex .fontsize-ensurer.reset-size3.size11{font-size:3.55428571em;}.css-4okk7a .katex .sizing.reset-size4.size1,.css-4okk7a .katex .fontsize-ensurer.reset-size4.size1{font-size:0.625em;}.css-4okk7a .katex .sizing.reset-size4.size2,.css-4okk7a .katex .fontsize-ensurer.reset-size4.size2{font-size:0.75em;}.css-4okk7a .katex .sizing.reset-size4.size3,.css-4okk7a .katex .fontsize-ensurer.reset-size4.size3{font-size:0.875em;}.css-4okk7a .katex .sizing.reset-size4.size4,.css-4okk7a .katex .fontsize-ensurer.reset-size4.size4{font-size:1em;}.css-4okk7a .katex .sizing.reset-size4.size5,.css-4okk7a .katex .fontsize-ensurer.reset-size4.size5{font-size:1.125em;}.css-4okk7a .katex .sizing.reset-size4.size6,.css-4okk7a .katex .fontsize-ensurer.reset-size4.size6{font-size:1.25em;}.css-4okk7a .katex .sizing.reset-size4.size7,.css-4okk7a .katex .fontsize-ensurer.reset-size4.size7{font-size:1.5em;}.css-4okk7a .katex .sizing.reset-size4.size8,.css-4okk7a .katex .fontsize-ensurer.reset-size4.size8{font-size:1.8em;}.css-4okk7a .katex .sizing.reset-size4.size9,.css-4okk7a .katex .fontsize-ensurer.reset-size4.size9{font-size:2.16em;}.css-4okk7a .katex .sizing.reset-size4.size10,.css-4okk7a .katex .fontsize-ensurer.reset-size4.size10{font-size:2.5925em;}.css-4okk7a .katex .sizing.reset-size4.size11,.css-4okk7a .katex .fontsize-ensurer.reset-size4.size11{font-size:3.11em;}.css-4okk7a .katex .sizing.reset-size5.size1,.css-4okk7a .katex .fontsize-ensurer.reset-size5.size1{font-size:0.55555556em;}.css-4okk7a .katex .sizing.reset-size5.size2,.css-4okk7a .katex .fontsize-ensurer.reset-size5.size2{font-size:0.66666667em;}.css-4okk7a .katex .sizing.reset-size5.size3,.css-4okk7a .katex .fontsize-ensurer.reset-size5.size3{font-size:0.77777778em;}.css-4okk7a .katex .sizing.reset-size5.size4,.css-4okk7a .katex .fontsize-ensurer.reset-size5.size4{font-size:0.88888889em;}.css-4okk7a .katex .sizing.reset-size5.size5,.css-4okk7a .katex .fontsize-ensurer.reset-size5.size5{font-size:1em;}.css-4okk7a .katex .sizing.reset-size5.size6,.css-4okk7a .katex .fontsize-ensurer.reset-size5.size6{font-size:1.11111111em;}.css-4okk7a .katex .sizing.reset-size5.size7,.css-4okk7a .katex .fontsize-ensurer.reset-size5.size7{font-size:1.33333333em;}.css-4okk7a .katex .sizing.reset-size5.size8,.css-4okk7a .katex .fontsize-ensurer.reset-size5.size8{font-size:1.6em;}.css-4okk7a .katex .sizing.reset-size5.size9,.css-4okk7a .katex .fontsize-ensurer.reset-size5.size9{font-size:1.92em;}.css-4okk7a .katex .sizing.reset-size5.size10,.css-4okk7a .katex .fontsize-ensurer.reset-size5.size10{font-size:2.30444444em;}.css-4okk7a .katex .sizing.reset-size5.size11,.css-4okk7a .katex .fontsize-ensurer.reset-size5.size11{font-size:2.76444444em;}.css-4okk7a .katex .sizing.reset-size6.size1,.css-4okk7a .katex .fontsize-ensurer.reset-size6.size1{font-size:0.5em;}.css-4okk7a .katex .sizing.reset-size6.size2,.css-4okk7a .katex .fontsize-ensurer.reset-size6.size2{font-size:0.6em;}.css-4okk7a .katex .sizing.reset-size6.size3,.css-4okk7a .katex .fontsize-ensurer.reset-size6.size3{font-size:0.7em;}.css-4okk7a .katex .sizing.reset-size6.size4,.css-4okk7a .katex .fontsize-ensurer.reset-size6.size4{font-size:0.8em;}.css-4okk7a .katex .sizing.reset-size6.size5,.css-4okk7a .katex .fontsize-ensurer.reset-size6.size5{font-size:0.9em;}.css-4okk7a .katex .sizing.reset-size6.size6,.css-4okk7a .katex .fontsize-ensurer.reset-size6.size6{font-size:1em;}.css-4okk7a .katex .sizing.reset-size6.size7,.css-4okk7a .katex .fontsize-ensurer.reset-size6.size7{font-size:1.2em;}.css-4okk7a .katex .sizing.reset-size6.size8,.css-4okk7a .katex .fontsize-ensurer.reset-size6.size8{font-size:1.44em;}.css-4okk7a .katex .sizing.reset-size6.size9,.css-4okk7a .katex .fontsize-ensurer.reset-size6.size9{font-size:1.728em;}.css-4okk7a .katex .sizing.reset-size6.size10,.css-4okk7a .katex .fontsize-ensurer.reset-size6.size10{font-size:2.074em;}.css-4okk7a .katex .sizing.reset-size6.size11,.css-4okk7a .katex .fontsize-ensurer.reset-size6.size11{font-size:2.488em;}.css-4okk7a .katex .sizing.reset-size7.size1,.css-4okk7a .katex .fontsize-ensurer.reset-size7.size1{font-size:0.41666667em;}.css-4okk7a .katex .sizing.reset-size7.size2,.css-4okk7a .katex .fontsize-ensurer.reset-size7.size2{font-size:0.5em;}.css-4okk7a .katex .sizing.reset-size7.size3,.css-4okk7a .katex .fontsize-ensurer.reset-size7.size3{font-size:0.58333333em;}.css-4okk7a .katex .sizing.reset-size7.size4,.css-4okk7a .katex .fontsize-ensurer.reset-size7.size4{font-size:0.66666667em;}.css-4okk7a .katex .sizing.reset-size7.size5,.css-4okk7a .katex .fontsize-ensurer.reset-size7.size5{font-size:0.75em;}.css-4okk7a .katex .sizing.reset-size7.size6,.css-4okk7a .katex .fontsize-ensurer.reset-size7.size6{font-size:0.83333333em;}.css-4okk7a .katex .sizing.reset-size7.size7,.css-4okk7a .katex .fontsize-ensurer.reset-size7.size7{font-size:1em;}.css-4okk7a .katex .sizing.reset-size7.size8,.css-4okk7a .katex .fontsize-ensurer.reset-size7.size8{font-size:1.2em;}.css-4okk7a .katex .sizing.reset-size7.size9,.css-4okk7a .katex .fontsize-ensurer.reset-size7.size9{font-size:1.44em;}.css-4okk7a .katex .sizing.reset-size7.size10,.css-4okk7a .katex .fontsize-ensurer.reset-size7.size10{font-size:1.72833333em;}.css-4okk7a .katex .sizing.reset-size7.size11,.css-4okk7a .katex .fontsize-ensurer.reset-size7.size11{font-size:2.07333333em;}.css-4okk7a .katex .sizing.reset-size8.size1,.css-4okk7a .katex .fontsize-ensurer.reset-size8.size1{font-size:0.34722222em;}.css-4okk7a .katex .sizing.reset-size8.size2,.css-4okk7a .katex .fontsize-ensurer.reset-size8.size2{font-size:0.41666667em;}.css-4okk7a .katex .sizing.reset-size8.size3,.css-4okk7a .katex .fontsize-ensurer.reset-size8.size3{font-size:0.48611111em;}.css-4okk7a .katex .sizing.reset-size8.size4,.css-4okk7a .katex .fontsize-ensurer.reset-size8.size4{font-size:0.55555556em;}.css-4okk7a .katex .sizing.reset-size8.size5,.css-4okk7a .katex .fontsize-ensurer.reset-size8.size5{font-size:0.625em;}.css-4okk7a .katex .sizing.reset-size8.size6,.css-4okk7a .katex .fontsize-ensurer.reset-size8.size6{font-size:0.69444444em;}.css-4okk7a .katex .sizing.reset-size8.size7,.css-4okk7a .katex .fontsize-ensurer.reset-size8.size7{font-size:0.83333333em;}.css-4okk7a .katex .sizing.reset-size8.size8,.css-4okk7a .katex .fontsize-ensurer.reset-size8.size8{font-size:1em;}.css-4okk7a .katex .sizing.reset-size8.size9,.css-4okk7a .katex .fontsize-ensurer.reset-size8.size9{font-size:1.2em;}.css-4okk7a .katex .sizing.reset-size8.size10,.css-4okk7a .katex .fontsize-ensurer.reset-size8.size10{font-size:1.44027778em;}.css-4okk7a .katex .sizing.reset-size8.size11,.css-4okk7a .katex .fontsize-ensurer.reset-size8.size11{font-size:1.72777778em;}.css-4okk7a .katex .sizing.reset-size9.size1,.css-4okk7a .katex .fontsize-ensurer.reset-size9.size1{font-size:0.28935185em;}.css-4okk7a .katex .sizing.reset-size9.size2,.css-4okk7a .katex .fontsize-ensurer.reset-size9.size2{font-size:0.34722222em;}.css-4okk7a .katex .sizing.reset-size9.size3,.css-4okk7a .katex .fontsize-ensurer.reset-size9.size3{font-size:0.40509259em;}.css-4okk7a .katex .sizing.reset-size9.size4,.css-4okk7a .katex .fontsize-ensurer.reset-size9.size4{font-size:0.46296296em;}.css-4okk7a .katex .sizing.reset-size9.size5,.css-4okk7a .katex .fontsize-ensurer.reset-size9.size5{font-size:0.52083333em;}.css-4okk7a .katex .sizing.reset-size9.size6,.css-4okk7a .katex .fontsize-ensurer.reset-size9.size6{font-size:0.5787037em;}.css-4okk7a .katex .sizing.reset-size9.size7,.css-4okk7a .katex .fontsize-ensurer.reset-size9.size7{font-size:0.69444444em;}.css-4okk7a .katex .sizing.reset-size9.size8,.css-4okk7a .katex .fontsize-ensurer.reset-size9.size8{font-size:0.83333333em;}.css-4okk7a .katex .sizing.reset-size9.size9,.css-4okk7a .katex .fontsize-ensurer.reset-size9.size9{font-size:1em;}.css-4okk7a .katex .sizing.reset-size9.size10,.css-4okk7a .katex .fontsize-ensurer.reset-size9.size10{font-size:1.20023148em;}.css-4okk7a .katex .sizing.reset-size9.size11,.css-4okk7a .katex .fontsize-ensurer.reset-size9.size11{font-size:1.43981481em;}.css-4okk7a .katex .sizing.reset-size10.size1,.css-4okk7a .katex .fontsize-ensurer.reset-size10.size1{font-size:0.24108004em;}.css-4okk7a .katex .sizing.reset-size10.size2,.css-4okk7a .katex .fontsize-ensurer.reset-size10.size2{font-size:0.28929605em;}.css-4okk7a .katex .sizing.reset-size10.size3,.css-4okk7a .katex .fontsize-ensurer.reset-size10.size3{font-size:0.33751205em;}.css-4okk7a .katex .sizing.reset-size10.size4,.css-4okk7a .katex .fontsize-ensurer.reset-size10.size4{font-size:0.38572806em;}.css-4okk7a .katex .sizing.reset-size10.size5,.css-4okk7a .katex .fontsize-ensurer.reset-size10.size5{font-size:0.43394407em;}.css-4okk7a .katex .sizing.reset-size10.size6,.css-4okk7a .katex .fontsize-ensurer.reset-size10.size6{font-size:0.48216008em;}.css-4okk7a .katex .sizing.reset-size10.size7,.css-4okk7a .katex .fontsize-ensurer.reset-size10.size7{font-size:0.57859209em;}.css-4okk7a .katex .sizing.reset-size10.size8,.css-4okk7a .katex .fontsize-ensurer.reset-size10.size8{font-size:0.69431051em;}.css-4okk7a .katex .sizing.reset-size10.size9,.css-4okk7a .katex .fontsize-ensurer.reset-size10.size9{font-size:0.83317261em;}.css-4okk7a .katex .sizing.reset-size10.size10,.css-4okk7a .katex .fontsize-ensurer.reset-size10.size10{font-size:1em;}.css-4okk7a .katex .sizing.reset-size10.size11,.css-4okk7a .katex .fontsize-ensurer.reset-size10.size11{font-size:1.19961427em;}.css-4okk7a .katex .sizing.reset-size11.size1,.css-4okk7a .katex .fontsize-ensurer.reset-size11.size1{font-size:0.20096463em;}.css-4okk7a .katex .sizing.reset-size11.size2,.css-4okk7a .katex .fontsize-ensurer.reset-size11.size2{font-size:0.24115756em;}.css-4okk7a .katex .sizing.reset-size11.size3,.css-4okk7a .katex .fontsize-ensurer.reset-size11.size3{font-size:0.28135048em;}.css-4okk7a .katex .sizing.reset-size11.size4,.css-4okk7a .katex .fontsize-ensurer.reset-size11.size4{font-size:0.32154341em;}.css-4okk7a .katex .sizing.reset-size11.size5,.css-4okk7a .katex .fontsize-ensurer.reset-size11.size5{font-size:0.36173633em;}.css-4okk7a .katex .sizing.reset-size11.size6,.css-4okk7a .katex .fontsize-ensurer.reset-size11.size6{font-size:0.40192926em;}.css-4okk7a .katex .sizing.reset-size11.size7,.css-4okk7a .katex .fontsize-ensurer.reset-size11.size7{font-size:0.48231511em;}.css-4okk7a .katex .sizing.reset-size11.size8,.css-4okk7a .katex .fontsize-ensurer.reset-size11.size8{font-size:0.57877814em;}.css-4okk7a .katex .sizing.reset-size11.size9,.css-4okk7a .katex .fontsize-ensurer.reset-size11.size9{font-size:0.69453376em;}.css-4okk7a .katex .sizing.reset-size11.size10,.css-4okk7a .katex .fontsize-ensurer.reset-size11.size10{font-size:0.83360129em;}.css-4okk7a .katex .sizing.reset-size11.size11,.css-4okk7a .katex .fontsize-ensurer.reset-size11.size11{font-size:1em;}.css-4okk7a .katex .delimsizing.size1{font-family:KaTeX_Size1;}.css-4okk7a .katex .delimsizing.size2{font-family:KaTeX_Size2;}.css-4okk7a .katex .delimsizing.size3{font-family:KaTeX_Size3;}.css-4okk7a .katex .delimsizing.size4{font-family:KaTeX_Size4;}.css-4okk7a .katex .delimsizing.mult .delim-size1>span{font-family:KaTeX_Size1;}.css-4okk7a .katex .delimsizing.mult .delim-size4>span{font-family:KaTeX_Size4;}.css-4okk7a .katex .nulldelimiter{display:inline-block;width:0.12em;}.css-4okk7a .katex .delimcenter{position:relative;}.css-4okk7a .katex .op-symbol{position:relative;}.css-4okk7a .katex .op-symbol.small-op{font-family:KaTeX_Size1;}.css-4okk7a .katex .op-symbol.large-op{font-family:KaTeX_Size2;}.css-4okk7a .katex .op-limits>.vlist-t{text-align:center;}.css-4okk7a .katex .accent>.vlist-t{text-align:center;}.css-4okk7a .katex .accent .accent-body{position:relative;}.css-4okk7a .katex .accent .accent-body:not(.accent-full){width:0;}.css-4okk7a .katex .overlay{display:block;}.css-4okk7a .katex .mtable .vertical-separator{display:inline-block;min-width:1px;}.css-4okk7a .katex .mtable .arraycolsep{display:inline-block;}.css-4okk7a .katex .mtable .col-align-c>.vlist-t{text-align:center;}.css-4okk7a .katex .mtable .col-align-l>.vlist-t{text-align:left;}.css-4okk7a .katex .mtable .col-align-r>.vlist-t{text-align:right;}.css-4okk7a .katex .svg-align{text-align:left;}.css-4okk7a .katex svg{display:block;position:absolute;width:100%;height:inherit;fill:currentColor;stroke:currentColor;fill-rule:nonzero;fill-opacity:1;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;}.css-4okk7a .katex svg path{stroke:none;}.css-4okk7a .katex img{border-style:none;min-width:0;min-height:0;max-width:none;max-height:none;}.css-4okk7a .katex .stretchy{width:100%;display:block;position:relative;overflow:hidden;}.css-4okk7a .katex .stretchy::before,.css-4okk7a .katex .stretchy::after{content:'';}.css-4okk7a .katex .hide-tail{width:100%;position:relative;overflow:hidden;}.css-4okk7a .katex .halfarrow-left{position:absolute;left:0;width:50.2%;overflow:hidden;}.css-4okk7a .katex .halfarrow-right{position:absolute;right:0;width:50.2%;overflow:hidden;}.css-4okk7a .katex .brace-left{position:absolute;left:0;width:25.1%;overflow:hidden;}.css-4okk7a .katex .brace-center{position:absolute;left:25%;width:50%;overflow:hidden;}.css-4okk7a .katex .brace-right{position:absolute;right:0;width:25.1%;overflow:hidden;}.css-4okk7a .katex .x-arrow-pad{padding:0 0.5em;}.css-4okk7a .katex .cd-arrow-pad{padding:0 0.55556em 0 0.27778em;}.css-4okk7a .katex .x-arrow,.css-4okk7a .katex .mover,.css-4okk7a .katex .munder{text-align:center;}.css-4okk7a .katex .boxpad{padding:0 0.3em 0 0.3em;}.css-4okk7a .katex .fbox,.css-4okk7a .katex .fcolorbox{box-sizing:border-box;border:0.04em solid;}.css-4okk7a .katex .cancel-pad{padding:0 0.2em 0 0.2em;}.css-4okk7a .katex .cancel-lap{margin-left:-0.2em;margin-right:-0.2em;}.css-4okk7a .katex .sout{border-bottom-style:solid;border-bottom-width:0.08em;}.css-4okk7a .katex .angl{box-sizing:border-box;border-top:0.049em solid;border-right:0.049em solid;margin-right:0.03889em;}.css-4okk7a .katex .anglpad{padding:0 0.03889em 0 0.03889em;}.css-4okk7a .katex .eqn-num::before{counter-increment:katexEqnNo;content:'(' counter(katexEqnNo) ')';}.css-4okk7a .katex .mml-eqn-num::before{counter-increment:mmlEqnNo;content:'(' counter(mmlEqnNo) ')';}.css-4okk7a .katex .mtr-glue{width:50%;}.css-4okk7a .katex .cd-vert-arrow{display:inline-block;position:relative;}.css-4okk7a .katex .cd-label-left{display:inline-block;position:absolute;right:calc(50% + 0.3em);text-align:left;}.css-4okk7a .katex .cd-label-right{display:inline-block;position:absolute;left:calc(50% + 0.3em);text-align:right;}.css-4okk7a .katex-display{display:block;margin:1em 0;text-align:center;}.css-4okk7a .katex-display>.katex{display:block;white-space:nowrap;}.css-4okk7a .katex-display>.katex>.katex-html{display:block;position:relative;}.css-4okk7a .katex-display>.katex>.katex-html>.tag{position:absolute;right:0;}.css-4okk7a .katex-display.leqno>.katex>.katex-html>.tag{left:0;right:auto;}.css-4okk7a .katex-display.fleqn>.katex{text-align:left;padding-left:2em;}.css-4okk7a body{counter-reset:katexEqnNo mmlEqnNo;}.css-4okk7a table{width:-webkit-max-content;width:-moz-max-content;width:max-content;}.css-4okk7a .tableBlock{max-width:100%;margin-bottom:1rem;overflow-y:scroll;}.css-4okk7a .tableBlock thead,.css-4okk7a .tableBlock thead th{border-bottom:1px solid #333!important;}.css-4okk7a .tableBlock th,.css-4okk7a .tableBlock td{padding:10px;text-align:left;}.css-4okk7a .tableBlock th{font-weight:bold!important;}.css-4okk7a .tableBlock caption{caption-side:bottom;color:#555;font-size:12px;font-style:italic;text-align:center;}.css-4okk7a .tableBlock caption>p{margin:0;}.css-4okk7a .tableBlock th>p,.css-4okk7a .tableBlock td>p{margin:0;}.css-4okk7a .tableBlock [data-background-color='aliceblue']{background-color:#f0f8ff;color:#000;}.css-4okk7a .tableBlock [data-background-color='black']{background-color:#000;color:#fff;}.css-4okk7a .tableBlock [data-background-color='chocolate']{background-color:#d2691e;color:#fff;}.css-4okk7a .tableBlock [data-background-color='cornflowerblue']{background-color:#6495ed;color:#fff;}.css-4okk7a .tableBlock [data-background-color='crimson']{background-color:#dc143c;color:#fff;}.css-4okk7a .tableBlock [data-background-color='darkblue']{background-color:#00008b;color:#fff;}.css-4okk7a .tableBlock [data-background-color='darkseagreen']{background-color:#8fbc8f;color:#000;}.css-4okk7a .tableBlock [data-background-color='deepskyblue']{background-color:#00bfff;color:#000;}.css-4okk7a .tableBlock [data-background-color='gainsboro']{background-color:#dcdcdc;color:#000;}.css-4okk7a .tableBlock [data-background-color='grey']{background-color:#808080;color:#fff;}.css-4okk7a .tableBlock [data-background-color='lemonchiffon']{background-color:#fffacd;color:#000;}.css-4okk7a .tableBlock [data-background-color='lightpink']{background-color:#ffb6c1;color:#000;}.css-4okk7a .tableBlock [data-background-color='lightsalmon']{background-color:#ffa07a;color:#000;}.css-4okk7a .tableBlock [data-background-color='lightskyblue']{background-color:#87cefa;color:#000;}.css-4okk7a .tableBlock [data-background-color='mediumblue']{background-color:#0000cd;color:#fff;}.css-4okk7a .tableBlock [data-background-color='omnigrey']{background-color:#f0f0f0;color:#000;}.css-4okk7a .tableBlock [data-background-color='white']{background-color:#fff;color:#000;}.css-4okk7a .tableBlock [data-text-align='center']{text-align:center;}.css-4okk7a .tableBlock [data-text-align='left']{text-align:left;}.css-4okk7a .tableBlock [data-text-align='right']{text-align:right;}.css-4okk7a .tableBlock [data-vertical-align='bottom']{vertical-align:bottom;}.css-4okk7a .tableBlock [data-vertical-align='middle']{vertical-align:middle;}.css-4okk7a .tableBlock [data-vertical-align='top']{vertical-align:top;}.css-4okk7a .tableBlock__font-size--xxsmall{font-size:10px;}.css-4okk7a .tableBlock__font-size--xsmall{font-size:12px;}.css-4okk7a .tableBlock__font-size--small{font-size:14px;}.css-4okk7a .tableBlock__font-size--large{font-size:18px;}.css-4okk7a .tableBlock__border--some tbody tr:not(:last-child){border-bottom:1px solid #e2e5e7;}.css-4okk7a .tableBlock__border--bordered td,.css-4okk7a .tableBlock__border--bordered th{border:1px solid #e2e5e7;}.css-4okk7a .tableBlock__border--borderless tbody+tbody,.css-4okk7a .tableBlock__border--borderless td,.css-4okk7a .tableBlock__border--borderless th,.css-4okk7a .tableBlock__border--borderless tr,.css-4okk7a .tableBlock__border--borderless thead,.css-4okk7a .tableBlock__border--borderless thead th{border:0!important;}.css-4okk7a .tableBlock:not(.tableBlock__table-striped) tbody tr{background-color:unset!important;}.css-4okk7a .tableBlock__table-striped tbody tr:nth-of-type(odd){background-color:#f9fafc!important;}.css-4okk7a .tableBlock__table-compactl th,.css-4okk7a .tableBlock__table-compact td{padding:3px!important;}.css-4okk7a .tableBlock__full-size{width:100%;}.css-4okk7a .textBlock{margin-bottom:16px;}.css-4okk7a .textBlock__text-formatting--finePrint{font-size:12px;}.css-4okk7a .textBlock__text-infoBox{padding:0.75rem 1.25rem;margin-bottom:1rem;border:1px solid transparent;border-radius:0.25rem;}.css-4okk7a .textBlock__text-infoBox p{margin:0;}.css-4okk7a .textBlock__text-infoBox--primary{background-color:#cce5ff;border-color:#b8daff;color:#004085;}.css-4okk7a .textBlock__text-infoBox--secondary{background-color:#e2e3e5;border-color:#d6d8db;color:#383d41;}.css-4okk7a .textBlock__text-infoBox--success{background-color:#d4edda;border-color:#c3e6cb;color:#155724;}.css-4okk7a .textBlock__text-infoBox--danger{background-color:#f8d7da;border-color:#f5c6cb;color:#721c24;}.css-4okk7a .textBlock__text-infoBox--warning{background-color:#fff3cd;border-color:#ffeeba;color:#856404;}.css-4okk7a .textBlock__text-infoBox--info{background-color:#d1ecf1;border-color:#bee5eb;color:#0c5460;}.css-4okk7a .textBlock__text-infoBox--dark{background-color:#d6d8d9;border-color:#c6c8ca;color:#1b1e21;}.css-4okk7a .text-overline{-webkit-text-decoration:overline;text-decoration:overline;}.css-4okk7a.css-4okk7a{color:#2B3148;background-color:transparent;font-family:"Roboto","Helvetica","Arial",sans-serif;font-size:20px;line-height:24px;overflow:visible;padding-top:0px;position:relative;}.css-4okk7a.css-4okk7a:after{content:'';-webkit-transform:scale(0);-moz-transform:scale(0);-ms-transform:scale(0);transform:scale(0);position:absolute;border:2px solid #EA9430;border-radius:2px;inset:-8px;z-index:1;}.css-4okk7a .js-external-link-button.link-like,.css-4okk7a .js-external-link-anchor{color:inherit;border-radius:1px;-webkit-text-decoration:underline;text-decoration:underline;}.css-4okk7a .js-external-link-button.link-like:hover,.css-4okk7a .js-external-link-anchor:hover,.css-4okk7a .js-external-link-button.link-like:active,.css-4okk7a .js-external-link-anchor:active{text-decoration-thickness:2px;text-shadow:1px 0 0;}.css-4okk7a .js-external-link-button.link-like:focus-visible,.css-4okk7a .js-external-link-anchor:focus-visible{outline:transparent 2px dotted;box-shadow:0 0 0 2px #6314E6;}.css-4okk7a p,.css-4okk7a div{margin:0px;display:block;}.css-4okk7a pre{margin:0px;display:block;}.css-4okk7a pre code{display:block;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;}.css-4okk7a pre:not(:first-child){padding-top:8px;}.css-4okk7a ul,.css-4okk7a ol{display:block margin:0px;padding-left:20px;}.css-4okk7a ul li,.css-4okk7a ol li{padding-top:8px;}.css-4okk7a ul ul,.css-4okk7a ol ul,.css-4okk7a ul ol,.css-4okk7a ol ol{padding-top:0px;}.css-4okk7a ul:not(:first-child),.css-4okk7a ol:not(:first-child){padding-top:4px;} Test setup

Choose test type

t-test for the population mean, μ, based on one independent sample . Null hypothesis H 0 : μ = μ 0  

Alternative hypothesis H 1

Test details

Significance level α

The probability that we reject a true H 0 (type I error).

Degrees of freedom

Calculated as sample size minus one.

Test results

Teach yourself statistics

T Distribution Calculator

The t distribution calculator makes it easy to compute the cumulative probability associated with a t score or with a sample mean. For help in using the calculator, read the Frequently-Asked Questions or review the Sample Problems .

To learn more about Student's t distribution, go to Stat Trek's tutorial on the t distribution .

  • In the dropdown box, select the statistic of interest.
  • Enter a value for degrees of freedom.
  • Enter a value for all but one of the remaining textboxes.
  • Click the Calculate button to compute a value for the blank textbox.

Note : Both the t distribution and the standard normal distribution assume that observations are normally distributed in the population . And as sample size increases, the t distribution becomes increasingly similar to the standard normal distribution. So when would a researcher choose the t distribution over the standard normal distribution? A common rule of thumb is to choose the t distribution when (1) the sample size is small and/or (2) the population standard deviation is unknown.

Frequently-Asked Questions

Instructions: To find the answer to a frequently-asked question, simply click on the question.

Which statistic should I use - the t score or the mean score"?

The t distribution calculator accepts two statistics as input: a t score or a sample mean. Choose the option that is easiest. Here are some things to consider.

t = [ x - μ ] / [ s / sqrt( n ) ]

  • If you choose to work with the sample mean, you can avoid the "transformation" step. But you will need to provide additional input in the form of the population mean and/or the sample standard deviation.

For an example that uses the t score, see Sample Problem 1 . For an example that uses the sample mean, see Sample Problem 2

What are degrees of freedom?

Degrees of freedom can be described as the number of scores that are free to vary. For example, suppose you tossed three dice. The total score adds up to 12. If you rolled a 3 on the first die and a 5 on the second, then you know that the third die must be a 4 (otherwise, the total would not add up to 12). In this example, 2 die are free to vary while the third is not. Therefore, there are 2 degrees of freedom.

In many situations, the degrees of freedom are equal to the number of observations minus one. Thus, if the sample size were 20, there would be 20 observations; and the degrees of freedom would be 20 minus 1 or 19.

What is a standard deviation?

The standard deviation is a numerical value used to indicate how widely individuals in a group vary. It is a measure of the average distance of individual observations from the group mean.

What is a t statistic?

A t statistic is a statistic whose values are given by

t = [ x - μ> ] / [ s / sqrt( n ) ]

where x is the sample mean, μ is the population mean, s is the standard deviation of the sample, n is the sample size, and t is the t statistic.

What is a population mean?

A mean score is an average score. It is the sum of individual scores divided by the number of individuals. A population mean is the mean score of a population .

What is a sample mean?

A mean score is an average score. It is the sum of individual scores divided by the number of individuals. A sample mean is the mean score of a sample .

What is a probability?

A probability is a number expressing the chances that a specific event will occur. This number can take on any value from 0 to 1. A probability of 0 means that there is zero chance that the event will occur; a probability of 1 means that the event is certain to occur. Numbers between 0 and 1 quantify the uncertainty associated with the event. For example, the probability of a coin flip resulting in Heads (rather than Tails) would be 0.50. Fifty percent of the time, the coin flip would result in Heads; and fifty percent of the time, it would result in Tails.

What is a cumulative probability?

A cumulative probability is a sum of probabilities. In connection with the t distribution calculator, a cumulative probability refers to the probability that a t score or a raw score will be less than or equal to a specified value.

Suppose, for example, that we sample 100 first-graders. If we ask about the probability that the average first grader weighs exactly 70 pounds, we are asking about a simple probability - not a cumulative probability.

But if we ask about the probability that average weight is less than or equal to 70 pounds, we are really asking about a sum of probabilities (i.e., the probability that the average weight is exactly 70 pounds plus the probability that it is 69 pounds plus the probability that it is 68 pounds, etc.). Thus, we are asking about a cumulative probability.

Note: The t distribution calculator only reports cumulative probabilities (e.g., the probability that a t score is less than or equal to a specified value.)

Sample Problems

  • Compute a t statistic, assuming that the breaking strength for the customer's chains is 19,800 pounds.
  • Determine the cumulative probability for that t statistic.
  • The t statistic is equal to -0.4276.
  • The number of degrees of freedom is equal to 13. (In situations like this, the number of degrees of freedom is equal to number of observations minus 1. Hence, the number of degrees of freedom is equal to 14 - 1 or 13.)

Now, we are ready to use the T Distribution Calculator . Since we have already computed the t statistic, we select "t score" from the drop-down box. Then, we enter the t statistic (-0.4276) and the degrees of freedom (13) into the calculator, and hit the Calculate button. The calculator reports that the cumulative probability is 0.338.

Therefore, there is a 33.8% chance that the average breaking strength for the customer's chains will be no more than 19,800 pounds.

  • The population mean is 20,000.
  • The standard deviation is 1750.
  • The sample mean, for which we want to find a cumulative probability, is 19,800.
  • The number of degrees of freedom is 13. (In situations like this, the number of degrees of freedom is equal to number of observations minus 1. Hence, the number of degrees of freedom is equal to 14 - 1 or 13.)

First, we select "mean score" from the dropdown box in the T Distribution Calculator . Then, we plug our known inputs (degrees of freedom, sample mean, standard deviation, and population mean) into the T Distribution Calculator and hit the Calculate button. The calculator reports that the cumulative probability is 0.338. Thus, there is a 33.8% probability that the average breaking strength for the customer's chains will be 19,800 pounds or less.

Note: This is the same answer that we found in Example 1. However, the approach that we followed in this example may be a little bit easier than the approach that we used in the previous example, since this approach does not require manual computation of a t statistic.

  • The cumulative probability is 0.90.
  • The standard deviation is 11.
  • The sample mean is 115.
  • The number of degrees of freedom is 14. (In situations like this, the number of degrees of freedom is equal to number of observations minus 1. Hence, the number of degrees of freedom is equal to 15 - 1 or 14.)

First, we select "mean score" from the dropdown box in the T Distribution Calculator . Then, we plug the known inputs (cumulative probability, standard deviation, sample mean, and degrees of freedom) into the calculator and hit the Calculate button. The calculator reports that the population mean is 111.2.

Thus, if the principal's assessment of the IQ of his faculty is correct, we conclude that the average IQ of a teacher in the district is 111.2.

Oops! Something went wrong.

T-Distribution Probability Calculator

Instructions: Use this T-Distribution Probability Calculator to Compute t-distribution probabilities using the form below. Please type the number of degrees of freedom associated to the t-distribution, and provide details about the event you want to compute the probability for:

hypothesis testing t distribution calculator

More about the t distribution probability

The t-distribution is a type of continuous probability distribution that takes random values on the whole real line. The main properties of the t-distribution are:

  • It is continuous (and as a consequence, the probability of getting any single, specific outcome is zero)
  • It is "bell shaped", in the same way the normal curves are bell-shaped
  • It is determined by one parameter: the number of degrees of freedom (df). For one sample, the number of degrees of freedom is df = n - 1, where n is the sample size
  • It is symmetric with respect to 0
  • The t-distribution "converges" to the standard normal distribution as the number of degrees of freedom (df) converges to infinity (+∞)

In order to compute probabilities associated to the t-distribution we can either use specialized software such as Excel, etc, or we can use t-distribution tables (normally available at college statistics textbooks. The use of the t-distribution arises when performing hypothesis testing (for the case when the population standard deviation is not known).

How do you this this t-distribution calculator

This calculator allows you have both a T distribution calculator for two tailed, as well as for left-tailed and two-tailed. This is achieved by selecting the right type of event in the form above.

What is the meaning Area of t distribution calculator

The are of the t-distribution, the same as all probability distributions, represents the probability that a random even occurs in the region for which the area is computed. In other words, in this case Area = Probability.

What is the T distribution calculator accuracy

It really depends on which tool do you use to do the calculation. For example, if you use t-tables to compute t-distribution probabilities, you will find that those typically have accuracy of 4 digits.

Now, when you use our calculator (or Excel), you get about 15 digits accuracy. You may think that is great and it is better, and it actually is, only you have to be carefully when answering tests and quizzes, where they may want you to round intermediate and final steps, which could lead to answers that can be different than the answer expected by the system.

More calculators related to the t-distribution

This is calculator for the T-Distribution. If you need to work with the normal distribution, you may be also interested in our z-distribution calculator . Also, a normal probability for samples could come in handy to deal with things like the Central Limit Theorem and things like that.

Probability calculation of the t-distribution

Application: Calculation of a probability

Question : Compute the probability of the event (-1, 0.8) for the t-distribution with 34 degrees of freedom.

We need to compute \(\Pr(-1 \leq T \leq 0.8)\), where \(T\) has a t-distribution with \(df = 34\) degrees of freedom. Therefore, the probability is computed as:

Therefore, based on the information provided, it is concluded that \( \Pr(-1 \leq T \leq 0.8) = 0.6232\)

Related Calculators

Descriptive Statistics Calculator of Grouped Data

log in to your account

Reset password.

Savvy Calculator

T Statistic Calculator (T-Value)

Introduction.

The T-statistic, also known as the T-value, is a statistical measure used to assess whether the means of two groups are significantly different from each other. It is a fundamental tool in hypothesis testing, helping researchers determine whether the differences observed in a sample are likely due to random chance or if they represent a real effect. The T-statistic is particularly useful when dealing with small sample sizes where the distribution of data may not be perfectly normal.

In this article, we will explore the T-Statistic Calculator, its formula, how to use it, provide an example, and answer some frequently asked questions to help you understand this crucial statistical concept.

The formula for calculating the T-statistic depends on the context of the analysis. There are two main scenarios: when you have two independent sample groups or when you have one sample group and you want to compare it to a known population mean. Here are the formulas for both scenarios:

1. Independent Sample T-Test:

For comparing the means of two independent sample groups, the T-statistic formula is as follows:

T = (x̄₁ – x̄₂) / (s√((1/n₁) + (1/n₂)))

  • x̄₁ and x̄₂ are the sample means of the two groups.
  • s is the pooled standard deviation of the two groups.
  • n₁ and n₂ are the sample sizes of the two groups.

2. One-Sample T-Test:

For comparing the mean of a single sample group to a known population mean, the T-statistic formula is as follows:

T = (x̄ – μ) / (s / √n)

  • x̄ is the sample mean.
  • μ is the known population mean.
  • s is the sample standard deviation.
  • n is the sample size.

How to Use?

Using the T-Statistic Calculator is relatively straightforward:

  • Identify the type of analysis you are conducting: independent sample T-test or one-sample T-test.
  • For the independent sample T-test, you need data from two separate groups.
  • For the one-sample T-test, you need data from a single group and a known population mean for comparison.
  • For the independent sample T-test, input the means, standard deviations, and sample sizes of both groups.
  • For the one-sample T-test, input the sample mean, known population mean, sample standard deviation, and sample size.
  • Click the “Calculate” button.
  • The calculator will provide you with the T-statistic value.
  • Compare the calculated T-statistic to a critical value from the T-distribution table or use it to calculate a p-value.

Let’s walk through an example of a one-sample T-test using the T-Statistic Calculator:

Suppose you are a manufacturer of light bulbs, and you claim that your bulbs last, on average, 1200 hours. You want to test this claim using a sample of 30 light bulbs, and you find that the sample has a mean lifespan of 1150 hours with a standard deviation of 100 hours.

  • Identify the type of analysis: one-sample T-test.
  • Sample mean ( x̄ ): 1150 hours
  • Known population mean ( μ ): 1200 hours
  • Sample standard deviation ( s ): 100 hours
  • Sample size ( n ): 30 bulbs
  • Enter the values into the T-Statistic Calculator.
  • Click “Calculate.”
  • The calculator provides you with the T-statistic value, let’s say it’s -2.0.
  • You can now compare this T-statistic to a critical value or calculate a p-value. In this case, you might find that the T-statistic corresponds to a p-value of 0.029.

Q1: What is the T-distribution?

The T-distribution is a probability distribution used in hypothesis testing when the sample size is small, and the population standard deviation is unknown. It resembles a normal distribution but has heavier tails.

Q2: What is a p-value, and how is it related to the T-statistic?

The p-value is a probability that measures the evidence against a null hypothesis. In T-testing, a smaller p-value suggests stronger evidence against the null hypothesis. You can calculate the p-value using the T-statistic and degrees of freedom.

Q3: What is the significance level (alpha) in hypothesis testing?

The significance level (alpha) is the threshold value used to determine the statistical significance of results. Common choices for alpha are 0.05 and 0.01. If the p-value is less than alpha, you reject the null hypothesis.

Conclusion:

The T-Statistic Calculator, also known as the T-value calculator, is an essential tool in statistical analysis, helping researchers assess the significance of differences between sample means or compare a sample mean to a known population mean. Understanding how to calculate and interpret the T-statistic is crucial for making informed decisions in various fields, including science, engineering, and business. By following the provided formula and guidelines, you can use this calculator to perform hypothesis tests and draw meaningful conclusions from your data.

Leave a Comment Cancel reply

Save my name, email, and website in this browser for the next time I comment.

1. Given Data :

First enter the data in by pressing STAT and selecting 1:Edit by pressing ENTER. The result is shown below

hypothesis testing t distribution calculator

2. Given Statistics.

Press STAT, then RIGHT ARROW twice to TESTS. Press 2 to select 2:T-Test.

hypothesis testing t distribution calculator

Student's t-distribution calculator with graph generator

Critical value calculator - student's t-distribution.

This statistical calculator allows you to calculate the critical value corresponding to the Student's t-distribution, you can also see the result in a graph through our online graph generator and if you wish you can download the graph. Just enter the significance value (alpha), degrees of freedom, and left, right, or both tails.

Critical value result

P-value calculator - student's t distribution.

Use our online statistical calculator to calculate the p-value of the Student's t-distribution. You just need to enter the t-value and degrees of freedom and specify the tail. In addition to the p-value, you can get and download the graph created with our graph generator

p-value result

One sample t-test calculator.

The one sample t-test is a statistical hypothesis test calculator, use our calculator to check if you get a statistically significant result or not. To obtain it, fill in the corresponding fields and you will obtain the value of the t-score, p-value, critical value, and the degrees of freedom. You can also download a graph that will display your results in the form of the Student's t-distribution.

T-score result

Two sample t-test calculator.

To determine whether or not the means of two groups are equal, you can use our two-sample t-test calculator that applies the t-test. The results are displayed in a Student's t-distribution plot that you can download. To complete the form, you must include information for both groups, including the mean, standard deviation, sample size, significance level,and whether the test is left, right, or two-tailed.

Common questions related to the Student's t-distribution

In this section, we will try to address the most frequently asked questions about the Student's t-distribution. To give you a fundamental and complementary understanding, we will try to dive into the underlying ideas of the t-distribution. The approach we want to take is to answer the most common questions from students with relevant information. Let's tackle problems simply and offer short and understandable solutions.

Questions related to the student's t-distribution

The formula in relation to the probability density function (pdf) for Student's t-distribution, is given as follows:

Where: π is the pi (approximately 3.14), ν correspond to the degrees of freedom, and Γ is the Euler Gamma function.

A distribution of mean estimates derived from samples taken from a population is what is, by definition, the Student's t-distribution. The t-distribution, commonly known as the Student's t-distribution, is a type of symmetric bell-shaped distribution, it has a lower height but a wider spread than the normal distribution. It is symmetric around 0, but the t-distribution has a wider spread than the typical normal distribution curve, or put another way, the t-distribution has a high standard deviation. The variability of individual observations around their mean is measured by a standard deviation. The degrees of freedom (df) are n - 1. So, df is equal to n – 1, where n is the sample size. The degrees of freedom affect the shape of each t distribution curve.

When the sample size is less than 30 and the population standard deviation is unknown, the t-distribution is utilized in hypothesis testing. It is helpful when the sample size is relatively small or the population standard deviation is unknown. It resembles the normal distribution more closely as sample size grows.

A statistical metric known as the standard deviation is used to quantify the distances between each observation and the mean in a set of data. The standard deviation calculates the degree of dispersion or variability. In other words, it's used to calculate how much a random variable deviates from the mean.

The t-value and t-score have the same meanings. It is one of the relative position measurements. By definition, a value of t defines the location of a continuous random variable, X, in relation to the number of standard deviations from the mean.

The significance level is a point in the normal distribution that must be understood in order to either reject or fail to reject the null hypothesis and to assess whether or not the results are statistically significant. If you decide to make use of our t distribution calculator , you must enter the alpha value corresponding to the significance level. The most common alpha values are 0.1, 0.05 or 0.01. Generally, the most common confidence intervals are: 90%, 95% and 99% (1 − α is the confidence level).

The p-value is a probability with a value ranging from 0 to 1. It is used to test a hypothesis. As an example, in some experiment, we choose the significance level value as 0.05, in this case, the alternative hypothesis is more likely to be supported by stronger evidence when the p-value is less than 0.05 (p-value < 0.05), in case the p-value is high (p-value > 0.05), the probability of accepting the null hypothesis is also high.

The z and t distributions are symmetric and bell-shaped. However, what most characterizes the t distribution are its tails, since they are heavier than in the normal distribution. Furthermore, it can be seen that there are more values in the t-distribution located at the ends of the tail instead of the center of the distribution. You must have the population standard deviation to use the standard normal or z distribution. On the other hand, one of the important conditions for adopting the t distribution is that the population variance is unknown

The t-test , it is a parametric comparison test, is used if the means of two samples are compared using a hypothesis test, if they are independent, from two separate samples, or dependent, a sample evaluated at two different times. The procedure is carried out to evaluate if the differences between the means are significant, determining that they are not due to chance.

To interpret the results of a t-test, you can compare the t-score to the critical value and consider the p-value. A high t-score and low p-value indicate that there is a statistically significant difference between the two means, while a low t-score and high p-value indicate that the difference is not statistically significant. The degrees of freedom and the significance level (alpha) also play a role in determining the critical value and the p-value.

A one sample t-test is a statistical procedure used to test whether the mean of a single sample is significantly different from a hypothesized mean. It is used to determine whether the sample comes from a population with a mean that is different from the hypothesized mean. To perform a one sample t-test using a calculator, you need to input the following information: The sample data, including the mean and standard deviation. The hypothesized mean. The significance level (alpha). The type of tail (left, right, or two-tailed). The calculator will then calculate the t-score and p-value based on this information, and will also provide the critical value and degrees of freedom. To interpret the results, you can compare the t-score to the critical value and consider the p-value. If the t-score is greater than the critical value and the p-value is less than the significance level, you can reject the null hypothesis and conclude that the sample mean is significantly different from the hypothesized mean. If the t-score is less than the critical value or the p-value is greater than the significance level, you cannot reject the null hypothesis and must conclude that the sample mean is not significantly different from the hypothesized mean.

A two-sample t-test is a statistical procedure used to determine whether there is a significant difference between the means of two groups. It is often used to compare the means of two groups in order to determine whether a difference exists between them. For example, a researcher might use a two-sample t-test to determine whether there is a significant difference in the average scores on a test between males and females, or between two different treatment groups in a medical study. The t-test is based on the t-statistic , which is calculated from the sample data and represents the difference between the two groups in relation to the variation within the groups. The t-test is used to determine whether this difference is statistically significant, meaning that it is unlikely to have occurred by chance.

For optimal use, please visit DATAtab on your desktop PC!

Metric Variables:

Ordinal variables:, nominal variables:, hypothesis test calculator.

Do you want to calculate a hypothesis test such as a t-test , Chi Square test or an ANOVA ? You can do that easily here in the browser.

Hypothesis test calculator

If you want to use your own data just clear the upper table

  • Clear the table in the Hypothesis test calculator.
  • Copy your data into the table.
  • Select the variables.

In the hypothesis test calculator you can calculate e.g. a t-test, a chi-square test, a binomial test or an analysis of variance. If you need a more detailed explanation, you can find more information in the tutorials.

In order to use the hypothesis test calculator, you must first formulate your hypothesis and collect your data. DATAtab will then suggest the hypothesis test you need based on the data entered into the statistics calculator.

p value calculator

With the p value calculator you can calculate the p value for different tests. There is a wide range of methods for this. Just click on the variables you want to evaluate above and DATAtab will give you the tests you can use.

For example, if you select a metric and a categorical variable, the Independent t-Test calculator is automatically selected. If your data is not normally distributed, simply use the Mann-Whitney U-test calculator.

H0 and H1 calculator

With the h0 and h1 calculator for the different hypothesis test you can calculate the p-value which gives you an indication if you can reject the H0 or not.

Cite DATAtab: DATAtab Team (2024). DATAtab: Online Statistics Calculator. DATAtab e.U. Graz, Austria. URL https://datatab.net

  • Student T-Value Calculator
  • T Score vs Z Score
  • Student T Test Excel
  • T Table Calculator
  • Student's T Test
  • T Table Values
  • Null Hypothesis T Test
  • T Table Degrees of Freedom
  • T Table Critical Values
  • T Table Statistics
  • Z Score Table
  • T Table Confidence Interval
  • T Table Hypothesis Testing
  • Z Score Calculator
  • Chi Square Table
  • T Table Blog
  • F Distribution Tables
  • 1 mcg to mg
  • 5 mcg to mg
  • 10 mcg to mg
  • 50 mcg to mg
  • 100 mcg to mg
  • 125 mcg to mg
  • 200 mcg to mg
  • 250 mcg to mg
  • 300 mcg to mg
  • 400 mcg to mg
  • 500 mcg to mg
  • 1000 mcg to mg
  • 1 mg to mcg
  • 2 mg to mcg
  • 5 mg to cmg
  • 10 mg to cmg
  • 25 mg to mcg
  • 50 mg to mcg
  • 100 mg to mcg
  • 200 mg to mcg
  • 250 mg to mcg
  • 1000 mg to mcg
  • 1 tbsp to oz
  • 2 tbsp to oz
  • 3 tbsp to oz
  • 4 tbsp to oz
  • 5 tbsp to oz
  • 6 tbsp to oz
  • 1 tbsp to ml
  • 2 tbsp to ml
  • 3 tbsp to ml
  • 5 tbsp to ml
  • 0.5 KG to LB
  • 1.7 KG to LB
  • 10 KG to LB
  • 15 KG to LB
  • 20 KG to LB
  • 22.5 KG to LB
  • 23 KG to LB
  • 25 KG to LB
  • 50 KG to LB
  • 60 KG to LB
  • 65 KG to LB
  • 70 KG to LB
  • 80 KG to LB
  • 90 KG to LB
  • 100 KG to LB
  • 150 KG to LB
  • 60 LB to KG
  • 90 LB to KG
  • 120 LB to KG
  • 130 LB to KG
  • 135 LB to KG
  • 140 LB to KG
  • 150 LB to KG
  • 155 LB to KG
  • 160 LB to KG
  • 165 LB to KG
  • 170 LB to KG
  • 180 LB to KG
  • 190 LB to KG
  • 200 LB to KG
  • 160 CM to Feet
  • 165 CM to Feet
  • 168 CM to Feet
  • 170 CM to Feet
  • 172 CM to Feet
  • 173 CM to Feet
  • 175 CM to Feet
  • 178 CM to Feet
  • 180 CM to Feet
  • 3 CM to Inches
  • 5 CM to Inches
  • 12 CM to Inches
  • 13 CM to Inches
  • 14 CM to Inches
  • 15 CM to Inches
  • 16 CM to Inches
  • 17 CM to Inches
  • 18 CM to Inches
  • 20 CM to Inches
  • 21 CM to Inches
  • 22 CM to Inches
  • 23 CM to Inches
  • 25 CM to Inches
  • 28 CM to Inches
  • 30 CM to Inches
  • 40 CM to Inches
  • 45 CM to Inches
  • 50 CM to Inches
  • 60 CM to Inches
  • 70 CM to Inches
  • 90 CM to Inches
  • 5 Inches to CM
  • 6 Inches to CM
  • 10 Inches to CM
  • 12 Inches to CM
  • 21 Inches to CM
  • 23 Inches to CM
  • 24 Inches to CM
  • 28 Inches to CM
  • 34 Inches to CM
  • 35 Inches to CM
  • 36 Inches to CM
  • 43 Inches to CM
  • 45 Inches to CM
  • 54 Inches to CM
  • 63 Inches to CM
  • 71 Inches to CM
  • 74 Inches to CM
  • 96 Inches to CM
  • 500 watts to amps
  • 600 watts to amps
  • 800 watts to amps
  • 1000 watts to amps
  • 1200 watts to amps
  • 1500 watts to amps
  • 2000 watts to amps
  • 2500 watts to amps
  • 3000 watts to amps
  • 4000 watts to amps
  • 5000 watts to amps
  • 36.5 C to F
  • 36.6 C to F
  • 36.7 C to F
  • 36.8 C to F
  • 37.2 C to F
  • 37.5 C to F
  • 15 Fahrenheit to Celsius
  • 40 Fahrenheit to Celsius
  • 50 Fahrenheit to Celsius
  • 60 Fahrenheit to Celsius
  • 70 Fahrenheit to Celsius
  • 72 Fahrenheit to Celsius
  • 75 Fahrenheit to Celsius
  • 80 Fahrenheit to Celsius
  • 90 Fahrenheit to Celsius
  • 100 Fahrenheit to Celsius
  • 180 Fahrenheit to Celsius
  • P Value Calculator
  • I Roman Numerals
  • II Roman Numerals
  • III Roman Numerals
  • IV Roman Numerals
  • V Roman Numerals
  • VI Roman Numerals
  • VII Roman Numerals
  • VIII Roman Numerals
  • IX Roman Numerals
  • X Roman Numerals
  • XI Roman Numerals
  • XII Roman Numerals
  • XIII Roman Numerals
  • XIV Roman Numerals
  • XV Roman Numerals
  • XVI Roman Numerals
  • XVII Roman Numerals
  • XVIII Roman Numerals
  • XIX Roman Numerals
  • XX Roman Numerals
  • XXI Roman Numerals
  • XXII Roman Numerals
  • XXIII Roman Numerals
  • XXIV Roman Numerals
  • XXV Roman Numerals
  • XXVI Roman Numerals
  • XXVII Roman Numerals
  • XXVIII Roman Numerals
  • XXIX Roman Numerals
  • XXX Roman Numerals
  • XXXI Roman Numerals
  • XXXII Roman Numerals
  • XXXIII Roman Numerals
  • XXXIV Roman Numerals
  • XXXV Roman Numerals
  • XXXVI Roman Numerals
  • XXXVII Roman Numerals
  • XXXVIII Roman Numerals
  • XXXIX Roman Numerals
  • XL Roman Numerals
  • XLI Roman Numerals
  • XLII Roman Numerals
  • XLIII Roman Numerals
  • XLIV Roman Numerals
  • XLV Roman Numerals
  • XLVI Roman Numerals
  • XLVII Roman Numerals
  • XLVIII Roman Numerals
  • XLIX Roman Numerals
  • L Roman Numerals
  • LI Roman Numerals
  • LII Roman Numerals
  • LIII Roman Numerals
  • LIV Roman Numerals
  • LV Roman Numerals
  • LVI Roman Numerals
  • LVII Roman Numerals
  • LVIII Roman Numerals
  • LIX Roman Numerals
  • LX Roman Numerals
  • LXI Roman Numerals
  • LXII Roman Numerals
  • LXIII Roman Numerals
  • LXIV Roman Numerals
  • LXV Roman Numerals
  • LXVI Roman Numerals
  • LXVII Roman Numerals
  • LXVIII Roman Numerals
  • LXIX Roman Numerals
  • LXX Roman Numerals
  • LXXI Roman Numerals
  • LXXII Roman Numerals
  • LXXIII Roman Numerals
  • LXXIV Roman Numerals
  • LXXV Roman Numerals
  • LXXVI Roman Numerals
  • LXXVII Roman Numerals
  • LXXVIII Roman Numerals
  • LXXIX Roman Numerals
  • LXXX Roman Numerals
  • LXXXI Roman Numerals
  • LXXXII Roman Numerals
  • LXXXIII Roman Numerals
  • LXXXIV Roman Numerals
  • LXXXV Roman Numerals
  • LXXXVI Roman Numerals
  • LXXXVII Roman Numerals
  • LXXXVIII Roman Numerals
  • LXXXIX Roman Numerals
  • XC Roman Numerals
  • XCI Roman Numerals
  • XCII Roman Numerals
  • XCIII Roman Numerals
  • XCIV Roman Numerals
  • XCV Roman Numerals
  • XCVI Roman Numerals
  • XCVII Roman Numerals
  • XCVIII Roman Numerals
  • XCIX Roman Numerals
  • C Roman Numerals
  • CI Roman Numerals
  • CII Roman Numerals
  • CIII Roman Numerals
  • CIV Roman Numerals
  • CV Roman Numerals
  • CVI Roman Numerals
  • CVII Roman Numerals
  • CVIII Roman Numerals
  • CIX Roman Numerals
  • CX Roman Numerals
  • CXI Roman Numerals
  • CXII Roman Numerals
  • CXIII Roman Numerals
  • CXIV Roman Numerals
  • CXV Roman Numerals
  • CXVI Roman Numerals
  • CXVII Roman Numerals
  • CXVIII Roman Numerals
  • CXIX Roman Numerals
  • CXX Roman Numerals
  • CXXI Roman Numerals
  • CXXII Roman Numerals
  • CXXIII Roman Numerals
  • CXXIV Roman Numerals
  • CXXV Roman Numerals
  • CXXVI Roman Numerals
  • CXXVII Roman Numerals
  • CXXVIII Roman Numerals
  • CXXIX Roman Numerals
  • CXXX Roman Numerals
  • CXXXI Roman Numerals
  • CXXXII Roman Numerals
  • CXXXIII Roman Numerals
  • CXXXIV Roman Numerals
  • CXXXV Roman Numerals
  • CXXXVI Roman Numerals
  • CXXXVII Roman Numerals
  • CXXXVIII Roman Numerals
  • CXXXIX Roman Numerals
  • CXL Roman Numerals
  • CXLI Roman Numerals
  • CXLII Roman Numerals
  • CXLIII Roman Numerals
  • CXLIV Roman Numerals
  • CXLV Roman Numerals
  • CXLVI Roman Numerals
  • CXLVII Roman Numerals
  • CXLVIII Roman Numerals
  • CXLIX Roman Numerals
  • CL Roman Numerals
  • CLI Roman Numerals
  • CLII Roman Numerals
  • CLIII Roman Numerals
  • CLIV Roman Numerals
  • CLV Roman Numerals
  • CLVI Roman Numerals
  • CLVII Roman Numerals
  • CLVIII Roman Numerals
  • CLIX Roman Numerals
  • CLX Roman Numerals
  • CLXI Roman Numerals
  • CLXII Roman Numerals
  • CLXIII Roman Numerals
  • CLXIV Roman Numerals
  • Standard Deviation Calculator
  • Using LETTERS in R: A Comprehensive Guide
  • Combination Calculator
  • Permutation Calculator
  • Mean Calculator
  • Median Calculator
  • Empirical Rule Calculator
  • Word Counter
  • Factor Calculator
  • Square Root Calculator
  • Root Calculator
  • Is 1 a Prime Number?
  • Is 2 a Prime Number?
  • Is 7 a Prime Number?
  • Is 11 a Prime Number?
  • Is 13 a Prime Number?
  • Is 17 a Prime Number?
  • Is 19 a Prime Number?
  • Is 23 a Prime Number?
  • Is 27 a Prime Number?
  • Is 29 a Prime Number?
  • Is 31 a Prime Number?
  • Is 37 a Prime Number?
  • Is 41 a Prime Number?
  • Is 51 a Prime Number?
  • Is 53 a Prime Number?
  • Shoe Size EU to US
  • Shoe Sizes Men to Women
  • UK Shoe Size to US
  • Online Timer
  • Online Digital Stopwatch
  • What are Mathematical Coordinates?

​Student t-Value Calculator Online

Student t-value calculator.

In order to calculate the Student T Value for any degrees of freedom and given probability. The calculator will return Student T Values for one tail (right) and two tailed probabilities. Please input degrees of freedom and probability level and then click “CALCULATE”

hypothesis testing t distribution calculator

One Sample T Test Calculator

Enter sample data, reporting results in apa style, one sample t-test, what is a one sample t-test, how to use the one sample t test calculator, calculators.

T-Test Calculator

Compare the means of two samples using a single-sample or two-sample t-test below.

  • Single Sample
  • Two Sample (Unpaired)

Have a Question or Feedback?

Chevron Down Icon scroll down

On this page:

How to do a t-test, types of t-tests, how to calculate t using a one-sample t-test, how to calculate t using a student’s t-test, how to calculate t using welch’s t-test, find the p-value.

Bio image of Joe Sexton

Joe is the creator of Inch Calculator and has over 20 years of experience in engineering and construction. He holds several degrees and certifications.

Full bio Chevron Right Icon

Bio image of Brian Libgober, PhD

Brian specializes in political science and statistics with several advanced degrees from Harvard.

A t-test calculates how significant the difference between the means of two groups are. The results let you know if those differences could have occurred by chance, or rather, whether the difference is statistically significant.

A t-test uses the test statistic, sometimes called a t-value or t-score, the t-distribution values, and the degrees of freedom to calculate the statistical significance of the difference.

Since a t-test is a parametric test, it relies on assumptions about the process that generated the underlying data. In particular, the likelihood or unlikelihood that the t-test provides for a difference being due to chance depends on the assumption that the data are normally distributed and each data point’s values are independent of one another.

Depending on how plausible those assumptions are, the analysis that follows will be more or less useful. If your data is continuous and comes from a relatively large random sample from some population, the central limit theorem implies that these assumptions will likely be approximately satisfied.

The first part of doing a t-test is determining which type of t-test you need to do.

There are three different types of t-tests:

  • one-sample t-test: used to compare the mean of a sample to the known mean of a population
  • two-sample t-test: used to compare the mean of two different independent samples
  • paired t-test: used to compare the mean of two different samples after an intervention or change

A one-sample t-test, or single-sample test, is used to compare a sample mean to a population mean when the null hypothesis is that the sample mean is equal to the population mean.

Those who first encounter this test often wonder why they would use it, since the population mean is often not known (and the data is often collected to determine the population mean in the first place).

It often does make sense to use a one-sample t-test if you have a particular interest in whether a sample’s mean is different from some reference value that is determined to be substantively important for other reasons.

For example, let’s suppose that 5 micrograms of lead per liter of blood is the maximum safe amount, according to most medical references. Then, you may well consider doing a one-sample t-test to examine whether the average blood lead level of a sample of individuals was above that medically acceptable limit.

One-Sample T-Test Formula

To calculate the t value using a one-sample t-test, use the following formula:

Where: x̄ = sample mean μ = population mean s = sample standard deviation n = sample size

Thus, the test statistic t is equal to the difference between the sample mean x̄ and the population mean μ , divided by the standard error s / √n .

A Student’s t-test is used for test statistics that follow a Student’s t-distribution under the null hypothesis that two populations have equal means.

The name “Student” refers to the pseudonym of the author who first proposed the test in an academic journal, and does not refer to the fact it is one of the most commonly taught tests in statistics courses (although the latter is also true).

The Student’s t-test assumes that the variances of two populations are equal and asks whether their means differ significantly.

This is a type of two-sample test used to compare two sample means, where a large t-value suggests that the samples are very different, and a small t-value suggests that they are similar.

Similar to the one-sample t-test, individuals who first encounter this test may wonder about the plausibility of its assumptions. In particular, you might question how the variances in two samples could possibly be equal if the means are different.

In some contexts (for example, the industrial experiments that motivated Student’s efforts), there might be substantive reasons to assume equal variances. More informally, if you calculate the standard deviations in each sample and sees that they are close, you might proceed to calculate Student’s t-test.

More formally, some analysts would recommend that you initially conduct an F-test to determine whether variances are different, and then proceed to consider the means. But many analysts would also simply not make the equal variances assumption and proceed directly to Welch’s t-test.

Student’s T-Test Formula

The formula for a Student’s t-test is:

Given the formula to calculate the pooled standard deviation s p :

Where: x̄ 1 = first sample mean x̄ 2 = second sample mean n 1 = first sample size n 2 = second sample size s 1 = first sample standard deviation s 2 = second sample standard deviation n 1 + n 2 – 2 = degrees of freedom ν

In a Student’s t-test, the test statistic t is equal to the difference between sample means x̄ 1 and x̄ 2 , divided by the pooled standard deviation s p times the square root of 1 divided by the first sample size n 1 plus 1 divided by the second sample size n 2 .

The pooled standard deviation s p is equal to the first sample size n 1 minus 1 times the first sample standard deviation s 1 plus the second sample size n 2 minus 1 times the second sample standard deviation s 2 , divided by the degrees of freedom, in this case the sum of the sample sizes minus two.

It is called the “pooled” standard deviation because it combines or “pools” the data between both samples to determine the overall variability of the data.

This formula can be broken down into a few simple steps.

Step One: Calculate the Degrees of Freedom

Step two: calculate the pooled standard deviation, step three: calculate the test statistic.

Graphic showing the Student's t-test formula to calculate the test statistic, pooled standard deviation, and degrees of freedom

Recall that the Student’s t-test assumes that the variances of two populations are equal. As was mentioned above, this is often a questionable assumption, and ultimately unverifiable.

In this case, you can use Welch’s t-test, which is sometimes also called an unequal variances t-test or an “unpooled” t-test. Like before, the null hypothesis with this test is that two populations have equal means.

Welch’s T-Test Formula

The formula for Welch’s t-test is:

Degrees of Freedom Formula

To find the degrees of freedom when using Welch’s t-test, use the Satterthwaite formula:

The next step is to find the p-value for the test statistic. The p-value is a measure of how “surprising” or “unlikely” some statistic would be given the particular assumptions that the analyst makes.

In the case of these t-tests for differences in means, the p-value is the probability of calculating a t-statistic that is as large or larger than what was actually calculated from the observed data if, in fact, the population means were identical.

More generally, a p-value is used to determine whether to reject the null hypothesis. In formal hypothesis testing, you would specify beforehand the p-value that would lead you to conclude that the two samples came from different populations.

What is the Right P-Value?

These standards differ by field and disciplines a lot, for example, in social and biological sciences, a p-value of 0.05 or smaller (implying 5% or lower chance of observing the data under the null hypothesis) is common, although in some cases 0.1 or 0.01 might be the standard.

In the physical sciences, it is not uncommon to pre-specify a “6 sigma” standard for certain kinds of evidence, which requires an astronomically small p-value.

How to Calculate the P-Value

To calculate the p-value from a t-statistic, use a t-table and locate the degrees of freedom in the leftmost column. Then, locate the desired p-value in the heading row, 0.05 is most commonly used for a 95% confidence level.

Then, find the intersection of the row and column to find the critical value.

Drawing Conclusions Using the P-Value

If the calculated t-value is larger than the critical value, then you can reject the null hypothesis. If it is less than the critical value, then you fail to reject the null hypothesis.

The t-distribution is related to the normal distribution; indeed, it can be thought of as the normal distribution’s “heavy-tailed” cousin. The degrees of freedom in the t-distribution determines how heavy the tails are, with fewer degrees of freedom resulting in greater departures from normality.

As the degrees of freedom increase, it becomes harder and harder to tell the differences between the associated t-distribution and the normal distribution.

Because of this fact, experienced statistical analysts are often able to approximately estimate the p-value of a particular t-statistic through their familiarity with the normal distribution.

A t-statistic of 2 or greater is typically enough to confirm statistical significance in the social and biological contexts.

Recommended Statistics Resources

  • Winning Percentage Calculator Right Arrow Icon
  • Standard Error Calculator Right Arrow Icon
  • Average Calculator Right Arrow Icon
  • Central Limit Theorem Calculator Right Arrow Icon
  • T Table Right Arrow Icon

An open portfolio of interoperable, industry leading products

The Dotmatics digital science platform provides the first true end-to-end solution for scientific R&D, combining an enterprise data platform with the most widely used applications for data analysis, biologics, flow cytometry, chemicals innovation, and more.

hypothesis testing t distribution calculator

Statistical analysis and graphing software for scientists

Bioinformatics, cloning, and antibody discovery software

Plan, visualize, & document core molecular biology procedures

Electronic Lab Notebook to organize, search and share data

Proteomics software for analysis of mass spec data

Modern cytometry analysis platform

Analysis, statistics, graphing and reporting of flow cytometry data

Software to optimize designs of clinical trials

T test calculator

A t test compares the means of two groups. There are several types of two sample t tests and this calculator focuses on the three most common: unpaired, welch's, and paired t tests. Directions for using the calculator are listed below, along with more information about two sample t tests and help on which is appropriate for your analysis. NOTE: This is not the same as a one sample t test; for that, you need this One sample t test calculator .

1. Choose data entry format

Caution: Changing format will erase your data.

2. Choose a test

Help me choose

3. Enter data

Help me arrange the data

4. View the results

What is a t test.

A t test is used to measure the difference between exactly two means. Its focus is on the same numeric data variable rather than counts or correlations between multiple variables. If you are taking the average of a sample of measurements, t tests are the most commonly used method to evaluate that data. It is particularly useful for small samples of less than 30 observations. For example, you might compare whether systolic blood pressure differs between a control and treated group, between men and women, or any other two groups.

This calculator uses a two-sample t test, which compares two datasets to see if their means are statistically different. That is different from a one sample t test , which compares the mean of your sample to some proposed theoretical value.

The most general formula for a t test is composed of two means (M1 and M2) and the overall standard error (SE) of the two samples:

t test formula

See our video on How to Perform a Two-sample t test for an intuitive explanation of t tests and an example.

How to use the t test calculator

  • Choose your data entry format . This will change how section 3 on the page looks. The first two options are for entering your data points themselves, either manually or by copy & paste. The last two are for entering the means for each group, along with the number of observations (N) and either the standard error of that mean (SEM) or standard deviation of the dataset (SD) standard error. If you have already calculated these summary statistics, the latter options will save you time.
  • Choose a test from the three options: Unpaired t test, Welch's unpaired t test, or Paired t test. Use our Ultimate Guide to t tests if you are unsure which is appropriate, as it includes a section on "How do I know which t test to use?". Notice not all options are available if you enter means only.
  • Enter data for the test, based on the format you chose in Step 1.
  • Click Calculate Now and View the results. All options will perform a two-tailed test .

Performing t tests? We can help.

Sign up for more information on how to perform t tests and other common statistical analyses.

Common t test confusion

In addition to the number of t test options, t tests are often confused with completely different techniques as well. Here's how to keep them all straight.

Correlation and regression are used to measure how much two factors move together. While t tests are part of regression analysis, they are focused on only one factor by comparing means in different samples.

ANOVA is used for comparing means across three or more total groups. In contrast, t tests compare means between exactly two groups.

Finally, contingency tables compare counts of observations within groups rather than a calculated average. Since t tests compare means of continuous variable between groups, contingency tables use methods such as chi square instead of t tests.

Assumptions of t tests

Because there are several versions of t tests, it's important to check the assumptions to figure out which is best suited for your project. Here are our analysis checklists for unpaired t tests and paired t tests , which are the two most common. These (and the ultimate guide to t tests ) go into detail on the basic assumptions underlying any t test:

  • Exactly two groups
  • Sample is normally distributed
  • Independent observations
  • Unequal or equal variance?
  • Paired or unpaired data?

Interpreting results

The three different options for t tests have slightly different interpretations, but they all hinge on hypothesis testing and P values. You need to select a significance threshold for your P value (often 0.05) before doing the test.

While P values can be easy to misinterpret , they are the most commonly used method to evaluate whether there is evidence of a difference between the sample of data collected and the null hypothesis. Once you have run the correct t test, look at the resulting P value. If the test result is less than your threshold, you have enough evidence to conclude that the data are significantly different.

If the test result is larger or equal to your threshold, you cannot conclude that there is a difference. However, you cannot conclude that there was definitively no difference either. It's possible that a dataset with more observations would have resulted in a different conclusion.

Depending on the test you run, you may see other statistics that were used to calculate the P value, including the mean difference, t statistic, degrees of freedom, and standard error. The confidence interval and a review of your dataset is given as well on the results page.

Graphing t tests

This calculator does not provide a chart or graph of t tests, however, graphing is an important part of analysis because it can help explain the results of the t test and highlight any potential outliers. See our Prism guide for some graphing tips for both unpaired and paired t tests.

Prism is built for customized, publication quality graphics and charts. For t tests we recommend simply plotting the datapoints themselves and the mean, or an estimation plot . Another popular approach is to use a violin plot, like those available in Prism.

For more information

Our ultimate guide to t tests includes examples, links, and intuitive explanations on the subject. It is quite simply the best place to start if you're looking for more about t tests!

If you enjoyed this calculator, you will love using Prism for analysis. Take a free 30-day trial to do more with your data, such as:

  • Clear guidance to pick the right t test and detailed results summaries
  • Custom, publication quality t test graphics, violin plots, and more
  • More t test options, including normality testing as well as nested and multiple t tests
  • Non-parametric test alternatives such as Wilcoxon, Mann-Whitney, and Kolmogorov-Smirnov

Check out our video on how to perform a t test in Prism , for an example from start to finish!

Remember, this page is just for two sample t tests. If you only have one sample, you need to use this calculator instead.

We Recommend:

Analyze, graph and present your scientific work easily with GraphPad Prism. No coding required.

Library homepage

  • school Campus Bookshelves
  • menu_book Bookshelves
  • perm_media Learning Objects
  • login Login
  • how_to_reg Request Instructor Account
  • hub Instructor Commons

Margin Size

  • Download Page (PDF)
  • Download Full Book (PDF)
  • Periodic Table
  • Physics Constants
  • Scientific Calculator
  • Reference & Cite
  • Tools expand_more
  • Readability

selected template will load here

This action is not available.

Statistics LibreTexts

9.4: Distribution Needed for Hypothesis Testing

  • Last updated
  • Save as PDF
  • Page ID 773

\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

\( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

\( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)

( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)

\( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

\( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)

\( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

\( \newcommand{\Span}{\mathrm{span}}\)

\( \newcommand{\id}{\mathrm{id}}\)

\( \newcommand{\kernel}{\mathrm{null}\,}\)

\( \newcommand{\range}{\mathrm{range}\,}\)

\( \newcommand{\RealPart}{\mathrm{Re}}\)

\( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

\( \newcommand{\Argument}{\mathrm{Arg}}\)

\( \newcommand{\norm}[1]{\| #1 \|}\)

\( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)

\( \newcommand{\vectorA}[1]{\vec{#1}}      % arrow\)

\( \newcommand{\vectorAt}[1]{\vec{\text{#1}}}      % arrow\)

\( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

\( \newcommand{\vectorC}[1]{\textbf{#1}} \)

\( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)

\( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)

\( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

Earlier in the course, we discussed sampling distributions. Particular distributions are associated with hypothesis testing. Perform tests of a population mean using a normal distribution or a Student's \(t\)-distribution. (Remember, use a Student's \(t\)-distribution when the population standard deviation is unknown and the distribution of the sample mean is approximately normal.) We perform tests of a population proportion using a normal distribution (usually \(n\) is large or the sample size is large).

If you are testing a single population mean, the distribution for the test is for means :

\[\bar{X} - N\left(\mu_{x}, \frac{\sigma_{x}}{\sqrt{n}}\right)\]

The population parameter is \(\mu\). The estimated value (point estimate) for \(\mu\) is \(\bar{x}\), the sample mean.

If you are testing a single population proportion, the distribution for the test is for proportions or percentages:

\[P' - N\left(p, \sqrt{\frac{p-q}{n}}\right)\]

The population parameter is \(p\). The estimated value (point estimate) for \(p\) is \(p′\). \(p' = \frac{x}{n}\) where \(x\) is the number of successes and n is the sample size.

Assumptions

When you perform a hypothesis test of a single population mean \(\mu\) using a Student's \(t\)-distribution (often called a \(t\)-test), there are fundamental assumptions that need to be met in order for the test to work properly. Your data should be a simple random sample that comes from a population that is approximately normally distributed. You use the sample standard deviation to approximate the population standard deviation. (Note that if the sample size is sufficiently large, a \(t\)-test will work even if the population is not approximately normally distributed).

When you perform a hypothesis test of a single population mean \(\mu\) using a normal distribution (often called a \(z\)-test), you take a simple random sample from the population. The population you are testing is normally distributed or your sample size is sufficiently large. You know the value of the population standard deviation which, in reality, is rarely known.

When you perform a hypothesis test of a single population proportion \(p\), you take a simple random sample from the population. You must meet the conditions for a binomial distribution which are: there are a certain number \(n\) of independent trials, the outcomes of any trial are success or failure, and each trial has the same probability of a success \(p\). The shape of the binomial distribution needs to be similar to the shape of the normal distribution. To ensure this, the quantities \(np\) and \(nq\) must both be greater than five \((np > 5\) and \(nq > 5)\). Then the binomial distribution of a sample (estimated) proportion can be approximated by the normal distribution with \(\mu = p\) and \(\sigma = \sqrt{\frac{pq}{n}}\). Remember that \(q = 1 – p\).

In order for a hypothesis test’s results to be generalized to a population, certain requirements must be satisfied.

When testing for a single population mean:

  • A Student's \(t\)-test should be used if the data come from a simple, random sample and the population is approximately normally distributed, or the sample size is large, with an unknown standard deviation.
  • The normal test will work if the data come from a simple, random sample and the population is approximately normally distributed, or the sample size is large, with a known standard deviation.

When testing a single population proportion use a normal test for a single population proportion if the data comes from a simple, random sample, fill the requirements for a binomial distribution, and the mean number of successes and the mean number of failures satisfy the conditions: \(np > 5\) and \(nq > 5\) where \(n\) is the sample size, \(p\) is the probability of a success, and \(q\) is the probability of a failure.

Formula Review

If there is no given preconceived \(\alpha\), then use \(\alpha = 0.05\).

Types of Hypothesis Tests

  • Single population mean, known population variance (or standard deviation): Normal test .
  • Single population mean, unknown population variance (or standard deviation): Student's \(t\)-test .
  • Single population proportion: Normal test .
  • For a single population mean , we may use a normal distribution with the following mean and standard deviation. Means: \(\mu = \mu_{\bar{x}}\) and \(\\sigma_{\bar{x}} = \frac{\sigma_{x}}{\sqrt{n}}\)
  • A single population proportion , we may use a normal distribution with the following mean and standard deviation. Proportions: \(\mu = p\) and \(\sigma = \sqrt{\frac{pq}{n}}\).
  • It is continuous and assumes any real values.
  • The pdf is symmetrical about its mean of zero. However, it is more spread out and flatter at the apex than the normal distribution.
  • It approaches the standard normal distribution as \(n\) gets larger.
  • There is a "family" of \(t\)-distributions: every representative of the family is completely defined by the number of degrees of freedom which is one less than the number of data items.

Good Calculators: Free Online Calculators

  • Salary & Income Tax Calculators
  • Mortgage Calculators
  • Retirement Calculators
  • Depreciation Calculators
  • Statistics and Analysis Calculators
  • Date and Time Calculators
  • Contractor Calculators
  • Budget & Savings Calculators
  • Loan Calculators
  • Forex Calculators
  • Real Function Calculators
  • Engineering Calculators
  • Tax Calculators
  • Volume Calculators
  • 2D Shape Calculators
  • 3D Shape Calculators
  • Logistics Calculators
  • HRM Calculators
  • Sales & Investments Calculators
  • Grade & GPA Calculators
  • Conversion Calculators
  • Ratio Calculators
  • Sports & Health Calculators
  • Other Calculators

Student T-Value Calculator

You can use this T-Value Calculator to calculate the Student's t-value based on the significance level and the degrees of freedom in the standard deviation.

How to use the calculator

  • Enter the degrees of freedom (df)
  • Enter the significance level alpha (α is a number between 0 and 1)
  • Click the "Calculate" button to calculate the Student's t-critical value.

Degrees of Freedom (df) :

Significance Level (α) :

  • Currently 4.76/5

Rating: 4.8 /5 (821 votes)

hypothesis testing t distribution calculator

Hypothesis Test Graph Generator

Note: After clicking "Draw here", you can click the "Copy to Clipboard" button (in Internet Explorer), or right-click on the graph and choose Copy. In your Word processor, choose Paste-Special from the Edit menu, and select "Bitmap" from the choices

Note: This creates the graph based on the shape of the normal curve, which is a reasonable approximation to the t-distribution for a large sample size. These graphs are not appropriate if you are doing a t-distribution with small sample size (less than 30).

IMAGES

  1. How to Use T-Tests to Analyze Survey Results (T-Test Calculator Guide)

    hypothesis testing t distribution calculator

  2. One Sample T Test

    hypothesis testing t distribution calculator

  3. Hypothesis Testing Formula

    hypothesis testing t distribution calculator

  4. t-Test Formula: Calculation with Examples & Excel Template

    hypothesis testing t distribution calculator

  5. Student's t-Test (t0, te & H0) Calculator, Formulas & Examples

    hypothesis testing t distribution calculator

  6. Hypothesis Testing 05: Using t distribution

    hypothesis testing t distribution calculator

VIDEO

  1. Hypothesis Testing

  2. Two Sample Hypothesis Test for Independent Means using Stapplet

  3. Hypothesis Test for a Population Mean (T-Distribution)

  4. Statistics

  5. FA II STATISTICS/ Hypothesis testing / Chapter no 7/ t distribution/ Example 7.5 /

  6. Use Traditional Method of Hypothesis Testing t test given n x bar s Math 160 Stats Final Review 18A

COMMENTS

  1. Hypothesis Testing Calculator with Steps

    Hypothesis Testing Calculator. The first step in hypothesis testing is to calculate the test statistic. The formula for the test statistic depends on whether the population standard deviation (σ) is known or unknown. If σ is known, our hypothesis test is known as a z test and we use the z distribution. If σ is unknown, our hypothesis test is ...

  2. t-test Calculator

    Recall, that in the critical values approach to hypothesis testing, you need to set a significance level, α, before computing the critical values, which in turn give rise to critical regions (a.k.a. rejection regions). Formulas for critical values employ the quantile function of t-distribution, i.e., the inverse of the cdf:. Critical value for left-tailed t-test:

  3. Hypothesis Test Calculator

    Use this Hypothesis Test Calculator for quick results in Python and R. Learn the step-by-step hypothesis test process and why hypothesis testing is important. ... Student's T Distribution t-table Standard Normal Distribution z-table F-Distribution Critical Values Table GET. World-Class Data Science ...

  4. T Distribution Calculator

    First, we select "mean score" from the dropdown box in the T Distribution Calculator. Then, we plug the known inputs (cumulative probability, standard deviation, sample mean, and degrees of freedom) into the calculator and hit the Calculate button. The calculator reports that the population mean is 111.2.

  5. T-Distribution Probability Calculator

    Solution: We need to compute \Pr (-1 \leq T \leq 0.8) Pr(−1 ≤ T ≤ 0.8), where T T has a t-distribution with df = 34 df = 34 degrees of freedom. Therefore, the probability is computed as: Use this T-Distribution Probability Calculator toc ompute t-distribution probabilities. Type the degrees of freedom and the probability event.

  6. T Statistic Calculator (T-Value)

    For the one-sample T-test, input the sample mean, known population mean, sample standard deviation, and sample size. Click the "Calculate" button. The calculator will provide you with the T-statistic value. Compare the calculated T-statistic to a critical value from the T-distribution table or use it to calculate a p-value.

  7. T Calculator

    T Calculator. Distributional calculator inputs; DF: P (≤X≤ ) = : P (X ) = (X

  8. Online Statistics Calculator: Hypothesis testing, t-test, chi-square

    Hypothesis Test. Here you will find everything about hypothesis testing: One sample t-test, Unpaired t-test, Paired t-test and Chi-square test. You will also find tutorials for non-parametric statistical procedures such as the Mann-Whitney u-Test and Wilcoxon-Test. mann-whitney-u-test and the Wilcoxon test

  9. T Test Overview: How to Use & Examples

    We'll use a two-sample t test to evaluate if the difference between the two group means is statistically significant. The t test output is below. In the output, you can see that the treatment group (Sample 1) has a mean of 109 while the control group's (Sample 2) average is 100. The p-value for the difference between the groups is 0.112.

  10. Hypothesis Testing for the Mean: T-test

    Using a t distribution table for a 1-tailed test with = 0.10 and d.f.= 17, we find that the critical t value is t = -1.333. This is a left-tailed test, so since -1.381 < -1.333, we are in the rejection region, so reject : 80, and accept the alternative hypothesis : < 80. Conclusions based on P-value: The test p value shown above is p = 0. ...

  11. How t-Tests Work: t-Values, t-Distributions, and Probabilities

    Hypothesis tests work by taking the observed test statistic from a sample and using the sampling distribution to calculate the probability of obtaining that test statistic if the null hypothesis is correct. In the context of how t-tests work, you assess the likelihood of a t-value using the t-distribution.

  12. Student's t-distribution calculator with graph generator

    One sample T-test calculator. The one sample t-test is a statistical hypothesis test calculator, use our calculator to check if you get a statistically significant result or not. To obtain it, fill in the corresponding fields and you will obtain the value of the t-score, p-value, critical value, and the degrees of freedom.

  13. Hypothesis Test Calculator: t-test, chi-square, analysis of variance

    Copy your data into the table. Select the variables. In the hypothesis test calculator you can calculate e.g. a t-test, a chi-square test, a binomial test or an analysis of variance. If you need a more detailed explanation, you can find more information in the tutorials. In order to use the hypothesis test calculator, you must first formulate ...

  14. Student T-Value Calculator

    The calculator will return Student T Values for one tail (right) and two tailed probabilities. Please input degrees of freedom and probability level and then click "CALCULATE". Use this t score calculator to calculate t critical value by confidence level & degree of freedom for the Student's t distribution.

  15. One Sample T Test Calculator

    The one-sample t-test determines if the mean of a single sample is significantly different from a known population mean. The one sample t-test calculator calculates the one sample t-test p-value and the effect size. When you enter the raw data, the one sample t-test calculator provides also the Shapiro-Wilk normality test result and the outliers.

  16. T-Test Calculator

    A Student's t-test is used for test statistics that follow a Student's t-distribution under the null hypothesis that two populations have equal means. The name "Student" refers to the pseudonym of the author who first proposed the test in an academic journal, and does not refer to the fact it is one of the most commonly taught tests in ...

  17. 27: Hypothesis Test for a Population Mean Given Statistics Calculator

    hypothesis test for a population mean given statistics calculator. Select if the population standard deviation, σ σ, is known or unknown. Then fill in the standard deviation, the sample mean, x¯ x ¯ , the sample size, n n, the hypothesized population mean μ0 μ 0, and indicate if the test is left tailed, <, right tailed, >, or two tailed ...

  18. T test calculator

    A t test compares the means of two groups. There are several types of two sample t tests and this calculator focuses on the three most common: unpaired, welch's, and paired t tests. Directions for using the calculator are listed below, along with more information about two sample t tests and help on which is appropriate for your analysis. NOTE: This is not the same as a one sample t test; for ...

  19. 9.4: Distribution Needed for Hypothesis Testing

    This page titled 9.4: Distribution Needed for Hypothesis Testing is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by OpenStax via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is available upon request. When testing for a single population mean: A ...

  20. T-Value Calculator

    You can use this T-Value Calculator to calculate the Student's t-value based on the significance level and the degrees of freedom in the standard deviation. How to use the calculator. Enter the degrees of freedom (df) Enter the significance level alpha (α is a number between 0 and 1) Click the "Calculate" button to calculate the Student's t ...

  21. T-Distribution

    T-distribution and t-scores. A t-score is the number of standard deviations from the mean in a t-distribution.You can typically look up a t-score in a t-table, or by using an online t-score calculator.. In statistics, t-scores are primarily used to find two things: The upper and lower bounds of a confidence interval when the data are approximately normally distributed.

  22. Statistical Power Calculator using the t-distribution*

    Statistical Power Calculator using the t-distribution*. Interactive calculator for illustrating power of a statistical hypothesis test. alpha : 0.01 0.2 0 0 0.05 0.01 0.03 0.05 0.07 0.09 0.11 0.13 0.15 0.17 0.19 0.2. Difference in means : 0.1 2 0 0 0.5 0.1 0.29 0.48 0.67 0.86 1.05 1.24 1.43 1.62 1.81 2. Sample size in each group : 12 200 50 12 ...

  23. Hypothesis Test Graph Generator

    Hypothesis Test Graph Generator. Note: After clicking "Draw here", you can click the "Copy to Clipboard" button (in Internet Explorer), or right-click on the graph and choose Copy. In your Word processor, choose Paste-Special from the Edit menu, and select "Bitmap" from the choices. Note: This creates the graph based on the shape of the normal ...