JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1714
  • Score
    100M100P100Q126350F
  • License ISC

A library to support IRT-based computer adaptive testing in JavaScript

Package Exports

  • @bdelab/jscat
  • @bdelab/jscat/lib/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@bdelab/jscat) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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 {normal, estimateAbility, findNextItem, SEM} from '@bdelab/jscat';

// declare prior if you choose to use EAP method
const prior = normal();

// for each adaptive trial, you will use the following functions
const theta = estimateAbility(answers, zetas, method, minTheta, maxTheta, prior);

const se = SEM(theta, zetas);

const nextStimulus = findNextItem(stimuli, theta, method, deepCopy);

References

Lucas Duailibe, irt-js, (2019), GitHub repository, https://github.com/geekie/irt-js

License