terminate_test: Terminate test

Description Usage Arguments Value

Description

Control function to check if the test is completed.

Usage

1
2
terminate_test(number_answers, estimate, max_n, min_n = NULL,
  variance_target = NULL, cutoffs = NULL)

Arguments

number_answers

Number of answers given.

estimate

Vector with current theta estimate, with covariance matrix as its attribute.

max_n

Test length at which testing should stop (even if target has not been reached yet in case of variance stopping rule).

min_n

Minimum test length; NULL means no minimum test length.

variance_target

Vector with the variance target for each dimension; NULL means no variance target.

cutoffs

Matrix containing cut off values per dimension (columns) and test iteration (rows). First row contains cut off values for when no items have been administered yet, second row for when one item has been administered, etc. If estimate + 3SE < cutoff for each dimension at a certain iteration, test stops; NULL means no cut off values.

Value

TRUE if test should stop, FALSE otherwise.


Karel-Kroeze/ShadowCAT documentation built on May 7, 2019, 12:28 p.m.