Methodological tutorial · Simulated fitted-data demonstration · Published

Psychometrics & Operations Research IRT / GRM MILP Optimization R & Python

Designing Short Forms with IRT and Constrained Test Assembly

Nedim Yel, Ph.D.

Founder, Executive Director & Principal Statistician, Data Analysis & Statistical Solutions (DASS)

Ph.D., Educational Psychology (Measurement, Statistics, and Methodological Studies)

Request Custom Short Form

Abstract

When designing multi-construct longitudinal surveys, clinical screening protocols, or Ecological Momentary Assessments (EMA), principal investigators frequently must reduce validated 20- to 60-item instruments down to brief 4- to 8-item forms. In applied behavioral, educational, and clinical research, scale abbreviation is routinely performed via classical rules of thumb—retaining items with the highest corrected item-total correlations ($r_{it}$), largest standardized factor loadings ($\lambda$), or highest resulting Cronbach’s alpha ($\alpha$).

This methodological tutorial explains why selecting items solely for internal consistency can narrow content coverage and leave precision poorly matched to a study’s decision region. These are risks to evaluate, not inevitable outcomes of classical item selection. As a rigorous alternative, we formulate short-form scale development as a Constrained Automated Test Assembly (ATA) problem combining Samejima’s Graded Response Model (GRM) under Item Response Theory (IRT) with Mixed-Integer Linear Programming (MILP). By optimizing the Test Information Function $I(\theta)$ across a pre-specified target trait region $\Theta_{\text{target}}$ subject to linear constraints on content domain representation, Yen’s $Q_3$ local independence, differential item functioning (DIF), and reading complexity, researchers can seek an optimal solution to the specified discrete assembly problem. Optimality depends on solver status and tolerances; runtime depends on the bank and constraints. Downloadable assembly examples in R and Python use supplied information and metadata. The companion report adds fitted-data studies and scoring validation; these simulated examples do not establish real-instrument validity.

What the evidence shows

Choose the measurement goal before choosing the item-selection objective. Content constraints and information targets make assembly explicit, but more information in a target region does not automatically mean lower EAP scoring error.

  • Across 30 response-sample replications of one bank, maximin assembly improved minimum target information in 30 runs. Both mean target-RMSE difference intervals included zero.
  • In 30 fresh samples, a training-only scoring-loss heuristic lowered target EAP RMSE in 27 runs versus maximin (mean 0.402 versus 0.433), while giving up minimum information.
  • The scoring-loss method also had worse overall-population RMSE than item-total selection. These simulated results support matching selection to the intended use, not a universally superior method.

One generating bank; simulated responses; no clinical validation. Read the companion report for methods, uncertainty and all results →

1. Internal Consistency and the Risks of Scale Reduction

In Classical Test Theory (CTT), an observed composite score $X = \sum_{i=1}^K X_i$ is modeled as the sum of a true score $T$ and measurement error $E$, where Cronbach’s alpha summarizes internal consistency. Its interpretation as reliability requires assumptions about item structure and errors:

$$\alpha = \frac{K}{K - 1} \left( 1 - \frac{\sum_{i=1}^K \sigma_{X_i}^2}{\sigma_X^2} \right)$$

When a research team reduces an instrument from $K_{\text{full}}$ items to a short form of length $K_{\text{short}} \ll K_{\text{full}}$ by greedily selecting items that maximize $\alpha$ or single-factor loadings, three risks require investigation:

  1. Narrow Content Coverage and Redundancy: For a fixed number of items, alpha rewards higher average inter-item covariance relative to item variance. This can favor redundant content and omit substantive facets. High semantic similarity warrants review, but local dependence must be assessed conditional on an appropriate measurement model; alpha alone does not diagnose it.
  2. Threshold Clustering and Information Collapse: Item-total correlations depend on the calibration sample and item properties. They do not directly target precision at a clinical cutoff or elsewhere on the trait scale. Threshold clustering and weak tail information are possibilities to inspect in fitted information curves, rather than universal consequences of classical selection.
  3. Measurement Error and Study Planning: Because the Conditional Standard Error of Measurement is inversely proportional to the square root of test information,
    $$\text{CSEM}(\theta) = \frac{1}{\sqrt{I(\theta)}}$$
    lower information implies greater conditional uncertainty under the fitted model. Measurement error can reduce sensitivity to effects, but its impact on power depends on the outcome, design, scoring, and error assumptions. The StatPower Short-Form Precision Simulator explores illustrative planning scenarios; it does not fit IRT models, run MILP assembly, or estimate actual study power from response data.

