Learn How to Perform T-test using Python

preview_player
Показать описание
In this tutorial we will learn how to carry out t-test using Python. We are going to learn how to perform independent samples t-test using statsmodels and SciPy.

Finally, we are going to learn how to carry out paired samples t-test using SciPy.

 » Link to code:

» Indpendent samples t-test:

1) Statsmodels:

2) SciPy:

» Paired Samples t-test:
Рекомендации по теме
Комментарии
Автор

Just as a heads up. The df (degrees of freedom) for a t-test is n-2 which is why the df in the first package was 1998. (1, 000+1, 000) = 2, 000 - 2 = 1, 998. This was a great tutorial thanks for posting!

Dataanalyticspro
Автор

@ Erik :Thank you so much. From hours I was breaking my head to find a right tutorial which would even be precise. This is the one. Grateful.!!

rajsinghmaan
Автор

Any tips for visualizing the ttest results from scipy?

RollingcoleW
Автор

Is it possible to find the confidence interval using any methods within the modules used?

nxtou
Автор

thank you! just what I was looking for

leliaglass
Автор

Thanks. Do you know how to perform paired t-test in python?

xsuperman
join shbcf.ru