Testing group differences
Let's test the hypothesis that Alzheimer's Disease is characterized by reduced brain volume.
We can perform a two-sample t-test between the brain volumes of elderly adults with and without Alzheimer's Disease. In this case, the two population samples are independent from each other because they are all separate subjects.
For this exercise, use the OASIS dataset (df
) and ttest_ind
to evaluate the hypothesis.
Diese Übung ist Teil des Kurses
Biomedical Image Analysis in Python
Interaktive Übung
Versuche dich an dieser Übung, indem du diesen Beispielcode vervollständigst.
# Import independent two-sample t-test
from scipy.stats import ____