2. Psychometric Parameterization: Samejima’s Graded Response Model (GRM)

Let $i \in \{1, 2, \dots, I\}$ index candidate items in a calibrated source bank, where each item is scored on $m_i + 1$ ordered polytomous categories $k \in \{0, 1, \dots, m_i\}$ (e.g., $m_i = 4$ for a 5-point Likert scale). Under Samejima’s (1969) Graded Response Model, the cumulative probability $P_{ik}^*(\theta)$ that a respondent with latent trait $\theta$ endorses category $k$ or higher is given by the two-parameter logistic ogive:

$$P_{ik}^*(\theta) = \frac{1}{1 + \exp\left[-a_i(\theta - b_{ik})\right]}, \quad k \in \{1, \dots, m_i\}$$

where $a_i > 0$ is the item discrimination parameter and $b_{i1} < b_{i2} < \dots < b_{im_i}$ are strictly ordered category threshold parameters. By boundary definition, $P_{i0}^*(\theta) = 1$ and $P_{i, m_i+1}^*(\theta) = 0$. The probability of responding in exact category $k$ is:

$$P_{ik}(\theta) = P_{ik}^*(\theta) - P_{i, k+1}^*(\theta)$$

2.1 Item and Test Fisher Information

The Fisher information contributed by category $k$ of item $i$ at trait level $\theta$, denoted $I_{ik}(\theta)$, and the total item information $I_i(\theta)$ are derived from the first derivatives of the category response functions:

$$I_i(\theta) = \sum_{k=0}^{m_i} \frac{\left[ \frac{\partial P_{ik}(\theta)}{\partial \theta} \right]^2}{P_{ik}(\theta)} = a_i^2 \sum_{k=0}^{m_i} \frac{\left[ P_{ik}^*(\theta)(1 - P_{ik}^*(\theta)) - P_{i,k+1}^*(\theta)(1 - P_{i,k+1}^*(\theta)) \right]^2}{P_{ik}^*(\theta) - P_{i,k+1}^*(\theta)}$$

Under local independence—where item responses are conditionally independent given $\theta$—the Test Information Function (TIF) of any subset of items is strictly additive. Letting $x_i \in \{0, 1\}$ denote a binary decision variable indicating whether item $i$ is selected into the short form, the Test Information Function at point $\theta_q$ is a linear function of $\mathbf{x}$:

$$I(\theta_q; \mathbf{x}) = \sum_{i=1}^I I_i(\theta_q) x_i$$

This linearity with respect to $x_i$ is the foundational property that allows IRT scale reduction to be optimized via Mixed-Integer Linear Programming, conditional on fixed item parameters, the chosen grid and constraints, and a solver-certified optimum within numerical tolerances.

3. Mathematical Formulation of Constrained MILP Test Assembly

Rather than relying on heuristic step-wise item deletion or stochastic genetic algorithms, we formulate short-form assembly using van der Linden’s (2005) Maximin / Target-Interval Information MILP framework.

Let $\Theta_{\text{target}} = \{\theta_1, \theta_2, \dots, \theta_Q\}$ represent a discrete quadrature grid spanning the study’s primary decision region (for example, $\Theta_{\text{target}} = \{0.5, 1.0, 1.5, 2.0, 2.5\}$ for a clinical pathology screener, or $\{-1.5, -0.75, 0.0, 0.75, 1.5\}$ for a broad educational survey), with relative information requirements $w_q > 0$. We introduce a continuous auxiliary floor variable $y \ge 0$ representing the minimum ratio of information to requirement across all quadrature points in $\Theta_{\text{target}}$.

3.1 Objective Function (Maximin Target Information)

$$\max_{x_1, \dots, x_I, \, y} \quad y$$

First maximize $y$, giving $y^*$. Then maximize total grid information $\sum_q\sum_i I_i(\theta_q)x_i$ subject to the same constraints and $y \ge y^* - \delta$, where $\delta$ is a small stated absolute tolerance. This two-stage procedure preserves the primary optimum within tolerance. The floor constraints imply $y = \min_q I(\theta_q)/w_q$ at the first optimum; a larger $w_q$ requests proportionally more information at that point. These are not probability or quadrature-integration weights.

3.2 Structural and Psychometric Constraints

1. Quadrature Information Floor (Shaping the TIF Across $\Theta_{\text{target}}$):

$$\sum_{i=1}^I I_i(\theta_q) x_i - w_q y \ge 0, \quad \forall q \in \{1, \dots, Q\}$$

