stnd_cor: Standard Correction for Guessing For Multiple Choice Items...

Description Usage Arguments Examples

View source: R/stnd_cor.R

Description

Standard Correction for Guessing For Multiple Choice Items With DKs

Usage

1
stnd_cor(item = NULL, n_options = 4)

Arguments

item

vector; Response to the knowledge item. We assume that the domain of values that the vector can take is: 0 (incorrect answer), 1 (correct answer), 'dk' (Don't Know), and NAs. We assume missing values are MCAR. Missing values in knowledge items are best treated as confessions of ignorance. And if you agree with the point, pass the values through nona to convert NAs to 0.

n_options

numeric; Total number of options. Default is 4.

Examples

1
x <- c(NA, 1, 0, 1, 0, 0); mean(x, na.rm = TRUE); stnd_cor(x, 4)

soodoku/goji documentation built on May 30, 2019, 6:29 a.m.