Challenge: Second T-test
Swipe to start coding
Your task is to do a t-test. Recall that the distribution in the 'Click'
column has a normal distribution in both datasets. Also, there is a statistically significant difference between the variances. Now it is time to find out whether there is statistical evidence that the means of the two samples are equal.
Remember this: We are not doing the usual T-test here, but a modification of the Welch T-test. For samples with different variances, you need to specify an additional parameter equal_var=False
in the ttest_ind()
function. This will lead to the use of a modification of the Welch T-test, which is designed to work with samples with different variances.
- Calculate the mean values.
- Do a T-Test.
Solution
Merci pour vos commentaires !
single
Demandez à l'IA
Demandez à l'IA
Posez n'importe quelle question ou essayez l'une des questions suggérées pour commencer notre discussion
Résumer ce chapitre
Expliquer le code dans file
Expliquer pourquoi file ne résout pas la tâche
Awesome!
Completion rate improved to 3.23
Challenge: Second T-test
Glissez pour afficher le menu
Swipe to start coding
Your task is to do a t-test. Recall that the distribution in the 'Click'
column has a normal distribution in both datasets. Also, there is a statistically significant difference between the variances. Now it is time to find out whether there is statistical evidence that the means of the two samples are equal.
Remember this: We are not doing the usual T-test here, but a modification of the Welch T-test. For samples with different variances, you need to specify an additional parameter equal_var=False
in the ttest_ind()
function. This will lead to the use of a modification of the Welch T-test, which is designed to work with samples with different variances.
- Calculate the mean values.
- Do a T-Test.
Solution
Merci pour vos commentaires !
single