Skip to course content
Free R statistics course

Statistical Data Analytics with R

Module 06 Activity

Scenario

Compare groups with the method the design and the data actually support.

What you build

A comparison with its assumptions checked and its power stated.

Steps

  1. Decide whether the comparison is one-sample, two-sample, paired, or across three or more groups, and justify it from the design.
  2. For paired data, report the between-unit SD and the within-unit change SD so the gain from pairing is visible.
  3. For proportions, report the absolute difference with its interval and the relative change alongside.
  4. For categorical data, report the chi-square test, the expected counts and the standardised residuals — and switch to Fisher when expected counts fall below about 5.
  5. For three or more groups, run the F-test and follow with Tukey's HSD, never with unadjusted pairwise tests.
  6. Before interpreting any null result, state the effect size the study could have detected.

Evidence to hand in

Review checklist