RCT_estimators_simple
is used as a function for RCT_analysis
function to provide a
simple (or reduced) estimators for RCT analysis
RCT_estimators_simple( control_pre_test, control_post_test, treatment_pre_test, treatment_post_test, SESOI_lower = 0, SESOI_upper = 0, na.rm = FALSE )
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 |
SESOI_lower | Lower smallest effect size of interest threshold |
SESOI_upper | Upper smallest effect size of interest threshold |
na.rm | Should NAs be removed? Default is |
Named numeric vector
set.seed(1666) RCT_estimators_simple( 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), SESOI_lower = -5, SESOI_upper = 5 )#> SESOI lower SESOI upper #> -5.0000000 5.0000000 #> SESOI range Systematic effect #> 10.0000000 15.3761226 #> Random effect Systematic effect to SESOI #> 16.5855601 1.5376123 #> SESOI to Random effect pLower #> 0.6029341 0.1171214 #> pEquivalent pHigher #> 0.1523848 0.7304938