ethanweed / pythonbook

Python adaptation of Danielle Navarro's Learning Statistics with R (http://learningstatisticswithr.com/). Work in progress!
100 stars 34 forks source link

Is making #25

Open ethanweed opened 11 months ago

ethanweed commented 11 months ago

In section 14.3.6. Doing the test in Python, the data are converted from long to wide. But maybe this is just confusing? Maybe I should at least show that you can also just subset the data in the call to pingouin?

Like this: pg.ttest(df[df['tutor'] == 'Anastasia']['grade'], df[df['tutor'] == 'Bernadette']['grade'], correction = False)

Also the text about correction=False and the default set to True is confusing.