Open ethanweed opened 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?
pingouin
Like this: pg.ttest(df[df['tutor'] == 'Anastasia']['grade'], df[df['tutor'] == 'Bernadette']['grade'], correction = False)
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.
correction=False
True
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 toTrue
is confusing.