# Introduction to Item Response Theory

IRT is an adaptive testing framework that can give graded scores on tests and reduce the time it takes to administer tests.

## The Framework

At the base IRT defines a model that associates some latent ability of the student to probability of answering correct on problems. $p(\theta,b_i)$ where $p$ is answering correctly on problem $i$ given the student's ability $\theta$ and the intrinsic parameters of the problem collected in the vector $b_i$.

We often want to study the problem intrinsic parameters ($b_i$) as a function of latent ability ($\theta$). We call this the characteristic equation of a problem which is just a $(\theta, p(\theta,b_i))$ plot.

In standard models, $\theta$ is unbounded that is $\theta \in ]-\infty,\infty[$, and a sigmoid function ($\sigma(x) = \frac{1}{1+e^{-x}}$) is usually used as a base for the characteristic equation. This is convenient since sigmoid is defined $\forall x \in ]-\infty,\infty[$, and has a range of $]0,1[$ which makes it a natural probability density function.

Even though $\theta$ is unbounded, in practice, $\theta$ is typically in the range of $[-3,3]$.

## Assumptions

There are some formal assumptions for how $p(\theta,b_i)$ should behave. They're mostly common sense, but it's worth noting them regardless.

• Monotonicity: The probability of answering correctly, $p(\theta,b_i)$, should monotonically increase as $\theta$ increases.
• Unidimensionality: Basic models assume that there is only one latent trait that encodes student ability, $\theta$, but this assumption can be relaxed in more advanced models.
• Local Independence: Responses to different problems are independent from each other.
• Invariance: The intrinsic parameters of the problems are stable across different students.

## Models

### 1 Parameter (Rasch model)

The simplest model uses only one intrinsic parameter: the difficulty of the problem. We write the

$p(\theta,d_i)= \frac{1}{1+e^{-(\theta-d_i)}}$

where $d_i$ is the difficulty parameter. It is analogous to $\theta$ in its range. The neutral value is $0$.

### 2 Parameter model

We can extend this model by introducing a discrimination parameter that varies the slope of the characteristic equation.

$p(\theta,d_i, a_i)= \frac{1}{1+ e^{- a_i (\theta-d_i)}}$

where $a_i$ is the discrimination parameter.

$a_i$ should be in the range $[0,\infty[$ where if $0$ means that skill has no effect. Everyone has the same probability of answering correctly given by $\frac{1}{2}$, and in the 4 parameter model the average of $b,c$. If $a_i$ approaches $\infty$ then the discrimination becomes a perfect step function. The neutral value is $1$.

## 3 Parameter model

The 3 parameter model takes account for the probability of guessing correctly by raising the lower asymptote

$p(\theta,d_i, a_i, c_i)= c_i+(1-c_i)\frac{1}{1+e^{- a_i (\theta-d_i)}}$

where $c_i$ is the guessing probability parameter.

$c_i$ should be in the range $[0,1]$ where $0$ means that it's impossible to guess the solution, and $1$ means that it is impossible to fail the question. The neutral value is $0$.

### 4 Parameter model

The 4 parameter model is used less often, but is still worthwhile to discuss It introduces a slip factor: The probability of someone who knows the concept makes a mistake.

$p(\theta,d_i, a_i, c_i, b_i)= c_i+(b_i-c_i)\frac{1}{1+e^{- a_i (\theta-d_i)}}$

where $b_i$ is the upper bound probability parameter.

$b_i$ should be bigger than $c_i$ and is in the range $[0,1]$. It encodes the probability of someone who knows the answer actually answering correctly. The neutral value is $1$.

### Building intuition

Difficulty (0):

Discrimination (1):

Guess factor (0):

Slip factor (1):

## Fitting the model

We fit the models using maximum likelihood estimation. This is the same whether or not you know the intrinsic problem parameters. However, if you already know the problem difficulties, then you can choose to iteratively estimate student abilities using only a subset of the problem dataset.

By choosing the problems based on which one gives the maximum information: The maximum of $I= p(\theta,b_i)(1-p(\theta,b_i))$, you can quickly estimate the student's ability to a high degree of confidence. The highest information problem is the problem where you guess the student has the closest to $50\%$ chance of answering correctly.
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 49, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0, "math_score": 0.9629372358322144, "perplexity": 543.6995339108605}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "plain"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "warc_path": "s3://commoncrawl/crawl-data/CC-MAIN-2022-33/segments/1659882572870.85/warc/CC-MAIN-20220817062258-20220817092258-00272.warc.gz"}