powered by
Test for comparing post-test to baseline for a single participant.
mellenbergh.test(t0, t1, controls)
Returns a data frame containing the z-value and p-value. If significant, the difference between pre and post tests is significant.
Single value (pretest or baseline score).
Single value (posttest score).
Vector of scores of the control group OR single value corresponding to the control SD of the score.
Dominique Makowski
library(psycho) mellenbergh.test(t0 = 4, t1 = 12, controls = c(0, -2, 5, 2, 1, 3, -4, -2)) mellenbergh.test(t0 = 8, t1 = 2, controls = 2.6)
Run the code above in your browser using DataLab