Two-Sample t-Test | two sample t test
![Two-Sample t-Test](https://i.imgur.com/axBPWDg.jpg)
Whatisthetwo-samplet-test?Thetwo-samplet-test(alsoknownastheindependentsamplest-test)isamethodusedtotestwhethertheunknownpopulationmeansoftwogroupsareequalornot.IsthisthesameasanA/Btest?Yes,atwo-samplet-testisusedtoanalyzetheresultsfromA/Btests.WhencanIusethetest?Youcanusethetestwhenyourdatavaluesareindependent,arerandomlysampledfromtwonormalpopulationsandthetwoindependentgroupshaveequalvariances.WhatifIhavemorethantwogroups?Useamultiplecomparisonmethod.Analysisofvariance(ANOVA)isonesuchmeth...
![Two-Sample t-Test](https://i.imgur.com/H8YKUrg.jpg)
The two-sample t-test (also known as the independent samples t-test) is a method used to test whether the unknown population means of two groups are equal or not.
Is this the same as an A/B test?Yes, a two-sample t-test is used to analyze the results from A/B tests.
When can I use the test?You can use the test when your data values are independent, are randomly sampled from two normal populations and the two independent groups have equal variances.
What if I have more than two groups?Use a multiple comparison method. Analysis of variance (ANOVA) is one such method. Other multiple comparison methods include the Tukey-Kramer test of all pairwise differences, analysis of means (ANOM) to compare group means to the overall mean or Dunnett’s test to compare each group mean to a control mean.
What if the variances for my two groups are not equal?You can still use the two-sample t-test. You use a different estimate of ...