Learn R Programming

dexter (version 0.8.5)

tia_tables: Simple test-item analysis

Description

Show simple Classical Test Analysis statistics at item and test level

Usage

tia_tables(dataSrc, predicate = NULL, type = c("raw", "averaged",
  "compared"))

Arguments

dataSrc

Data source: a dexter project db handle or a data.frame with columns: person_id, item_id, item_score

predicate

An optional expression to subset data, if NULL all data is used

type

How to present the item level statistics: raw for each test booklet separately, averaged averaged over the test booklet in which the item is included, with the number of persons as weights, or compared, in which case the pvalues, correlations with the sum score (rit), and correlations with the rest score (rit) are shown in separate tables and compared across booklets

Value

A list containing:

testStats

a data frame of statistics at test level

itemStats

a data frame of statistics at item level

.