2. Exact Short-Form Length ($K_{\text{short}}$):

$$\sum_{i=1}^I x_i = K_{\text{short}}$$

3. Content Blueprint & Subdomain Partitioning:

Let $V_c \subseteq \{1, \dots, I\}$ denote the subset of items belonging to theoretical facet $c \in \{1, \dots, C\}$, with lower and upper blueprint bounds $L_c$ and $U_c$:

$$L_c \le \sum_{i \in V_c} x_i \le U_c, \quad \forall c \in \{1, \dots, C\}$$

4. Item Polarity / Reverse-Coding Balance:

Optional extension (not implemented in the solver examples): let $R \subseteq \{1, \dots, I\}$ index negatively keyed items. Add balance constraints only with a substantive rationale; balance alone does not resolve wording effects:

$$L_{\text{rev}} \le \sum_{i \in R} x_i \le U_{\text{rev}}$$

5. Yen’s (1984) $Q_3$ Local Independence Mutual Exclusion (Enemy Items):

A fixed absolute cutoff of 0.20 is not a universal diagnostic; consider residual centering, model fit, sample size and simulation-based calibration. Let $r_{ij}^{(Q_3)} = \text{Cor}(e_i, e_j)$ denote the correlation of IRT residuals $e_i = X_i - E[X_i \mid \hat{\theta}]$ between items $i$ and $j$. Define the enemy-pair set $\mathcal{E} = \{(i, j) : |r_{ij}^{(Q_3)}| > \tau_{Q_3}\}$ (with a justified, context-specific threshold):

$$x_i + x_j \le 1, \quad \forall (i, j) \in \mathcal{E}$$

6. Subgroup Measurement Invariance (DIF Exclusion) & Readability Ceiling:

For DIF-flagged items $\mathcal{D}$ and item Flesch–Kincaid grade level $g_i$ with target average ceiling $G_{\max}$:

$$x_i = 0 \quad \forall i \in \mathcal{D}, \qquad \sum_{i=1}^I g_i x_i \le G_{\max} \cdot K_{\text{short}}, \qquad x_i \in \{0, 1\}, \quad y \ge 0$$

4. Implementation and runnable examples

The assembly solvers accept a supplied information matrix and reviewed metadata. They use two-stage maximin optimization, content bounds, enemy-pair exclusions and optional DIF exclusions, with explicit failure handling. They do not calibrate a model or establish validity.

Download the R solver or Python solver. Each includes a runnable six-item synthetic check. The companion report provides the complete code, setup commands and expected output.

For calibration, held-out scoring and the simulation extensions, use the complete reproducibility package. The code and results distinguish fitted-model information from empirical scoring accuracy.

5. Score Linking & Raw-to-Scale Crosswalk Generation

Selecting the optimal item subset $\mathcal{S} = \{i : x_i^* = 1\}$ is only half of a production psychometric deliverable. Applied clinical and educational teams frequently score short forms via simple summed scores $S = \sum_{i \in \mathcal{S}} X_i$ in REDCap, Qualtrics, or EHR pipelines. Because summed scores on a 6-item measure are not directly comparable to summed scores on the 30-item source bank, parameters can be retained on a defensible common bank metric and summed-score distributions computed using a polytomous extension of the Lord–Wingersky (1984) recursive algorithm.

Using the calibrated item parameters $\{a_i, \mathbf{b}_i\}_{i \in \mathcal{S}}$, the conditional distribution of summed score $S = s$ given latent trait $\theta$, denoted $P(S = s \mid \theta)$, is computed recursively across items. Assuming a prior population density $g(\theta)$ (typically $\mathcal{N}(0, 1)$), the expected a posteriori (EAP) scale score $\hat{\theta}_s$ and Standardized T-score $T_s$ associated with raw summed score $s$ are:

$$\hat{\theta}_s = \frac{\int_{-\infty}^{\infty} \theta \, P(S = s \mid \theta) g(\theta) \, d\theta}{\int_{-\infty}^{\infty} P(S = s \mid \theta) g(\theta) \, d\theta}, \qquad T_s = 50 + 10\hat{\theta}_s$$

Providing this lookup crosswalk table alongside the MILP-assembled short form can simplify scoring on the calibrated metric. This is EAP conditional on a summed score, not necessarily response-pattern EAP under the GRM. Report posterior uncertainty and the prior used. Longitudinal comparability and links to national norms require separate evidence about calibration, population, invariance and administration; a lookup table alone does not establish equivalence. The T-score transformation assumes the intended reference metric has mean 0 and standard deviation 1.

