RCT_estimators_simple: RCT Estimators - Simple

Description Usage Arguments Value Examples

View source: R/rct-analysis.R

Description

RCT_estimators_simple is used as a function for RCT_analysis function to provide a simple (or reduced) estimators for RCT analysis

Usage

1
2
3
4
5
6
7
8
9
RCT_estimators_simple(
  control_pre_test,
  control_post_test,
  treatment_pre_test,
  treatment_post_test,
  SESOI_lower = 0,
  SESOI_upper = 0,
  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

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 FALSE

Value

Named numeric vector

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
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
)

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