SESOI_upper_RCT_func is used in RCT_analysis function

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

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) )
#> [1] 1.809307