Learn R Programming

TopicTestlet (version 0.1.0)

ttm_est: Fit the Topic Testlet Model (TTM)

Description

Calibrates the TTM using score data and pre-computed topic proportions. Uses a Variational Expectation-Maximization (VEM) approach to estimate student ability (theta), topic penalties (lambda), and item parameters (b).

Usage

ttm_est(scores, delta, max_iter = 100, tol = 1e-04)

Value

A list containing:

theta

Vector of estimated student abilities.

lambda

Matrix of estimated topic penalties.

gamma

Vector of person-specific testlet effects.

item_params

List of step difficulties for each item.

AIC

Akaike Information Criterion.

BIC

Bayesian Information Criterion.

Arguments

scores

An N x J numeric matrix of item scores (0, 1, ...).

delta

An N x K numeric matrix of topic proportions (from ttm_lda).

max_iter

Maximum number of EM iterations.

tol

Convergence tolerance.