Evaluating the effectiveness of stem cell treatment
Now that we set out hypotheses, we can calculate the observed difference in means between the treatment and control groups. The stem.cell
data frame gives us the pumping capacity of the heart before and after the experiment. So first we need to find the difference between these for each experimental unit, and then use these change
values to calculate the observed difference in mean change between treatment and control groups.
This exercise is part of the course
Inference for Numerical Data in R
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# Calculate difference between before and after
stem.cell <- stem.cell %>%
___(change = ___)