validity_estimators: Validity estimators

Description Usage Arguments Value Examples

View source: R/validity_analysis.R

Description

validity_estimators provides validity estimators using the simple linear regression model, where criterion is the outcome variable, and practical is the predictor.

Usage

1
2
3
4
5
6
7
8
validity_estimators(
  data,
  criterion,
  practical,
  SESOI_lower = 0,
  SESOI_upper = 0,
  na.rm = FALSE
)

Arguments

data

Data frame

criterion

Character vector indicating column name in the data

practical

Character vector indicating column name in the data

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

Examples

1
2
3
4
5
6
7
data("agreement_data")

validity_estimators(
  data = agreement_data,
  criterion = "Criterion_score.trial1",
  practical = "Practical_score.trial1"
)

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