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)

Example output

Note: Many functions of the 'psycho' package have been (improved and) moved to other packages of the new 'easystats' collection (https://github.com/easystats). If you don't find where a function is gone, please open an issue at: https://github.com/easystats/easystats/issues
The Mellenbergh & van den Brink (1998) test suggests that the change is not significant (d = 8.00, 90% CI [1.06, 14.94], z = 1.90, p p = 0.057). However, the null hypothesis of no change can be rejected at a one-tailed 5% significance level (one-tailed p p = 0.029).
The Mellenbergh & van den Brink (1998) test suggests that the change is not significant (d = -6.00, 90% CI [-12.07, 0.07], z = -1.63, p p = 0.103).

psycho documentation built on Jan. 19, 2021, 9:07 a.m.