
jsCAT: Computer Adaptive Testing in JavaScript
A library to support IRT-based computer adaptive testing in JavaScript
Installation
You can install jsCAT from npm with
npm i @bdelab/jscat
Usage
import { Cat, normal } from '@bdelab/jscat';
const currentPrior = normal();
cat = new CAT({method: 'MLE', itemSelect: 'MFI', nStartItems: 0, theta: 0, minTheta: -4, maxTheta: 4, prior: currentPrior})
cat.updateAbilityEstimate(zeta, answer);
const currentTheta = cat.theta;
const currentSeMeasurement = cat.seMeasurement;
const numItems = cat.nItems;
const nextItem = cat.findNextItem(stimuli, 'MFI')
References
Lucas Duailibe, irt-js, (2019), GitHub repository, https://github.com/geekie/irt-js
License