Learn R Programming

TAM (version 4.2-21)

WLErel: Reliability Estimation in TAM

Description

Functions for computing reliability estimates.

Usage

WLErel(theta, error, w=rep(1, length(theta)), select=NULL)

EAPrel(theta, error, w=rep(1, length(theta)), select=NULL)

Value

Numeric value

Arguments

theta

Vector with theta estimates

error

Vector with standard errors of theta estimates

w

Optional vector of person weights

select

Optional vector for selecting cases

Details

The reliability formulas follow Adams (2005). Let \(v\) denote the variance of theta estimates and let \(s\) denote the average of the squared error. Then, the WLE reliability is defined as \(1-s/v=(v-s)/v\) while the EAP reliability is defined as \(1 - s/(s+v)=v/(s+v)\).

References

Adams, R. J. (2005). Reliability as a measurement design effect. Studies in Educational Evaluation, 31(2), 162-172. tools:::Rd_expr_doi("10.1016/j.stueduc.2005.05.008")

Examples

Run this code
#############################################################################
# EXAMPLE 1: Toy example for reliability functions
#############################################################################

set.seed(9897)
N <- 100
# simulate theta and error SDs
x <- stats::rnorm(N,sd=2)
error <- stats::runif(N, .7, 1.3)
# compute WLE reliability
WLErel(x,error)
# compute EAP reliaility
EAPrel(x,error)

Run the code above in your browser using DataLab