Independent samples t test
Introduction
Independent samples t test is used to compare the means of two unrelated groups of samples. The aim of this article is to show you an example.
The independent t-test formula is :
\[ t = \frac{m_1 - m_2}{\sqrt{ \frac{S^2}{n_1} + \frac{S^2}{n_2} }} \]
- \(m_1\) and \(m_2\) are the means of the two groups being compared.
- \(n_1\) and \(n_2\) are the sizes of the two groups, respectively.
- \(S^2\) is the common variance of the two samples.
The degrees of freedom are :
\[ df = n_1 + n_2 -2 \]
Once the t test value has been calculated, you have to use t test table to determine the level of significance.
Example of data
As an example, we have a population of 20 people selected randomly (10 women and 10 men). We want to know whether women’s average weight is significantly different from men’s average weight.
In this typical example the two samples being compared are completely unrelated and you have to use independent samples t test.
Online independent samples t-test calculator
The best free statistics calculator software can be used to calculate t-test statistics online.
If you want to do it with R, follow this link : **independent t test.
Show me some love with the like buttons below... Thank you and please don't forget to share and comment below!!
Montrez-moi un peu d'amour avec les like ci-dessous ... Merci et n'oubliez pas, s'il vous plaît, de partager et de commenter ci-dessous!
Recommended for You!
Recommended for you
This section contains the best data science and self-development resources to help you on your path.
Books - Data Science
Our Books
- Practical Guide to Cluster Analysis in R by A. Kassambara (Datanovia)
- Practical Guide To Principal Component Methods in R by A. Kassambara (Datanovia)
- Machine Learning Essentials: Practical Guide in R by A. Kassambara (Datanovia)
- R Graphics Essentials for Great Data Visualization by A. Kassambara (Datanovia)
- GGPlot2 Essentials for Great Data Visualization in R by A. Kassambara (Datanovia)
- Network Analysis and Visualization in R by A. Kassambara (Datanovia)
- Practical Statistics in R for Comparing Groups: Numerical Variables by A. Kassambara (Datanovia)
- Inter-Rater Reliability Essentials: Practical Guide in R by A. Kassambara (Datanovia)
Others
- R for Data Science: Import, Tidy, Transform, Visualize, and Model Data by Hadley Wickham & Garrett Grolemund
- Hands-On Machine Learning with Scikit-Learn, Keras, and TensorFlow: Concepts, Tools, and Techniques to Build Intelligent Systems by Aurelien Géron
- Practical Statistics for Data Scientists: 50 Essential Concepts by Peter Bruce & Andrew Bruce
- Hands-On Programming with R: Write Your Own Functions And Simulations by Garrett Grolemund & Hadley Wickham
- An Introduction to Statistical Learning: with Applications in R by Gareth James et al.
- Deep Learning with R by François Chollet & J.J. Allaire
- Deep Learning with Python by François Chollet
Click to follow us on Facebook :
Comment this article by clicking on "Discussion" button (top-right position of this page)