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.
Løsning
Tak for dine kommentarer!
single
Spørg AI
Spørg AI
Spørg om hvad som helst eller prøv et af de foreslåede spørgsmål for at starte vores chat
Awesome!
Completion rate improved to 3.23
Challenge: Second T-test
Stryg for at vise menuen
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.
Løsning
Tak for dine kommentarer!
Awesome!
Completion rate improved to 3.23single