I am trying to perform a t-test to determine the equality of the means of two samples of data. I understand that I need to perform a t-test with a null hypothesis of difference and reject it:
$$ H_0 = \| \mu_1 - \mu_2\| > \delta $$
$$ H_a = \| \mu_1 - \mu_2\| < \delta $$
I know scipy has the ttest_ind but this test assumes equality, so it does not work for me.
Is there any way to perform this test directly with scipy? or how could this be done?
Found several examples that require deriving the equations and using the t distribution tables. I am looking for a solution using the built in statistical functions in scipy or another package to reduce the work of verification.