Learn R Programming

emreliability (version 1.0.0)

kr20: KR-20

Description

Compute the KR-20 reliability coefficient for dichotomously scored items (e.g., 0/1).

Usage

kr20(x)

Value

A single numeric value: the KR-20 reliability coefficient.

Arguments

x

A data frame or matrix of item responses, with rows as persons and columns as items. Items are assumed to be dichotomous (0/1).

Details

KR-20 is an internal consistency reliability estimate for tests with dichotomously scored items. Rows containing missing values are removed using stats::na.exclude().

Examples

Run this code
data(data.u)
kr20(data.u)

Run the code above in your browser using DataLab