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.
Deze oefening maakt deel uit van de cursus
Inference for Numerical Data in R
Praktische interactieve oefening
Probeer deze oefening eens door deze voorbeeldcode in te vullen.
# Calculate difference between before and after
stem.cell <- stem.cell %>%
___(change = ___)