powered by
Compute the CSEM, CSSEM, and reliability coefficients for raw scores and scaled scores using the full compound binomial error model.
csem_compound_binomial(x, s, ct = NULL, w = NULL)
A list containing:
Raw total scores (row sums of x).
If ct is provided, the composite scale score for each examinee.
ct
CSEM on the raw-score metric for each examinee.
If ct is provided, CSSEM on the scale-score metric.
Reliability coefficient for raw scores.
If ct is provided, reliability coefficient for scale scores.
Examinee-by-item matrix/data frame of item responses, ordered by stratum.
Numeric vector of number of items in each stratum. Sum(s) must equal ncol(x).
Optional conversion table with maxZ + 1 rows. The second column is the scale score corresponding to composite score Z = 0, 1, ..., maxZ.
Optional numeric vector of weights for each stratum. Defaults to 1 per stratum.
data(data.m) data(ct.m) csem_compound_binomial(data.m, c(13, 12, 6)) # \donttest{ csem_compound_binomial(data.m, c(13, 12, 6), ct.m) # }
Run the code above in your browser using DataLab