Challenge: Hypothesis Testing with Sports Data
Tarefa
Swipe to start coding
In this challenge, you will apply hypothesis testing to compare the performance of two sports teams using their players' scores. This builds on your understanding of hypothesis testing from the previous chapter.
- Perform an independent t-test using
scipy.stats.ttest_indon the two groups of scores. - Return the t-statistic, p-value, and a string interpretation of the result.
- If the p-value is less than 0.05, the interpretation should state that there is a statistically significant difference between the two teams' scores.
- If the p-value is 0.05 or greater, the interpretation should state that there is no statistically significant difference between the two teams' scores.
Solução
Tudo estava claro?
Obrigado pelo seu feedback!
Seção 2. Capítulo 6
single
Pergunte à IA
Pergunte à IA
Pergunte o que quiser ou experimente uma das perguntas sugeridas para iniciar nosso bate-papo
Incrível!
Completion taxa melhorada para 5.88
Challenge: Hypothesis Testing with Sports Data
Deslize para mostrar o menu
Tarefa
Swipe to start coding
In this challenge, you will apply hypothesis testing to compare the performance of two sports teams using their players' scores. This builds on your understanding of hypothesis testing from the previous chapter.
- Perform an independent t-test using
scipy.stats.ttest_indon the two groups of scores. - Return the t-statistic, p-value, and a string interpretation of the result.
- If the p-value is less than 0.05, the interpretation should state that there is a statistically significant difference between the two teams' scores.
- If the p-value is 0.05 or greater, the interpretation should state that there is no statistically significant difference between the two teams' scores.
Solução
Tudo estava claro?
Obrigado pelo seu feedback!
Seção 2. Capítulo 6
single