# `irtlib` - Item Response Theory for Python irtlib implements item response theory for the unidimensional dichotomous logistic models, 1PL to 4PL: the item response functions and the quantities derived from them, item calibration, ability estimation, item fit and model comparison. It runs on NumPy and SciPy alone. :::{admonition} irtlib has no release yet :class: note Install it from source, as the [README](https://github.com/douglasrizzo/irtlib#readme) shows. Its interface may change before the first release. ::: ## Calibrate an item bank Researchers estimate the items' parameters, with their standard errors, from the responses of a sample of examinees: by {doc}`methods/calibration/mml` for the 1PL to 4PL, which takes missing responses, by {doc}`methods/calibration/mcmc` for the posterior of the 1PL to 3PL, by {doc}`methods/calibration/cml` for the Rasch model, or by {doc}`methods/calibration/jml` for the Rasch model and the 2PL. {doc}`methods/fit/index` and {doc}`methods/comparison` then check the calibration, and {mod}`irtlib.files` saves the responses, the calibration and the ability estimates for later. ## Score examinees Researchers estimate each examinee's ability, with its standard error, from responses to items of known parameters: by {doc}`methods/ability/ml`, {doc}`methods/ability/map`, {doc}`methods/ability/eap` or {doc}`methods/ability/wle`; or by the number correct, with {doc}`methods/ability/number-correct-eap`. ## Build on irtlib Package authors use irtlib's item bank ({class}`irtlib.ItemBank`), item response functions ({mod}`irtlib.irt`) and quadrature grid ({mod}`irtlib.quadrature`). [catsim](https://douglasrizzo.com.br/catsim/), which computes and evaluates computerized adaptive tests, is built on them. ## Find your way - New to item response theory? The {doc}`introduction` explains the models and how calibration works, and {doc}`terms-and-notation` lists the terms and symbols. - {doc}`methods/index`: each method, with its formulas, its sources and the origin of each default. - The {doc}`api/index`, the `irtlib` command ({doc}`api/cli`) and the {doc}`architecture_decisions`. - The [backlog](https://github.com/douglasrizzo/irtlib/blob/dev/backlog/README.md): the methods planned next, and every other piece of planned work. ```{toctree} :hidden: true :maxdepth: 2 getting-started methods/index API reference Architecture decisions contributing references ```