ComeçarComece de graça

Normalizing metrics

We previously saw that there was not a significant difference between the brain volumes of elderly individuals with and without Alzheimer's Disease.

But could a correlated measure, such as "skull volume" be masking the differences?

For this exercise, calculate a new test statistic for the comparison of brain volume between groups, after adjusting for the subject's skull size.


Using results.statistic and results.pvalue as your guide, answer the question: Is there strong evidence that Alzheimer's Disease is marked by smaller brain size, relative to skull size?

Este exercício faz parte do curso

Biomedical Image Analysis in Python

Ver curso

Exercício interativo prático

Experimente este exercício completando este código de exemplo.

# Import independent two-sample t-test
____

# Divide `df.brain_vol` by `df.skull_vol`
df['adj_brain_vol'] = ____

# Select brain measures by Alzheimers group
brain_alz = df.loc[df.alzheimers == ____, 'adj_brain_vol']
brain_typ = df.loc[____, 'adj_brain_vol']

# Evaluate null hypothesis
results = ____
Editar e executar o código