Fall 2024
Statistical Significance and Effect Size
Create a tibble with two groups (Treat
and Ctrl
) β each with 5 data points, say indicating the duration of a coding task.
Formula syntax vs. passing individual vectors
The formula syntax (Duration~Grp
) on long data is equivalent to calling t.test
with vectors when data is in wide format: t.test(t$Ctrl, t$Treat)
A two-sided test (no difference) is the default
Set the alternative
argument for a one-sided test.
expand
p-value: what is the probability of observing the given outcome (W score), or a more extreme outcome?
Exercise: work out the math
What is the A12 effect size?
How do we compute A12?