Two sample t-test on extraversion
Let's assume that Susan's survey on extraversion
passed all three assumptions for the two sample t-test on male_survey
and female_survey
. What syntax would she use to run the test?
Assume that ttest_ind
is imported from scipy.stats
.
This exercise is part of the course
Analyzing Survey Data in Python
Hands-on interactive exercise
Turn theory into action with one of our interactive exercises
