requiredTestSize: Required test size for target reliability

View source: R/spearmanbrown.R

requiredTestSizeR Documentation

Required test size for target reliability

Description

Compute how many items a test needs, for its reliability to reach a goal value.

Usage

requiredTestSize(
  obs_r,
  goal_r = 0.8,
  n = 1,
  fix.negative = c("mirror", "nullify", "none")
)

Arguments

obs_r

The observed reliability

goal_r

The goal reliability

n

Current test size, i.e., the number of items or trials.

fix.negative

How should negative observed reliabilities be handled? See spearmanBrown().

Details

This function is obtained by solving the spearmanBrown() formula for the ntests argument.

Value

The required test size.

Author(s)

Sercan Kahveci

Examples

requiredTestSize(obs_r=0.5, goal_r=0.8,n=256)

requiredTestSize(obs_r=0, goal_r=0.8,n=256)


rapidsplithalf documentation built on April 15, 2026, 5:06 p.m.