Session Ready
Exercise

Evaluating the effectiveness of stem cell treatment (cont.)

Conduct the hypothesis test and compute the p-value for evaluating whether there is a difference between the mean heart pumping capacities of sheep's hearts in the control and treatment groups.

Since we're testing for a difference, the order in which we subtract matters. We can specify it using the order argument in the calculate() function. For example, to achieve group1 - group2 use order = c("group1", "group2").

Instructions 1/2
undefined XP
  • 1
  • 2

Generate 1000 differences in means via randomization.

  • Specify change versus treatment group.
  • Use an independence hypothesis.
  • Generate 1000 replicates via permutation.
  • Calculate the difference in means (esc first, then ctrl).