independent_groups_estimators: Independent groups estimators

Description Usage Arguments Value Examples

View source: R/compare_independent_groups.R

Description

Function that provides a list of estimators. User is free to define his own list of estimators. Used in compare_independent_groups

Usage

1
2
3
4
5
6
7
independent_groups_estimators(
  group_a,
  group_b,
  SESOI_lower = 0,
  SESOI_upper = 0,
  na.rm = FALSE
)

Arguments

group_a

Numeric vector. This group represents baseline/control, observed variable, Pre-test in the paired design, or "practical" measure

group_b

Numeric vector. This group represents experimental, predicted variable, Post-test in the paired design, or "criterion" measure

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 with estimators

Examples

1
2
3
4
data("height_data")
group_a <- height_data$Height[height_data$Gender == "Female"]
group_b <- height_data$Height[height_data$Gender == "Male"]
independent_groups_estimators(group_a, group_b, SESOI_lower = -2.5, SESOI_upper = 2.5)

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