# Welch's T-test in Go

I wrote some code for doing a Welch’s T-Test in Go. You can read up on what a Welch’s t-test is here but in short it’s a significance test for the difference between two treatments (like in an A/B test) where the distributions may have unequal variances.


* *
*     *
*       *
*         *
*           *
*            **
*             ***
*               *****
* * *                 ***********
-----------------|-----|-----------


So if you are doing an A/B test and you have the mean and variance of each treatment, you can get a confidence measure for whether the mean of one is truly higher than the mean of the other.

Here’s the code: https://github.com/katbailey/welchttest