| irtc_ctt | R Documentation |
Computes classical item statistics: item means and difficulty (share of the maximum score), corrected item-total (item-rest) correlations, Cronbach's alpha and alpha-if-item-deleted.
irtc_ctt(x, key = NULL)
## S3 method for class 'irtc_ctt'
print(x, lang = irtc_lang(), ...)
x |
An |
key |
An optional answer key; raw responses are scored first via
|
lang |
Output language, |
... |
Ignored. |
An object of class irtc_ctt: a list with items (data frame
with columns item, N, miss_rate, max_score,
M, pvalue, discr, alpha_if_deleted),
alpha, n_persons and n_items.
irtc_quality, irtc_itemfit
set.seed(1)
theta <- rnorm(200)
resp <- as.data.frame(sapply(seq(-1, 1, length.out = 6), function(b) {
as.numeric(runif(200) < plogis(theta - b))
}))
ctt <- irtc_ctt(resp)
ctt$alpha
ctt$items
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.