6. Applied Implementation Across the DASS Ecosystem

For Principal Investigators, clinical trial teams, and measurement directors seeking to deploy constrained IRT short forms without building an internal operations research pipeline:

1. Study & Grant Design

StatPower.org Simulator

Explore how assumed precision differences affect planning scenarios. Illustrative curves are not fitted IRT results or observed effects of item assembly.

Launch Free Power Simulator →
2. Manuscript Defense

GetReviewerReady.com

Review statistical reporting and identify measurement claims that need evidence. Any additional CFA or IRT analyses require appropriate data and a separately agreed scope.

Run Manuscript Audit →
3. Applied Measurement Support

DASS IRT Short-Form Builder

Explore feasibility for custom calibration, constrained item assembly, subgroup checks and scoring documentation. Deliverables depend on available data, item permissions and model adequacy.

Explore Short-Form Feasibility →

7. Simulation findings and companion report

The studies use a 30-item simulated bank, a 1,600-person calibration sample and an independent 800-person evaluation sample per run. Six-item forms are compared on θ = 0.5–2.0. The generating bank stays fixed; these are not real-instrument validation results.

The initial fitted example showed better target information but worse held-out EAP scoring. Inspect the initial study and fit diagnostics →

Bias and variance

Exact response-pattern calculations showed higher integrated squared bias and variance for the initial constrained form than for item-total selection. Changing the scoring prior changed the ranking, but worsened each form’s target RMSE. Read the decomposition and prior-sensitivity analysis →

Repeated response samples

All 30 of 30 runs completed successfully. Maximin assembly increased minimum target information in 30/30, but lowered target RMSE in 11/30 versus item-total selection and 16/30 versus content-matched selection. Both mean target-RMSE difference intervals included zero. Read the repeated-sample study and uncertainty intervals →

Selection for expected scoring error

All 30 of 30 fresh-seed comparisons completed successfully. The scoring-loss heuristic lowered target RMSE versus maximin in 27/30 runs: mean 0.402 versus 0.433, paired difference -0.031 (95% Monte Carlo interval -0.038 to -0.024). It sacrificed minimum information and had worse overall RMSE than item-total selection. The comparison changes the error criterion, aggregation and search procedure; it does not isolate their separate effects. Read the training-only search, full comparisons and limitations →

Heuristic search stability

A nine-setting check across ten frozen calibrations compared design sizes, swap budgets, search starts and another random design draw. The default’s fitted-model loss was 0.55% above the best observed setting on average, with a largest gap of 1.72%. This is a training-model sensitivity check, not a held-out performance comparison or proof of global optimality. Read the stability results and item-set comparisons →

What remains untested: generality across generating banks and populations, search behavior beyond the tested settings, and real-data validity. A globally optimal item subset for a chosen mathematical objective is not automatically a validated assessment.

Open the complete technical report · Download all code and simulation results

References

  • Christensen, K. B., Makransky, G., & Horton, M. (2017). Critical values for Yen’s Q₃: Identification of local dependence in the Rasch model using residual correlations. Applied Psychological Measurement, 41(3), 178–194.
  • Chalmers, R. P. (2012). mirt: A multidimensional item response theory package for the R environment. Journal of Statistical Software, 48(6), 1–29.
  • Lord, F. M., & Wingersky, M. S. (1984). Comparison of IRT true-score and equipercentile observed-score "equatings." Applied Psychological Measurement, 8(4), 453–461.
  • Samejima, F. (1969). Estimation of latent ability using a response pattern of graded scores. Psychometrika Monograph Supplement, 34(4, Pt. 2), 100.
  • van der Linden, W. J. (2005). Linear models for optimal test design. Springer.
  • Yen, W. M. (1984). Effects of local item dependence on the fit and equating performance of the three-parameter logistic model. Applied Psychological Measurement, 8(2), 125–145.

Further work

The following extensions could test the limits of these findings. They have not been completed in this demonstration.

  • Different item banks: vary threshold coverage and discrimination to test whether the findings extend beyond the current bank.
  • Population and calibration conditions: vary trait distributions and calibration sample sizes, and account for item-parameter uncertainty.
  • Model departures: examine multidimensionality, local dependence and missing responses.
  • Broader search checks: test interactions among search settings, additional random draws and wider candidate searches.
  • Other decision goals: compare target-region scoring error, overall accuracy and classification losses under explicit study priorities.
  • Real-data validation: use appropriately permitted instruments and independent data to assess content coverage, subgroup performance and score comparability.