SESOI_upper_RCT_func: SESOI upper threshold for RCT analysis

Description Usage Arguments Value Examples

View source: R/rct-analysis.R

Description

SESOI_upper_RCT_func is used in RCT_analysis function

Usage

1
2
3
4
5
6
7
SESOI_upper_RCT_func(
  control_pre_test,
  control_post_test,
  treatment_pre_test,
  treatment_post_test,
  na.rm = FALSE
)

Arguments

control_pre_test

Numeric vector containing Control Pre-test observations

control_post_test

Numeric vector containing Control Post-test observations

treatment_pre_test

Numeric vector containing Treatment Pre-test observations

treatment_post_test

Numeric vector containing Treatment Post-test observations

na.rm

Should NAs be removed? Default is FALSE

Value

Pooled SD of control_pre_test and treatment_pre_test multiplied by 0.2 (Cohen's trivial)

Examples

1
2
3
4
5
6
7
8
set.seed(1666)

SESOI_upper_RCT_func(
  control_pre_test = rnorm(20, 100, 10),
  control_post_test = rnorm(20, 105, 10),
  treatment_pre_test = rnorm(20, 100, 10),
  treatment_post_test = rnorm(20, 120, 10)
)

mladenjovanovic/bmbstats documentation built on Aug. 5, 2020, 4:20 p.m.