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.
This exercise is part of the course
Biomedical Image Analysis in Python
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# Import independent two-sample t-test
from scipy.stats import ____