Python for Data Analysis: Hypothesis Testing and T-Tests

preview_player
Показать описание
This video covers the basics of statistical hypothesis testing and t-tests in Python. This video explains the basics of statistical hypothesis testing and shows how to run one-way, two-way and paired t-tests in Python.

Subscribe:

This is lesson 24 of a 30-part introduction to the Python programming language for data analysis and predictive modeling. Link to the code notebook below:

Python for Data Analysis: Hypothesis Testing and T-Tests

This guide does not assume any prior exposure to Python, programming or data science. It is intended for beginners with an interest in data science and those who might know other programming languages and would like to learn Python.

I will create the videos for this guide such that you should be able to learn a lot just watching on YouTube, but to get the most out of the guide, it is recommended that you create a Kaggle account so that you can copy and edit each lesson so that you can follow along and run code yourself.

Introduction to Python Playlist:

Link to the Python for Data Analysis written guide index page:

Рекомендации по теме
Комментарии
Автор

I want to thank you for these videos as I'm struggling in my college data science course. This has helped me massively!

martyzeenyc
Автор

can i say that a p-value = false positive probability?

johnnybastos
Автор

you explained this concept in the simplest way i have ever seen

grainofsalt
Автор

Shouldn't normality testing be done before performing ttests?
(Otherwise, great video, thanks 👍🏻)

valda
Автор

Thank you very much!!! I couldn't find anywhere else this test as well explained as you did it. So accurated explanation. Thank you! A+ !

florenciaortega
Автор

which statistical test can be used to find difference between two groups' percentage values?

neelroy
Автор

thank you very useful video. just wondering for two sample or paired tests, is there a way to test if null hypothesis is not just 0 but some none-zero value. For example if S1 is the first sample and S2 is the second sample, then how do we test the hypothesis that S1 - S2 > 1

arashkashefian
Автор

Thank you so much. This is very helpful.

jongcheulkim
Автор

You are damnnn good m loving it to study with you.

kartiksharma-ywqf
Автор

This is exactly what I needed, thank you.

marinastolet
Автор

How you have learn statistics? Please mention some good resource to learn

atom
Автор

Please, what if I have a different number of records for each of the testing group.
For instance 2000 records for control and 2050 for test group. Can I use python function :
t_stat, p_val= ss.ttest_ind(df_cnt.exp_rev, df_trt.exp_rev)?
I got result:
T-score = 0.16434444604672976
# There is 16 % deviation from H0 mean
# p-value = 0.8694662602367074
# p-value is > than significance level i.e. 0.05
# Therefore I am rejecting H1 the treatment did not performed better than the control

Can I interpret it like this? Thank you very mucho in advance.

janabark
Автор

you are so awesome !! you explained so well ...

kits
Автор

what do we do to our model if we accept an alternative hypothesis?

durgabhavanikonamarthi
Автор

Thanks for this video. I knew the theory of hypothesis testing and can do it on paper but it wasn't easy to do the same in python until I saw your video. Thanks for the simplicity.

michaelolubode
Автор

Do I need hypothesis testing in machine learning modeling, ? or lets say when should i do hypotheses testing in dataset, as a data scientist

svitirur
Автор

Why do you set degree of freedom to 49?

forbesavila