T-test vs F-test: Difference and Comparison

Students often go straight to the hypothesis test rather than first investigating the data with summary statistics and charts. Encourage them to summarise their data first. As well as summarising their results, graphs can show outliers and patterns.

/10

Education Quiz

Test your knowledge about topics related to education

1 / 10

We've all heard of a pandemic, but what is an 'infodemic'?

2 / 10

Who wrote the novel "Great Expectations"?

3 / 10

Which is the first country to have a public education system?

4 / 10

What is the study of the physical universe called?

5 / 10

What is the skill of speaking in front of an audience called?

6 / 10

In a class, there are children who usually get out of the social circle. How do you describe these children?

7 / 10

Which of the following is a type of visual art?

8 / 10

Who is known as the father of modern science?

9 / 10

What is the study of languages called?

10 / 10

Who is known as the father of modern physics?

Your score is

0%

For continuous, normally distributed data, summarise using means and standard deviations. If the data is skewed or there are influential outliers, the median (middle value) and interquartile range (Upper – lower quartile) are more appropriate.

T-tests are of different types:-

  1. Paired T-test – dependent and independent.
  2. Normal T-test

The paired t-test is used to determine paired differences. It is used in cases where the sample is less than 50, and the model on which the test was priory applied remains the same.

The One-sample t-test compares a sample mean to a specific value.

t = (mean – comparison value)/ Standard Error

An “F Test” uses the F-distribution. It uses an F Statistic to compare two variances.

i.e.  s1 and s2, by dividing them. A result is always a number greater than zero (as variances are always positive). The equation for comparing two variances with the f-test is:

F = s21 / s22

It is also essential to understand the difference between a t-test and an f-test, as they are used interchangeably by many people.

Key Takeaways

  1. A t-test determines if two sets of data are significantly different.
  2. An F-test determines if two sets of data have the same variance.
  3. T-test is used for smaller sample sizes, while F-test is used for larger ones.

T-test vs F-test

Two data sets can be tested through a t-test. This test is done to check the difference between the given mean and sample mean. There can be different types of t-tests. F-test can be done to check the difference between two standard deviations. Standard deviations of two samples is compared in f-test. 

T test vs F test

 

Comparison Table

Parameter of ComparisonT-testF-test
ImplicationThe T-test is used to test the hypothesis of whether the given mean significantly different from the sample mean or not.F-test is used to compare the two standard deviations of two samples and check the variability. An F-test is a ratio of two Chi-squares.
TypesT-tests are of different types:-
1. Paired T-test – dependent and independent.
2. Normal T-test
One type of F-test is used to compare the standard deviations of the two-sample data.
Null HypothesisH0: the sample mean is equal to 0.H0: the two samples have the same variance.
Test statisticT = (mean – comparison value)/ Standard Error ~t(n-1)F = s21 / s22 ~ F(n1-1,n2-1)
Degree of freedomThe degree of freedom is )n-1) where n is the number of sample valuesThe degree of freedom is (n1-1,n2-1), where n1 and n2 are the numbers of observations in samples 1 and 2.

 

What is T-test?

T distribution or t-test is used when the sample size,n, is less than 30 and the standard deviation, sigma, is unknown.

The normal distribution can closely approximate the distribution of continuous data.

T distribution is generally used to calculate numerical data.it is derived from a normal distribution and is also just a type of normal distribution.

One Sample t-test

 The one-sample t-test is concerned with making inferences regarding a population mean.

One sample t-test is used when we are given only one sample, and we need to test a hypothesis on that sample.

Two Sample t-test

This is more common in a scenario than the one-sample t-test. Usually, we want to compare the means of 2 groups.

Two sample t-test is also used when we are given only one sample, and we need to run a hypothesis on that sample itself.

We can run two types of tests under this category.

  1. Paired test:- in this, the same sample population is used for testing two different treatments. Compare the means of two conditions in which the same (or closely matched) participants participated.
  2. Unrelated Samples:- In this, we compare the means of two groups of participants.

Hypothesis testing with t

  1. We can draw a sampling distribution of t-values (the Student t distribution) – this shows the likelihood of each t-value if the null hypothesis is true
  2. The distribution will be affected by sample size (or, more precisely, by degrees of freedom)
  3. We evaluate the likelihood of obtaining our t-value given the t-distribution.

Assumptions

The one-sample t-test requires the following statistical assumptions:

  1. Random and independent sampling.
  2. Data are from normally distributed populations.

[Note: The one-sample t-test is generally considered robust against violating this assumption once N > 30.]

t test
 

What is F-test?

An “F Test” uses the F-distribution. It uses an F Statistic to compare two variances.

F-test for detecting the identity of variances of two normally distributed random variables:-

 The so-called F-test checks our hypothesis for the identity of the variances of two independent random variables of a normal distribution with unknown expectations and variance.

H0: σ12 = σ22

H1: σ12 > σ22

The test is always carried out as a one-sided test.

 Test statistics:   Fsz = s12/s22  where s12 > s22                                                  

 If H0 fulfils, then Fsz is of F-distribution with degrees of freedom n1-1, n2-1.

Decision principle: for Fsz ≤ Fα 0-hypothesis is accepted; otherwise, not.

f test

Main Differences Between T-test and F-test

  1. The main difference between Reference and Recommendation is that a t-test is used to test the hypothesis of whether the given mean is significantly different from the sample mean or not. On the other hand, an F-test is used to compare the two standard deviations of two samples and check the variability.   
  2. The T-test can be conducted as a two-sided or single-sided test, but the f-test is the only single-sided test as variance can not be negative.
  3. T-tests are of different types:- Paired T-test – dependent and independent, and Normal T-test. At the same time, the f-test is only of one kind.
  4. The T-test is applied when the sample population is less than 30, and the standard deviation is unknown, whereas the f-test can be devoted to a large sampled population.
  5. The T-test is used to check the hypothesis for the sample mean, whereas the f-test is used to run the hypothesis on the variance of the samples.
References
  1. https://asa.scitation.org/doi/abs/10.1121/1.417933
  2. https://projecteuclid.org/euclid.aoms/1177728261
  3. https://www.mitpressjournals.org/doi/abs/10.1162/089976699300016007
One request?

I’ve put so much effort writing this blog post to provide value to you. It’ll be very helpful for me, if you consider sharing it on social media or with your friends/family. SHARING IS ♥️

Leave a Comment

Your email address will not be published. Required fields are marked *

Want to save this article for later? Click the heart in the bottom right corner to save to your own articles box!