mellenbergh.test: Mellenbergh & van den Brink (1998) test for pre-post...

Description Usage Arguments Value Author(s) Examples

View source: R/mellenbergh.test.R

Description

Test for comparing post-test to baseline for a single participant.

Usage

1
mellenbergh.test(t0, t1, controls)

Arguments

t0

Single value (pretest or baseline score).

t1

Single value (posttest score).

controls

Vector of scores of the control group OR single value corresponding to the control SD of the score.

Value

Returns a data frame containing the z-value and p-value. If significant, the difference between pre and post tests is significant.

Author(s)

Dominique Makowski

Examples

1
2
3
4
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)

neuropsychology/psycho.R documentation built on Jan. 25, 2021, 7:59 a.m.