I'm trying to conduct a paired samples t-test in Python (statsmodels package), but I don't see a function for it in their documentation. The closest I can find is ttost_paired, but I don't think its correct as their null hypothesis is that the mean difference is > or < some boundary value, whereas for my desired test the null is
x1 - x2 = 0
A few questions:
- Is there a way to do a paired samples t-test in statsmodels that I'm missing?
- Is there a way to use
ttost_pairedto do what I want?
- They do also have an independent samples ttest. What could go wrong if I use an independent ttest on paired data?
I know I can do a paired t-test using scipy but I'm wondering specifically about statsmodels