BaşlayınÜcretsiz Başlayın

Are women more extroverted?

Susan is convinced that women are more extroverted than men, because her best friend Betsy, loves to party, and her other best friend Oliver, would rather be in his room reading books.

To support her hypothesis, she posts a survey online, asking all of her Facebook friends to score themselves on how extroverted they think they are. One indicates a complete introvert while eight indicates a complete extrovert.

She wants to compare the average male score from male_survey, to the average female score, female_survey, using the two-sample t-test, but must first, check out the three assumptions associated with the test.

pandas and scipy.stats have been loaded for you as pd and stats, respectively.

Bu egzersiz

Analyzing Survey Data in Python

kursunun bir parçasıdır
Kursu Görüntüle

Uygulamalı interaktif egzersiz

Bu örnek kodu tamamlayarak bu egzersizi bitirin.

# Calculate mean extroversion of males 
male_mean = male_survey.____.____
print(male_mean)

# Calculate mean extroversion of females 
female_mean = female_survey.____.____
print(female_mean)
Kodu Düzenle ve Çalıştır