Learn R Programming

experiences (version 0.1.1)

compare_benchmark_score: Compare Score with a Benchmark

Description

Compare Score with a Benchmark

Usage

compare_benchmark_score(
  data,
  benchmark,
  alpha,
  tail = "one",
  remove_missing = TRUE
)

Value

lower_ci, upper_ci, t, probability

Arguments

data

a column or vector of scores

benchmark

benchmark

alpha

alpha

tail

one-tailed or two-tailed test

remove_missing

TRUE/FALSE remove missing values? (default is TRUE)

Examples

Run this code
data <- 68 + 17 * scale(rnorm(20)) # 68 = mean, 17 = sd
compare_benchmark_score(data, benchmark = 60, alpha = 0.5)

Run the code above in your browser using DataLab