On this page

IRT analysis – method notes

The decisions behind the IRT analysis module – which threshold, estimator, refusal or fallback stands behind each card, and the numbers that validate them – on simulated item sets where the note says so, and otherwise on the example dataset (cafe.csv). Sections follow the manual’s.

Requirements

A Continuous column is taken as an item only at 3–10 distinct integer values. A polytomous model spends a threshold parameter on every category of every item, so a column with many distinct values is far more likely a score, a count or a measurement than a rating item, and a non-integer value is no response category at all; a column typed Ordinal is taken at its word, whatever its width, and two distinct values are a dichotomous item under any type. An item with more than half its responses missing is dropped before the classification, since its parameters would rest on a minority of the respondents; and the DIF grouping variable is removed from the items even when selected, since an item that defines the groups cannot also be tested across them.

Preliminary analysis

The unidimensionality eigenvalues come from one correlation estimator per item width. The items are split as psych’s mixedCor splits them: two categories tetrachoric, 3–8 polychoric, wider Pearson. polychoric() stops outright above 8 categories, and past about seven the categorical and continuous treatments converge anyway, so a wide item goes through Pearson rather than pushing the whole matrix there. With no item wider than 8 the whole matrix is polychoric(correct = 0), with no continuity correction for empty cells; with every item wider it is Pearson on the pairwise-complete cases; and a categorical fit that fails falls back to that Pearson matrix, with R’s message on the card.

The unidimensionality check reads both criteria, and the ratio only when the second eigenvalue is positive. The first component’s share of the variance is its eigenvalue over the item count – the trace of a correlation matrix – and Reckase (1979) put the share a unidimensional calibration needs at 20%; the ratio of the first eigenvalue to the second, an index from Lumsden (1957) that Lord (1980) also reads, asks in addition that no second dimension rivals the first. Neither set a cutoff for the ratio: the 3 the app grades it against is a rule of thumb with no primary source. The two are applied together, so one met alone is reported as mixed evidence rather than a pass. A pairwise or smoothed correlation matrix is routinely indefinite, and a second eigenvalue at or below zero makes the ratio negative or infinite rather than large, so it is left undefined and only the variance criterion is judged.

Four of the subject-quality cutoffs are Tukey fences on this dataset’s own indices. The absolute values these indices are usually quoted with – longstring ≥ 5, IRV < 0.5, a person-total r < 0.1 – have no null distribution behind them: each index’s distribution is set by the item count and the number of response categories, and on clean data those values flag between a quarter and two-fifths of the respondents. The longstring, variability, correlation and reliability cutoffs are therefore 1.5 × IQR beyond the quartiles of the index’s own distribution – above the third for longstring, below the first for the other three – so a flag means “unusual in this sample”. An index whose IQR is zero or undefined gets no fence and flags nobody, shown as “–”. The high-missing bar (more than 50% of the items) and the Mahalanobis bar (p < .001) stay absolute, since each has a meaning of its own – a share of the scale, a χ² tail. Any fence flags the tail of every distribution by construction, so the card counts the respondents flagged by two or more indices, where the evidence converges.

The four fenced indices, as computed. Longstring is the longest run of equal values among the person’s answered items, in item order. IRV is the SD of the person’s answers divided by (r/2)n/(n−1) – the largest SD n answers can have on a scale whose observed range, over the whole item matrix, is r – so that scales of different widths compare; on an all-dichotomous scale it is a deterministic function of the sum score and carries nothing the others do not, so it is not screened there. The person-total correlation correlates the person’s answered items with the item means of everyone else, the person left out, and needs three answered items. Resampled individual reliability splits the items at random into two halves of ⌊k/2⌋, correlates the person’s two halves over the items answered in both – at least three – applies the Spearman–Brown correction, bounds the result to [−1, 1], and averages 30 such splits, drawn under the reproducibility seed; a single even–odd split depends on which split was drawn, which the resampling removes. Below six items no half holds three items, and the index is not computed.

Mahalanobis distances use the minimum covariance determinant when the sample allows it. The sample mean and covariance are inflated by the outliers they are meant to expose, so the centre and scatter come from MASS::cov.rob(method = "mcd"), under the reproducibility seed. MCD needs a margin of cases over items: with no more than twice as many complete cases as items, or when the robust fit fails or its covariance is singular – the norm on items with few response categories – the classical moments of the complete cases are used, and the card names which limitation applied. With no more complete cases than items plus one, no distance is computed. The squared distance is referred to χ² on as many df as items, and a respondent with a blank has none.

Mokken runs on the complete cases, recoded to consecutive integers. The mokken package rejects a missing response outright, so the whole section runs on the complete rows while the checks above keep every row. Each item’s values are recoded to 0, 1, 2, … in their sorted order before the call: mokken enumerates item steps over the full observed range, so an unendorsed intermediate category or a gapped code costs orders of magnitude of runtime for the same coefficients. With fewer than three complete cases, or an item that is constant among them, no coefficient is defined and the section stops.

H is graded in bands for the scale and by admissibility for an item. The scale’s H is read in Sijtsma and Molenaar’s (2002) bands – 0.3 weak, 0.4 moderate, 0.5 strong, unscalable below 0.3. An item’s Hi is not graded for strength: 0.3 is the lowerbound a Mokken scale’s definition sets for every item in it, so an item row reads Admissible at or above it and Inadmissible below. Both grades read the lower bound of the coefficient’s confidence interval rather than the point estimate: Kuijpers, Van der Ark and Croon (2013) give scalability coefficients standard errors, and a point estimate just over a bar in a small sample is as compatible with the band below, so a scale is called strong, or an item admissible, only when the interval rules out the grade beneath. The interval is the Wald form those standard errors support, H±z⋅SE at the confidence level setting, formed from coefH’s SEs because its own ci argument fails under nice.output = FALSE (mokken 3.1.2); a row with no finite interval falls back to its point estimate. The coefficients are coefH(nice.output = FALSE), whose plain numeric matrices carry the standard errors separately.

Violations are graded by crit, in Molenaar and Sijtsma’s bands. Monotonicity, invariant item ordering and nonintersection are check.monotonicity, check.iio and check.restscore at the package’s defaults. Each summary counts the violations above the minimum size, the significant subset, the largest, and its test statistic – z, except under check.iio on polytomous items, which switches to a t-test – and crit combines them into one seriousness index; Molenaar and Sijtsma (2000) read crit below 40 as no serious violation, 40–80 as minor and above 80 as serious, and the card grades each check’s largest. Invariant item ordering is also summarised by the scale’s H_T, graded with interpretation on on Ligtvoet et al.'s (2010, p. 593) bands for the accuracy of the ordering, lower bounds inclusive: below 0.3 too inaccurate to be useful, from 0.3 low, from 0.4 medium, from 0.5 high.

Negative H_ij are marked in both modes, and the nonparametric reliabilities read the shared ladder. Monotone homogeneity implies that no item pair correlates negatively, so a negative H_ij is a violation its sign states by itself, with no cutoff chosen: it is marked red whatever the interpretation setting, and only the sentence naming the consequence waits for interpretation. Molenaar–Sijtsma ρ, α and λ₂ are graded, with interpretation on, on the reliability ladder the other modules’ coefficients read – George and Mallery’s (2003), values above 0.95 read as possible redundancy (Terwee et al. 2007).

AISP sweeps the lowerbound, with the sequential search stated. aisp() takes a vector of lowerbounds and returns one partition per value; reporting the sweep – 0 to 0.55 in steps of 0.05, plus the user’s c rounded to three decimals – is what tells a stable partition from an artefact of the chosen c. The search is search = "normal", Hemker, Sijtsma and Molenaar’s (1995) sequential procedure, set explicitly rather than left to the default; it is greedy, so it can settle in a local optimum rather than the best available partition, which is why neighbouring columns are read together. aisp drops any lowerbound above the largest item-pair H, since nothing would be scalable there, so the columns are the lowerbounds it actually searched, and a user’s c among the dropped ones has no column and no verdict. The field takes 0 to 1, and a value outside that range or an empty field blocks the diagnostics rather than being clamped or replaced by the default, so the verdict is never read at a c other than the one shown.

Dimensionality

Rotation reaches the loadings solution alone; θ stays in the fitted basis. mirt() has no rotation argument: an exploratory fit is rotated where it is read, by summary(rotate = …), which builds the loadings table, its heatmap and the factor correlations – and the choice is passed even when it is None (unrotated), since summary()'s own default is oblimin. fscores() defaults to oblimin as well, while expected.test(), testinfo() and probtrace() have no rotation hook at all, so θ is scored with rotate = "none" and every θ-derived output – person scores, reliability, expected scores, the Wright map, the information curves – shares the one basis the curves can be drawn in. A confirmatory model is never rotated: its structure is the one you fixed.

A failed standard-error step is cleared before θ is scored. When mirt cannot invert the information matrix – as happens on an exploratory fit by MHRM, or by SEM with standard errors on, whose matrix is singular – it leaves its error text in the model’s covariance slot, and fscores(rotate = "none") then stops (“non-character argument”), while the same call on an EM fit, or with a rotation, succeeds. The run keeps that text for the card and resets the slot to mirt’s own NA placeholder, so θ is scored on the fitted basis as for any other fit. A scoring step that fails anyway is reported where it is read: every block built on θ says it could not be computed, with R’s message, rather than failing on a missing object downstream.

Oblimin and the Crawford–Ferguson pair take their parameter from the panel, defaulting to GPArotation’s. mirt hands every criterion but promax to GPArotation, and forwards summary()'s gam = and kappa = to it; the panel’s Oblimin γ and Crawford–Ferguson κ fields fill them. Each defaults to 0 – GPArotation’s own default – at which oblimin is quartimin and the Crawford–Ferguson family is quartimax in its orthogonal form and quartimin in its oblique one, so at the defaults the three duplicate other entries; the parameter is what makes each a family rather than a second name. Higher γ lets the factors correlate more. κ is bounded to [0, 1], where 1/p for p items is varimax and k/(2p) for k dimensions equamax (Browne 2001); a blank or out-of-range value is refused rather than passed on. No GPArotation criterion is Kaiser-normalized, varimax included (GPArotation::Varimax(normalize = FALSE)). Promax is mirt’s own: stats::varimax, which normalizes, followed by a target rotation at power 4.

Validation. On a simulated two-dimensional 2PL item set – twelve items, 500 respondents – at the defaults the oblimin and quartimin loadings agree exactly, and the Crawford–Ferguson T and quartimax loadings to 2 × 10⁻¹⁶, where geomin Q differs from oblimin by 0.005. Away from the defaults the solutions part: oblimin at γ 0.5 gives loadings distinct from quartimin’s, and on a two-dimensional fit the factor correlation rose from 0.13 to 0.83 as γ ran from −0.5 to 1.

Correlated factors are declared as a COV line in the model syntax. mirt’s COV = TRUE argument is silently ignored, so a correlated confirmatory model writes every factor pair into the syntax (COV = F1*F2, …), and the line is how edited syntax carries the setting back to the checkbox. A factor name must survive the same syntax: a space, =, , or * splits the generated F = 1, 2 line, a quote breaks the mirt.model('…') string, a . comes back from R rewritten to _, so the fitted rows no longer match the name, and a factor named after one of mirt’s statement words (COV, MEAN, CONSTRAIN, PRIOR, START, FIXED) turns its own line into that statement.

Model types

The dropdown offers what mirt can fit in the chosen structure. The rating-scale models (Rasch, GRSM in both parameterizations, the Andrich rating scale model) carry equality constraints that mirt does not generalize to several dimensions; the unfolding models (ideal point, GGUM) are single-trait by construction; and the nonparametric curves are not supported multidimensionally – so all eight are unidimensional only. mirt refuses the partially compensatory models outside a confirmatory model (“Partially compensatory models can only be estimated within a confirmatory model”). A model written for one response format fails inside mirt on the other – the dichotomous ones with “requires exactly 2 unique categories”, GRSM inside its category-probability assignment – so the app refuses the run beforehand and names the items.

GGUM is fitted with L-BFGS-B unless another optimizer is chosen. mirt switches to nlminb whenever a parameter is bounded, and GGUM’s discrimination is; on that path the fit dies with “NA/NaN gradient evaluation” instead of converging. L-BFGS-B is the fastest optimizer that does fit the family, so the run supplies it unasked and the card says so; an optimizer picked under Advanced tuning replaces it.

GGUM starts each ideal point from a one-dimensional scaling of the items. mirt 1.46.1, the build the app loads, sets a GGUM item’s starting ideal point from a correspondence analysis of the category-expanded response matrix but reads it by item index from a table indexed by category column, so item i starts at the score of the i-th category column – a value unrelated to where the item sits. From those starts the fit settles in a local optimum: the item on one side of the scale drops to the discrimination bound, and every comparison with the graded model then goes the wrong way. The run therefore writes its own start into the b1 rows of a pars = "values" table – each item’s coordinate on a classical multidimensional scaling of 1 − Spearman r over the items, cmdscale(k = 1) scaled to SD 1 and oriented so that the column order reads as increasing – and passes it on every GGUM fit: the primary one, each Q3 bootstrap refit, rebuilt from the simulated data, and the DIF multiple-group fits. The discriminations and latitudes keep mirt’s starts. Several random starts reached the same optimum but multiply a fit that already takes about a minute.

Validation. On six 4-category statements generated from GGUM itself (discrimination 1.5, ideal points −1.5 to 1.5, n 500), mirt’s default starts ended at a log-likelihood of −3826 with one item at a = 0 and AIC preferring the graded model, where the scaling start reached −3663.4 – the optimum a start at the generating values also reaches, above the −3678 at those values – with every ideal point within 0.06 and in order. At n 200 eight of eight fits from it reached the good optimum, and AIC preferred GGUM over the graded model by 55 to 110; the grouped DIF fit reached −1473.05 from the start table against −1541 from mirt’s defaults.

Spline knots are placed by position, and the fit starts from a rising curve. mirt’s two defaults for the spline family cannot fit it. It places no interior knot, which fits a flat response curve carrying no information about the trait; and a knot count given as df is spread over mirt’s quadrature grid, a fixed −6 to +6 whatever the data, so most knots land in tails no response reaches. The run therefore passes 1–3 knots at even positions between −2 and +2. mirt also starts every spline coefficient at 1 – a flat curve, and a symmetric stationary point the EM cannot leave once the item difficulties sit near the trait mean – so the coefficients start on an increasing sequence from −1 to 1 instead.

Validation. On one item set the default start left θ with an SD of 3.6 × 10⁻¹⁴ – every respondent at the same score – where the monotone start gave 0.87.

The spline family is fitted without standard errors and reports no information. mirt cannot size a spline item’s block of the information matrix, so asking for standard errors aborts the fit itself (“logical subscript too long”). It also implements no θ-derivative for the class, so testinfo() and iteminfo() return exactly 0 at every θ rather than an error, and every quantity built on them – the marginal reliability integral, the information curves, the conditional SEM – would be a zero that reads as a measurement. Those outputs are withheld and the card says why; the fitted curves do not depend on the derivative and are reported.

Estimation method

mirt’s per-method defaults stand unless Advanced tuning overrides them. The run passes only the arguments you changed, so each method keeps the settings mirt tunes for it – 500 EM cycles against MHRM’s 2000, among others – and a change in one method’s defaults between mirt versions reaches the app unchanged.

A multidimensional fit computes standard errors only where they are affordable. The information matrix is what makes an EM or QMCEM fit of several dimensions expensive, so standard errors are requested for every unidimensional fit, for a multidimensional one under MHRM – which estimates them along the way – and whenever an SE calculation other than the default is chosen; the card says when they were skipped, and whether for cost or because the family (spline) cannot carry them.

Above three dimensions the integration is quasi-Monte Carlo. A full quadrature grid has as many nodes as its points per dimension raised to the number of dimensions, so the fit, the M2 statistic and the θ scores all take mirt’s QMC = TRUE beyond three, as mirt recommends. The note under the control flags plain EM from two dimensions on, where the grid is already the cost: timed in WebR at mirt’s default grid, one two-dimensional graded fit (n 500, about 10 items, 5 categories) took about 6 minutes, and a three-dimensional 2PL fit had not finished after 17.

Scoring method

Empirical reliability takes the form the scoring method needs. mirt::empirical_rxx() offers two identities. The variance of maximum-likelihood estimates (MLE, WLE) already holds the measurement error, so reliability is 1−SE2/var⁡(θˆ) (T_as_X = TRUE); Bayesian estimates (EAP, MAP) are shrunk, which takes the error variance out of them, so it is added back: var⁡(θˆ)/(var⁡(θˆ)+SE2). Applying one form to both would overstate one family’s reliability or understate the other’s, which is why a number compared against another package should be compared under the same scoring method.

Non-finite θ leaves the person-level outputs and stays in the model-level ones. Under MLE an all-minimum or all-maximum pattern scores ±∞. mirt’s model-level calls need a θ row for every respondent, so they keep the full matrix, while every person-level statistic – scores, fit, reliability, targeting – drops the respondents whose θ or SE is not finite, and the card counts them.

WLE scoring of a Rasch-family fit uses the app’s own Warm solver. Under the rating scale model mirt 1.46.1’s WLE took about 130 s for the 23 distinct response patterns of an 8-item, 4-category fit, against 0.19 s for ML, and left 13 of them unconverged – and a full dataset scores every row. A unidimensional Rasch, partial credit or rating scale fit scored by WLE is therefore solved by Newton steps on every pattern at once, the step’s denominator the curvature mirt reports as the WLE information: the solver the Rasch fit statistics share. Its SE is that exact curvature, where mirt’s is a numerical Hessian. Extreme scores get WLE’s finite estimate, as mirt’s WLE gives them; an all-missing row stays missing; and a solver failure falls back to mirt’s fscores().

Validation. On dichotomous fits with missing responses and on partial credit and rating scale fits, the solver matches mirt’s WLE to 3 × 10⁻⁶ in θ and 6 × 10⁻⁵ in SE where mirt converges, and scores 400 persons of a rating scale fit in about 0.1 s.

Advanced tuning

A tuning choice the method or the structure cannot take is greyed out rather than refused. mirt refuses a non-default SE.type on its stochastic estimators – every type under MHRM and SEM (“SE.type not supported for stochastic method”), all but complete-data under MCEM – and refuses it even when no standard errors are requested, so the whole run would die rather than the standard errors; those choices are disabled for the method, and a selected one reverts to Default. The empirical-histogram density is defined for unidimensional EM alone. A quadrature grid has as many nodes as its points per dimension raised to the number of dimensions, so Very fine (121) at three dimensions would ask for about 1.8 million; the finer grids are unidimensional only, and mirt’s own count already falls as dimensions are added.

An iteration cap is named on the card under MHRM alone. A non-default latent distribution or SE calculation changes the model or its standard errors and is named; a computational control is named only where it changes the estimates themselves. An EM-family fit that converged lands on the same estimates whatever its cap, and one that did not is flagged with the cap it stopped at; tolerance, optimizer and accelerator change how quickly a fit gets there. MHRM is stochastic: its Robbins–Monro estimates are wherever the iterations stop, so a cap you set moves them, and the card names it beside the estimation method. The quadrature count would move the estimates of a multidimensional fit, where too few points cost accuracy, but the panel offers only mirt’s count there, so there is nothing to state.

Differential item functioning (DIF)

The baseline depends on whether anchors were designated. A constant anchor set means something only when the tested items are free to differ from it. With no anchor, every item is held equal across the groups and each tested item is released in turn (DIF(scheme = "drop")) – each item anchored on all the others, a baseline that a biased item contaminates when DIF is widespread. With anchors, only they are held equal, every other item is free in the baseline, and each tested item is constrained in turn (scheme = "add") – the constant-anchor design of Woods (2009). Either way the latent mean and variance are free in every group but the reference. Anchors known to be invariant give the strongest inference; purification is the fallback when none are known, and better than all-other-items anchoring.

Every DIF refit is fitted as its baseline was. A likelihood-ratio χ² is valid only between two likelihoods computed alike, but mirt::DIF() refits each item through multipleGroup() at mirt’s defaults rather than at the baseline’s settings – its integration grid, tolerance, latent density and even its estimation method. So every DIF() call – under either anchor design, in the purification pass, the non-uniform test and each pairwise comparison – takes the baseline’s estimation method, its quasi-Monte Carlo integration above three dimensions, Max iterations and every Advanced tuning choice. Each pairwise comparison’s two-group baseline has its convergence read as the multiple-group one’s is, since every test of the pair rests on it.

Purification keeps about a fifth of the items as anchors, ranked by χ² per tested parameter. It is Woods’ (2009) two-stage selection: a preliminary all-other-items pass tests every item, the items with the smallest χ² per freed parameter become the constant anchor set, and the model is refitted on them before the rest are tested. Woods ranks by the statistic over its degrees of freedom (p. 45), which matters because one run can mix df – binary beside polytomous items, or polytomous items with different category counts – and a raw χ² would favour the low-df items. The set is round(k ⁄ 5) of the k items, no fewer than two and at most k − 1, so something is left to test: Woods suggests about 10–20% of the items as anchors, more than one at small samples (p. 54), and rounding keeps nearer that range than ceil(k ⁄ 5), which overshoots it whenever k is not a multiple of 5. Designated anchors are the user’s own answer to the same question, so the option applies only while none is selected.

The tested parameters are read off the fit, and the asymptotes stay equal. No parameter name is common to every family – a graded item has a1 and d1…dk, a Rasch item d alone, the Andrich rating scale item its location c, a GGUM item a1 with its ideal point b1 and latitudes t1…tC, a GPCM item in the IRT parameterisation a1 with its thresholds b1…bk – so a test contrasts whichever of an item’s slopes, intercepts and locations the multiple-group model estimates, and df counts them. The thresholds of the rating-scale families are shared by every item, and freeing them for one would break that constraint, so there the item’s location c carries the test; the guessing and upper asymptotes of 3PL, 3PLu and 4PL and the nominal model’s fixed scoring slopes are not among the tested parameters and stay equal across groups. They are read off the single-group fit, so a family with nothing to test – the spline and monotonic polynomial models – is refused before any multiple-group model is fitted. The non-uniform test releases the slopes alone, and is run only when a model estimates slopes and something besides – the unfolding and IRT-parameterised GPCM items included, whose locations the overall test frees with the slope.

Validation. On six simulated GGUM statements (n 200, two groups) the test frees a1, b1 and t1…t3 – df 5 – and every refit converged; the non-uniform χ² reproduce the slope-only tests the module ran before the locations were freed. The whole DIF step took about 46 minutes, against about 20 for the slope-only test: GGUM DIF is the slowest path in the module.

Each pair is tested on a model refitted to its two groups. mirt’s own pairwise = TRUE is vacuous under scheme = "drop": removing two of G parameters from an equality constraint leaves it non-binding, so every pair would return the omnibus test. A refit to the pair alone is also what reaches the effect sizes, since empirical_ES() supports two groups only – which is why the main table carries SIDS, UIDS and ESSD only for a two-group variable. Every item × pair test is adjusted as one family.

Test-level effect sizes are computed only under a constant anchor set. Meade’s (2010) STDS, UTDS and ETSSD come from one further empirical_ES(…, DIF = FALSE) call on the same two-group model the item-level effect sizes read, so STDS equals the sum of the items’ SIDS on one card. That model has to leave every tested item free while the anchors hold the scale: designated anchors and purification provide it, and all-other-items anchoring does not, since it fits one model per tested item and none with all of them free. Two substitutes were rejected. A model freeing only the flagged items forces sub-threshold DIF to zero and prints exact zeros when nothing is flagged, so the test-level value would follow the selection rather than the data; and an anchor set at the test level different from the item level’s would break STDS = Σ SIDS on the card. Under all-other-items anchoring a note says the indices were not computed instead. ESSD and ETSSD are item- and test-level latent-score analogues of Cohen’s d (Meade 2010, pp. 731, 739), so both are graded on d’s 0.2 / 0.5 / 0.8 bands, the standardizer the pooled SD of the expected scores (Meade’s eq. 5–6) rather than of the observed ones, as the legend says; STDS and UTDS are on the test’s raw-score scale and carry no grade.

Cases with no group are dropped; a small group is reported as lost power, for the families a simulation covers. multipleGroup() needs a group for every row it fits, and a missing value would otherwise become a level of its own that sorts first – the reference group, whose latent mean and variance are fixed. The warning the run once raised below 100 cases per group had no source, and it promised unstable tests where the evidence shows lost power. At the app’s own default – mirt, all-other-items anchoring, two equal groups – Belzak (2020) found the likelihood-ratio test’s Type I error near nominal at 25–100 per group while DIF is sparse, 2PL items falling short of conventional power at 100 per group, which supports the 200–400 of earlier work (p. 19), and moderate Rasch intercept DIF recovered at 25–50 per group (p. 20); so the binary 2PL note fires below 200 and the Rasch note below 50. For five-category graded items under designated anchors, Ankenmann, Witt and Dunbar (1999, p. 294) found that 500 per group did “not yield enough power” for a 0.25 shift on every threshold, so that condition itself – 500 or fewer – fires the graded note, which names their design. No simulation gives power for 3PL, PCM, GPCM, nominal or the other families, and none is lent one by analogy, so they get no note.

Negatively keyed items

Detection starts from the first principal component and flips items until no rest correlation is negative. Each item is signed by its loading on the leading eigenvector of the pairwise-complete item correlations; then, repeatedly, the item with the most negative correlation with the sum of the others – every item multiplied by its current sign – is flipped, until none is negative. Each flip raises the rescored total’s variance, so the loop ends. An item whose final |r| is under 2/√n, n the smallest pairwise count, is too weakly related to the rest to place and is left unselected as unclassifiable. The majority keeps its direction; on a tie the group holding the first classifiable item does, and the line beside the button names it. The raw item-total correlation, the obvious alternative, fails exactly where keying is balanced: with as many items keyed each way the raw total cancels, and both its sign and a band on it misplace nearly every item. The rule is pure JavaScript shared with the Reliability module’s picker, so Detect needs no R round trip.

Validation. In a simulation of 200 samples per cell – keying 6+0, 5+1, 4+2, 3+3 and 5+5, trait loadings 0.2 to 0.8, acquiescence loadings 0, 0.3 and 0.5, n 50 to 500 – the rule misplaced an item in at most 1.5% of samples from n 200 at loadings of 0.4 and above with acquiescence at 0.3 or less, balanced keying included (at most 7% at n 50), and left fewer than half an item unclassifiable on average; the raw item-total sign put an item on the wrong side in every sample at 3+3, loading 0.8, n 200. The JavaScript routine matches the R reference on 60 generated datasets, missing data and constant items included; on the café items with slow unreversed it selects slow.

The list, not detection, decides, because acquiescence can hide a reversed item. When agreeing with everything loads on the responses at least as strongly as the trait does, a reversed item’s covariance with the rest, −λ2+γ2 for trait loading λ and acquiescence loading γ, is not negative, so no sign rule can find it – and a larger sample only makes the wrong answer more certain. The keying is a property of the questionnaire the user usually knows, so detection only proposes it. Every run also applies detection to the data as the analysis reads it, after the declared keying, and names any item still keyed against the rest – keying forgotten, doubled, or applied to only some pre-reversed items.

Validation. In the same simulation, with five items keyed one way and one the other, trait loading 0.4 and acquiescence 0.5, every rule misplaced the reversed item in 12% of samples at n 50 and 74% at n 500.

The careless-responding screen reads the answers as given. Longstring and IRV look for a pattern across the items as the respondent saw them: an attentive respondent who agrees with every positive statement and disagrees with the one reversed statement shows a broken run on the form and an unbroken one once the item is reversed. So the fit and the other diagnostics read the keyed items reversed while those two read the answers as given, and a file reversed before import is un-reversed for them when Already reversed in the data is ticked – which detection cannot infer, since a pre-reversed item looks positively keyed. Reversal mirrors around the scale’s range, declared or else the extreme observed across all the items, not each item’s own: longstring compares answers across items, and a per-item mirror would shift an item nobody answered at one end off the others’ scale and break the runs. Exploratory MIRT leaves signs to the rotation, and a confirmatory model reads the data as it is.

Validation. On the café items with slow unreversed and selected, the graded slopes are all positive and match a fit on data with slow reversed beforehand to 10⁻³, and members 13, 15, 69 and 165 – each flagged by longstring and IRV on the pre-reversed file – are no longer flagged by two indices; the pre-reversed file with Already reversed in the data ticked gives the same screen.

Reading results

Model checks read the assumption level; model choices and DIF the main α. A test whose null is that the model or one of its assumptions holds – the M2 test, S-X² item fit, LD-X², the bootstrapped Q3* cutoff, the confirmatory-against-exploratory likelihood-ratio test and the Δ test of the DIF anchors – is judged at the assumption level, as SEM’s exact-fit χ² and invariance Δχ² are. The Rasch-against-2PL and adjacent-dimensionality tests choose between candidate models, and DIF answers the question the user asked rather than checking a precondition, so they read the main α. The grouping is the PROMIS methodology’s (Stover et al. 2019), which treats item fit and local dependence as model evaluation and DIF as a step of its own. The data-quality Mahalanobis screen (p < .001) and the person-fit cutoffs are fixed conventions, not tests at a level.

An uncorrected family is warned about, not corrected. S-X² is one test per item, LD-X² one per item pair – J(J − 1)/2 of them – and DIF one per tested item, or per item and group pair under pairwise DIF; each is corrected by the user’s adjustment method alone, and with none set the adjustment is the identity, so 20 items give 190 pairs and about ten flagged by chance at .05. IRT reporting corrects these families – PROMIS judges S-X² at .01 with Benjamini–Hochberg – yet the method is the user’s choice, so the run imposes none and instead warns at its start, as the Comparison, Correlation and Time-to-event modules do, whenever its largest uncorrected family holds two tests or more.

The calibration note quotes published guidance per model, as a target rather than a floor. With interpretation on, a unidimensional fit is compared against the calibration sample the textbooks suggest for its items’ model. De Ayala (2009) is the lead source: Rasch “a few hundred … a desirable target rather than a minimum” (p. 43), 2PL “at least 500 persons and … 20 or more items” under marginal maximum likelihood (p. 105), 3PL above 1,000, for the guessing parameter and to avoid convergence problems (pp. 130–131), partial credit and rating scale 250 (p. 199), graded 500 (p. 223) and nominal 600 (p. 247). DeMars (2010, pp. 34–37) stands beside it – Rasch models “often used with samples as small as 100 or 200”, at least 1,000 for the c-parameter, and the GPCM needing what the graded model needs, having as many parameters – so the Rasch target is 200, inside both. For the graded model and GPCM the note adds Svetina Valdivia and Dai’s (2024, p. 172) simulation fitted with mirt, in which about 250 was generally sufficient. Every author hedges the figure as a rough target under favourable conditions, so the note states the comparison as a fact, not a verdict. No full text gives a figure for 4PL, and the guidance is for unidimensional calibration, so neither gets a note. The ladder this replaced – 100 for any model, 200 for 2PL, 500 for 3PL, 1,000 for 4PL – had no source.

Model fit

M2 is mirt’s M2*, named as such on polytomous items. M2() computes the limited-information statistic in its M2* form by default, which on dichotomous items is M2 itself; the row is headed M2* whenever any item is polytomous, so the statistic is reported under the name of what was computed. RMSEA with its 90% interval, SRMSR, TLI and CFI come from the same call. M2() refuses a model that leaves it no degrees of freedom and can fail on a multidimensional fit, so it runs in its own error handler: the card then prints R’s message and keeps AIC, BIC and the log-likelihood, which the fit itself carries. Its null is exact fit, so with interpretation on the row reads “Exact fit rejected” or “Exact fit not rejected”, at the assumption level – a decision about exact fit, never a statement that the model fits.

RMSEA₂ is graded on Maydeu-Olivares and Joe’s bands, not the SEM cutoffs. The RMSEA M2() reports is RMSEA₂, built on the limited-information M2 rather than on the full-information χ² the SEM cutoffs were set for, and Maydeu-Olivares and Joe (2014) give it bands of its own: 0.089 for adequate fit, 0.05 for close fit, and 0.05/(K − 1) for excellent fit on items with K response categories. The excellent band needs one K shared by every item, three or more – at K = 2 it is the close band, and items of mixed widths have no single K, so it is dropped and the card says why. A value on a cut stays in the better band, and Adequate fit takes the amber of the shared fit ladder’s third band, so the weakest passing band reads weaker than the two above it. Xu, Paek and Xia (2017) found that 0.05 can miss multidimensionality and suggest a stricter value; the note under the table says so, while the bands keep the value the index’s authors propose. The cutoffs were checked against Xu, Paek and Xia’s quotation of the 2014 paper. With the interval on screen, the interpretation reads the bands of its two ends rather than the point’s, through the same span clause Factor’s and SEM’s RMSEA use – see the band reads the interval.

SRMSR is graded on Maydeu-Olivares and Joe’s own bands; TLI and CFI are not graded. Maydeu-Olivares and Joe single out RMSEA₂ and SRMSR as the primary M2-based indices, and their Table 2 (2014, p. 319) gives SRMSR cutoffs beside RMSEA₂’s – .05 for adequate fit, .027 for close fit and .027/(K − 1) for excellent fit – so SRMSR reads those, with the K and the mixed-width rule RMSEA₂ uses, rather than the settings’ SEM cutoff for SRMR; Maydeu-Olivares (2013, p. 84) is the background. M2-based TLI and CFI behave differently from their SEM versions: Cai, Chung and Lee (2023) find Hu and Bentler’s .95 too lenient for the IRT TLI, suggest about .97–.98 as general guidance, and advise against any fixed cutoff – which leaves no bar to grade against, so the two print as values and, with interpretation on, a note says why.

No combined fit verdict; a poor RMSEA₂ or SRMSR advises another model. Requiring every index to pass is no recognised combination rule – Hu and Bentler’s pairs SRMR with CFI or RMSEA – and the M2 indices are not equally established for IRT, so each graded index is read on its own, as in Factor and SEM, and only a poor grade on one of the two primary indices raises the advice to consider a different model.

Model comparison

The comparison pair is fixed by the response format, and refits reuse the model where they can. Rasch is 2PL with the discriminations constrained equal, so that pair takes a likelihood-ratio test; GRM and GPCM model different response processes with the same number of parameters, and neither nests the other, so they are compared by AIC and BIC alone. A mixed scale is refitted twice with 2PL on its dichotomous items and the graded or partial-credit model on the rest, so that only the polytomous parameterisation differs between the two fits. A pair member that is the model already fitted is reused rather than refitted, and a fitted model outside the pair is added as its own row, with a test against 2PL only where it nests it – 3PL, 3PLu and 4PL free asymptotes that 2PL fixes.

ΔAIC and ΔBIC are graded on the shared rules; the likelihood-ratio verdict reads a nested pair alone. The model comparison, the dimensionality comparison and the confirmatory-against-exploratory table print each model’s distance from the table’s lowest AIC and BIC in both modes, and with interpretation on grade it on Burnham, Anderson and Huyvaert’s (2011) ΔAIC continuum and Raftery’s (1995) ΔBIC grades of evidence, the shared rules, the best model reading “preferred” – see the best model is “preferred”. The decision clause – the constrained model fits significantly worse, or no significant loss of fit – appears only on a row carrying a test of a nested pair: at the main α in the two comparisons that choose between models, and at the assumption level for the confirmatory-against-exploratory test, which checks the specified constraints.

Dimensionality comparison

Each smaller dimensionality is a refit, tested against its neighbour. The rows below the chosen count are fitted afresh, under quasi-Monte Carlo integration above three dimensions as the main fit is, and each is tested against the next by anova(); a test that fails leaves its row with the information criteria alone, rather than losing the table.

Confirmatory vs exploratory fit

The constraint test is omitted when the confirmatory model is not a restriction. A specification that loads every item on every factor and frees their covariances estimates at least as many parameters as the exploratory model it is compared against; anova() then returns a non-positive df with a p of NaN rather than refusing, so the app reads the df and, when it is not positive, drops the test and says the models are not nested.

Factor loadings

h² and confirmatory loadings are standardized with the fitted factor covariance. mirt’s summary() divides each slope row by 1+∑(a/1.702)2 and sums the squared standardized loadings into h², leaving the latent covariance out, so under correlated factors an item loading on two of them loses its 2λ1λ2φ term. With a∗=a/1.702 the normal-ogive slopes and Σ the fitted latent covariance, the run computes h² as a∗′Σa∗/(1+a∗′Σa∗), and a confirmatory fit’s loadings as λ=a∗σ/1+a∗′Σa∗, σ the factor SDs, so each row’s λ′Φλ equals its h²; the heatmap reads the same values. Simple-structure items and uncorrelated fits are unchanged, since Σ is the identity there, and an exploratory fit keeps mirt’s rotated loadings.

Validation. On a simulated two-factor 2PL test (n 500, two cross-loaded items, fitted φ .27), the cross-loaded items’ h² read .468 and .275 where summary() gives .424 and .235, matching the Φ-aware formula to about 10⁻⁶, and their loadings .246 / .575 and .235 / .409 where summary() prints .256 / .598 and .241 / .420; on uncorrelated and exploratory fits h² equals mirt’s to 10⁻¹⁶.

An h² below .40 is flagged on Factor’s rule. Costello and Osborne (2005, p. 4) read a communality below .40 as an item that may not relate to the others or may point to another factor – a cue to inspect, not a deletion rule – and the cut is the one the Factor analysis module applies. They set it for exploratory factor analysis; the item factor model’s h² is on the same metric, though for binary items with skewed thresholds it can read .02–.04 higher than a polychoric factor analysis’s near the cut, which the legend says. The loading note’s 0.3 is Factor’s salience floor, read inclusively.

Validation. At n 1000 on one factor, mirt’s h² matched the communality of psych::fa on the tetrachoric matrix within .027 (2PL, mean difference about −.007) and on the polychoric matrix within .010 (graded).

Item statistics

Location standard errors are carried to the IRT metric by the delta method. mirt reports standard errors only in its slope–intercept metric, while the table shows locations bk=−dk/a. Each location’s SE is the delta-method transform over its own (a,dk) block of vcov(), with gradient (dk/a2,−1/a); a parameter the model fixed is absent from vcov() and contributes no variance. The asymptotes are estimated on the logit scale, and their standard errors are reported there under an SE(logit …) header rather than beside the probability-scale estimate unlabelled. The nominal model’s estimates are read in the IRT metric while its SE table is always in the slope–intercept one – different parameters under the same names – so no standard error is shown for it.

Whether standard errors were requested and whether their covariance matrix exists are recorded apart. When mirt’s standard-error step fails – a singular information matrix (“Lapack routine dgesv: system is exactly singular”) – the item parameter SEs still print, since coef(printSE = TRUE) reads each item’s own SEpar, but every SE the app builds from vcov() by the delta method is NA: the location SEs above and, through them, item reliability, separation and strata. Taking “SEs requested” for “SEs computed” left those cells blank with no reason, so the run keeps mirt’s error text from the covariance slot before clearing it, and each table whose cells go blank says the matrix could not be computed, with that text. A multidimensional fit builds no SE from vcov(), so it gets no such note.

GRSM thresholds are read in the slope–intercept metric and shifted per item by hand. mirt stores both GRSM selections as its grsmIRT class, on which coef(IRTpars = TRUE) errors, so the coefficients are read with IRTpars = FALSE: a slope per item, one shared set of step parameters bk and an item shift ci, with P(X≥k+1)=logistic⁡(a(θ+bk+ci)) – checked on the engine. Each item’s thresholds are therefore the θ-metric boundaries −(bk+ci), the shared spacing moved to the item, with standard errors by the delta method over the (bk,ci) block of vcov(); the shift is folded into the boundaries rather than printed as a column of its own, and the note under the table says the set is shared.

Discrimination is graded on Baker’s bands, where the slopes are free. Baker (2001) reads a logistic-metric slope as very low, low, moderate from 0.65, high from 1.35 and very high from 1.70; mirt reports slopes in that metric, without the 1.7 scaling constant, so the bands apply to the printed values as they are. The table folds them into three – red below 0.65, amber below 1.35, uncoloured from there, graded on the unrounded slope – and the colours, the note and the citation appear only with interpretation on and when the table grades one slope per item, a unidimensional fit with no nominal, unfolding, spline or monotonic polynomial item. Under mirt’s Rasch and rating-scale item types the slope is fixed at 1 and the latent variance estimated instead, so the column is a constant of the model, not an estimate, and prints plain.

A family without a slope and a location gets its own columns. The generic layout names what it recognises and mislabels the rest – a nominal a1 is an overall scaling slope, not a discrimination, and a GGUM b1 is the ideal point, not a threshold – so a scale fitted with one such family throughout is laid out in that family’s own parameters, and the discrimination and difficulty bands, which describe quantities it does not estimate, give way to a note on the family. A scale mixing families keeps the generic layout.

MDIFF on a polytomous item is an approximation. Reckase’s multidimensional difficulty, −d/MDISC, is defined for an item with one intercept. A polytomous item has one per step, and the table takes their mean, which locates the item’s centre along its direction of best measurement but is no standard IRT quantity – so the column is headed Mean location whenever any item has several intercepts.

The mean squares are graded on Linacre’s bands, on Rasch-family fits alone. Linacre (2002, p. 878) reads infit and outfit mean squares in four bands, the size of the distortion rather than a misfit test – below 0.5 less productive for measurement but not degrading, 0.5–1.5 productive, above 1.5 to 2.0 unproductive for construction of measurement but not degrading, above 2.0 distorting or degrading the measurement system – with 1.5 read as productive, and the legend keeps his words. The bands were set for Rasch-family models, where the mean squares’ distribution under the model is known; with slopes that vary between items the statistics are distributed differently, so under any other model – GRSM included – the band is shown for reference and not as a verdict. Fixed ranges of this kind were proposed for small samples, about 150 persons and 10 items at most (Müller 2020, p. 7), which the legend says. ZSTD stays a test statistic and is not graded.

S-X² with missing responses runs on the complete cases, on a model refitted to them. mirt computes S-X² on complete response patterns only, so a single blank would stop it and, in one call, take the infit and outfit columns with it. The complete cases scored against the whole sample’s parameters over-reject when the missingness depends on the other responses, so the model is refitted on the complete cases and S-X² read from that fit, at the cost of one more fit; infit and outfit come from a separate call on every row, so a failing S-X² leaves them standing. The verdict column reads S-X² alone, on its adjusted p when an adjustment is set.

Validation. On simulated 2PL tests (N 500, 10 items) with 20, 40 and 60% of the rows incomplete, the refit held the rejection rate at .043–.053 under MCAR and .049–.051 under MAR (.047 with 20 items at 40%), where complete-case S-X² on the full-sample parameters rose to .082, .144 and .208 under MAR. Multiple-imputation S-X² grew conservative (.038 to .012), PV-Q1 had essentially no power, and Q1 and G² are unusable at the app’s test lengths (Orlando & Thissen 2000, pp. 57, 60). Polytomous items and multidimensional fits were not simulated.

Local dependence

Only Q3* is flagged, at 0.2 unless bootstrapped. Raw Q3 carries a negative bias of about −1/(J − 1) for J items under local independence, which on a short test reaches the cutoff by itself; Marais’ (2013) Q3* subtracts the mean off-diagonal Q3 to centre it, and the flag reads Q3* alone. The 0.2 cutoff is a rule of thumb that takes no account of test length, sample size or response format, so its flag is a judgement, shown only with interpretation on: with it off, the card lists every pair by |Q3*| rather than the subset a rule of thumb picked.

The bootstrapped cutoff is a critical value for the largest |Q3*|. Each replication simulates a dataset of the same size from the fitted model (simdata()), refits the model with the same specification and no standard errors, and records the largest |Q3*| over every pair; the cutoff is the (1 − α) quantile of those maxima over the replications that succeeded, α the assumption level, so it holds the chance of any false flag across all pairs at α. The run returns the maxima and the quantile is taken at render, by R’s type-7 definition: the refits do not depend on α, so a change of the level moves the cutoff without one. A critical value at α makes the flag a significance mark, so it follows the significance highlight rather than the interpretation setting. On short scales it often sits well above 0.2, and pairs the rule of thumb flags can drop out.

LD-X² is flagged on the adjusted p, over every pair. residuals(type = "LD", df.p = TRUE) returns Chen and Thissen’s (1997) statistic in the lower triangle and its p in the upper. The adjustment family is every item pair, not only those flagged, and the flag reads the adjusted p against the assumption level – the level its p cells are highlighted at, so the list and the highlights cannot disagree when the level moves; with no correction set the adjustment is the identity. The run returns every pair’s statistic, raw p and adjusted p, so a pair flagged by Q3* alone still shows its LD-X².

Person fit

Zh counts both tails against their chance rate. Zh is the standardized log-likelihood lz of personfit(): negative for aberrant patterns, positive for patterns more consistent than the model expects, so the two tails are counted apart. Under the model each tail beyond 2 holds Φ(−2) ≈ 2.3% of respondents by chance, the rate the note prints; computed on estimated rather than true θ its variance falls below 1, so it under-detects misfit. The infit and outfit cutoff of 1.5 is the top of Linacre’s productive band, the rule the item mean squares are graded on – a Rasch convention, which is why the note calls Zh the better indicator under other models. On a Rasch-family fit the person mean squares are the Rasch-basis ones on WLE θ, which an extreme score leaves undefined, so those persons drop out of the two counts.

Reliability and separation

Marginal reliability integrates against the model’s own latent variance. mirt::marginal_rxx() integrates I/(I+1) against a standard normal, which matches the definition only when the model fixes the latent variance at 1; the Rasch family frees it. The app therefore integrates I(θ)/(I(θ)+1/σ2) against N(0,σ2) with the fitted σ², over ±10 SD of that distribution rather than the whole line: mirt returns NaN probabilities for the GGUM far out on θ, which left its integral undefined, and the tails beyond 10 SD carry no weight any other family’s value can show. It is unidimensional only, and N/A for the spline family, whose information mirt returns as 0.

Separation and strata follow Wright and Masters, and a Rasch fit grades them on Fisher’s ladders. Separation is G=R/(1−R) from the reliability, left undefined outside 0 < R < 1, and the number of strata is (4G+1)/3 (Wright and Masters 1982): the count of levels three standard errors apart that the spread can hold. On a Rasch-family fit the person and item reliabilities and strata are graded on Fisher’s (2007) instrument-quality ladders as his table prints them – reliability below .67 poor, .67–.80 fair, .81–.90 good, .91–.94 very good, above .94 excellent, so .67 opens Fair while .80, .90 and .94 stay in the band below; strata “2 or less” poor, then 2–3, 3–4, 4–5 and above 5, every cut kept in the band below. The two ladders can grade one result a rung apart – R = .90 is 4.33 strata, good reliability and very good strata – which is Fisher’s table, not the app’s. Separation G itself is printed ungraded, and so is every index outside the Rasch family: Fisher wrote the ladders for Rasch measures, and with slopes free – GRSM included, whose latent SD is fixed at 1, so its θ is in SD units rather than logits – the indices describe other quantities.

A Rasch fit computes its reliability and fit statistics the Rasch way, on WLE θ. Fisher’s and Linacre’s ladders were written for statistics mirt computes differently. empirical_rxx() under EAP, the default scoring, is var(EAP) / (var(EAP) + mean PSD²), a model-based reliability of shrunken scores rather than the separation reliability (var⁡θˆ−SE2)/var⁡θˆ; mirt’s item standard errors carry the uncertainty of the person mean it fixes at 0; and itemfit() and personfit() average over every person, the extreme scores placed just beyond the observed θ range, on shrunken θ under EAP. A Rasch-family fit therefore computes person separation reliability, infit and outfit on Warm’s WLE θ over the persons with a non-extreme score, whatever the display scoring, and item reliability on each item’s local standard error 1/∑W over those persons, W the variance of the response; person separation and strata are derived from that reliability.

Validation. On 192 simulated dichotomous Rasch datasets (N 150 or 500, 10 or 25 items, person SD 1 or 2, mean 0 or 1), against Winsteps-style JMLE and CML references whose mutual band agreement – .95 for reliability, .97 for strata – is the yardstick, mirt’s EAP reliability agreed with the Winsteps-style band in .79 of runs (strata .73), reading high (median +.026); mirt’s item reliability graded a band low in 16% of runs, against 0.5% between the references; and on misfitting items mirt’s outfit agreed with the reference bands in .59–.68 of runs against .986, items the references put at 1.5–2.0 reading productive. On partial credit and rating scale fits with no extreme person, the Rasch-basis infit, outfit and ZSTD equal mirt’s itemfit() and personfit() given the same WLE θ to 4 × 10⁻¹⁶.

Item reliability rests on local standard errors for a Rasch fit and on the delta method otherwise. It is 1−SE2/var⁡(location) over the items. On a Rasch-family fit each SE is the item’s local one, above; otherwise each location −d‾/a takes its SE by the delta method over the item’s vcov() block – which is why it needs the standard errors and reads N/A without them. The IRT-parameterised classes carry no intercepts, so a GRSM item’s location, the shared thresholds shifted by its own c, takes its SE over the (bk,c) block, and an IRT-parameterised GPCM item’s, b‾k−c, over its thresholds; a rating scale item’s location is likewise b‾−c, its shift included. The index is Rasch measurement’s, where one location is the whole item; with slopes free it describes the locations alone, and the row is labelled Rasch-style.

A multidimensional targeting is read along each dimension. MDIFF places an item along its direction of best measurement, a composite on a different scale from any one θ, so a dimension’s targeting takes each item’s location on that dimension alone, −d‾/ak, over the items whose largest absolute slope is on it, and subtracts their median from the dimension’s person mean.

Targeting is the person mean minus the median item location, and carries no band. No logit cut for the offset has a published basis. The 1-logit “notable mistargeting” rule in circulation is attributed to Pesudovs et al. (2007), whose only targeting number is an example of closeness – the two means “should be close (e.g., 0.5 logits)” (p. 667); the rule itself first appears, uncited, in Pesudovs et al. (2010, p. 721), and is graded later by Khadka et al. (2013) – so no band without a source applies, and what the offset costs is read from the targeting efficiency instead. The item side is the median location rather than the mean: an item whose slope is estimated near zero has a location −d/a far off the scale, which drags a mean and not a median.

Validation. In simulated 2PL fits (items at N(0, 1) quantiles, slopes 0.6–1.7, persons N(δ, 1), mirt EM as the app fits it), the mean-based offset missed the true δ by more than 1 logit in 12–72% of runs at N 50–100; the median stayed within 1 logit of it in at least 90% of runs for offsets up to 2 logits at N ≤ 200, and under-read a 3-logit offset by 0.4–0.9 logit at N ≤ 100. Rasch fits never missed.

Targeting efficiency reads the offset as the precision it costs. It is the mean test information over the fitted population N(μ,σ2), divided by the largest mean information any shift of that population along θ would get – so no item location enters, and a near-zero estimated slope cannot move it. The test length that keeps a given precision is inversely proportional to the items’ efficiency (Wright and Stone 1979, p. 75), which is the note’s reading: an efficiency E costs as much precision as dropping 1 − E of the items. The band is Wright and Stone’s item-efficiency ladder (p. 75, Table 4.3.3) – right on target from 45%, slightly off target below it, rather off below 18%, extremely off below 7% – which grades one person–item observation; reading the population’s mean information on it is the app’s step, and the legend says so. Wright and Stone call everything from 45% right on target, with 79% or better inside a logit, so the app splits that band at .79, labelling .45–.79 on target and .79 up right on target. The band is printed from 50 respondents on a Rasch-family fit and from 200 on a model with estimated slopes, the sizes from which it held in the app’s simulation; below them the value prints alone. A Rasch-family fit also prints DIGRAM’s target index, the same mean over the test’s peak information (Kreiner and Nielsen 2023, pp. 94–95), compared without a colour against their 0.80 – “relative good targeting compared to many examples of health related scales known to us”, an empirical benchmark rather than a derivation; with slopes free the peak is inflated by overestimated slopes at small N, so the index is not printed there.

Validation. In the app’s simulation (mirt EM as fitted here; items at N(0, 1) quantiles, persons N(δ, 1), δ 0–3, 10 or 30 items, N 50–500), on Rasch fits the efficiency was essentially unbiased (worst +.05), with an SD of .03–.06 at N 50, and its band matched the true band in at least 90% of runs in every cell but one (70% at δ 3, N 50, 30 items). On 2PL fits it was unbiased from N 200, its band agreeing in 70–100% of runs there and 38–98% at N 50. The target index was sound on Rasch fits, but on 2PL fits it read low at small N – a mean of .49–.70 at N 50 against a true .85 – its 0.80 comparison flipping in up to 90% of runs.

Score conversion table

Equating is read off a fine grid, and EAPsum is left to mirt. True-score equating finds, on a θ grid from −6 to 6 in steps of 0.01, the point whose expected total score is nearest the raw score, and takes its SE as 1/I(θ) there. The lowest and highest raw scores map to θ = ∓∞, outside the range any grid’s expected scores reach, so they read N/A rather than the grid’s endpoint. The EAPsum columns are fscores(method = "EAPsum", full.scores = FALSE) under the model’s Gaussian prior, which shrinks toward the mean where equating diverges; the call fails on families with no defined sum-score likelihood (nominal, unfolding), and the columns are then omitted.

DIF results

The DIF verdict names a direction within a tolerance of 0.15. SIDS and UIDS (Meade 2010) are means of the expected-score difference over the same focal-group θ estimates, so UIDS ≥ |SIDS|, the two equal exactly when the difference keeps one sign, and (UIDS−|SIDS|)/UIDS is twice the share of the unsigned difference that the minority sign carries. Exact equality loses the direction of a pure intercept-shift item under all-other-items anchoring, whose two freely estimated slopes differ slightly and so cross somewhere in the focal tail. With two groups the verdict therefore names the favoured group when the ratio is at most 0.15 – the opposite-signed differences carrying under 7.5% of the unsigned total – and the slopes-only test does not reject; crossing DIF names none. The tolerance is DataSuite’s own, set by the simulation below, not a published value. The decision itself reads the overall test at the main α, and “(slopes differ)” is added whenever the slopes-only test rejects – a non-rejection is never read as uniform DIF.

Validation. In 320 simulated 2PL runs (one DIF item, two equal groups of 200–1,000, 8 or 20 items, mirt 1.46.1), among the rows that rejected with the slopes not differing, the 0.15 tolerance kept the direction of 97.7% of pure intercept-shift items, against 86.3% at exact equality, while a symmetric crossing item read 0.012 once and 0.22 or more otherwise (median 0.81). Not swept: polytomous models, designated anchors, purification and unequal groups.

Halpin’s Δ test checks the all-other-items anchors. Under all-other-items anchoring each tested item is anchored on the rest, and DIF running mostly one way contaminates those anchors: Belzak (2020) found the uncorrected false-positive rate near .15, .27 and .49 at 25, 50 and 100 per group with half the items carrying large DIF – “exacerbated as sample sizes increased” (p. 14). The Δ test of robustDIF (Halpin 2024) compares the naive estimate of the group difference with a robust one that down-weights the items with DIF, and a significant gap says the DIF is directional enough to bias the anchoring. Its null is that the anchoring is sound, so it is read at the assumption level, and only a rejection is reported; the interpretation sentence on its consequence cites Wang and Yeh (2003) and Kopf, Zeileis and Strobl (2015), and points to purification or designated anchors. robustDIF reads two separately calibrated unidimensional fits of slope–intercept items, so the check runs only for two groups of 2PL or graded items under all-other-items anchoring – the scheme it guards – and is skipped when an item lacks a category in one group, which a separate calibration cannot fit.

The power row is the likelihood-ratio noncentrality at the run’s own sizes, for DIF of a size set in advance. It is not observed power: the DIF sizes are the ETS category B and C boundaries, a Mantel–Haenszel delta of 1 and 1.5 (Zieky 2003; Dorans & Holland 1992). Delta is 2.35 times a log-odds ratio, which under the Rasch model is the groups’ intercept difference (Holland & Thayer 1986) and for an IRT item a·Δb (Cichrová, Hladká & Martinková 2026), so the run reads the boundaries as shifts of 0.426 and 0.638 in the focal group’s intercept. Power is the noncentral χ² tail beyond the test’s critical value at the main α, before any adjustment; the noncentrality is the expected likelihood ratio of Zimmer, Draxler and Debelak (2023) at the fitted parameters, group sizes, df and latent impact, approximated from 10,000 simulated response patterns per group under the reproducibility seed. The restricted model re-estimates only the studied item’s common parameters and the groups’ latent means and variances, the other items held at their fitted values, rather than the full refit Zimmer et al. define; the noncentrality reads about 4.5–7% high on short tests, about +0.02 in power, which the legend discloses. Only binary 2PL and Rasch items get a row, since no sourced uniform-DIF size exists for the polytomous families, and for those two the row replaces the fixed small-group notes.

Plots

Every curve is drawn on one θ grid, widened to reach the items. The grid runs from −4 to 4 in steps of 0.05, extended to one unit past the lowest and highest item location so that no item’s curve is cut off before it turns; a model with no location parameter keeps ±4. The information figure and the conditional reliability section share the grid, so the two cannot disagree about where a curve starts and ends.

A multidimensional curve is a slice through θ = 0 on the other dimensions. An item’s response curve, information and expected score are computed along its primary dimension – the one with its largest absolute slope – with the other dimensions held at 0, and its information in that direction (iteminfo(degrees = …)); the test information, its standard error 1/I, the test characteristic curve and the conditional reliability are computed the same way for each dimension in turn. The curves of one figure therefore sit on different slices of the latent space while sharing the axis under them, which is what the note under the figure says.

The dichotomous curve is the higher response, and P = 0.5 is a landmark. The overlay draws the probability of the item’s higher response code, whatever the two codes are, since “correct” holds only for keyed 0/1 items. The dashed line marks P = 0.5 rather than the item location: under a guessing or upper asymptote the location sits where the curve reaches (c+u)/2, not 0.5.

The expected score curves are on the raw score scale. expected.item() counts categories from 0, so each item’s curve is shifted by its lowest observed value (min = …) onto the scale expected.test() reports the test characteristic curve on, and the item curves sum to it.

Conditional reliability is computed from the information and the model’s latent variance. The curve is I(θ)/(I(θ)+1/σθ2), mirt’s definition: the same quantity as 1−SE(θ)2/σθ2 with SE=1/I, but read off the information function, so it does not depend on the scoring method’s point estimates. σ² is the fitted latent variance – 1 unless the model frees it, as the Rasch family does – as in the marginal reliability above, and on a multidimensional panel each dimension’s own. The reference line at 0.70 is where the shared reliability bands turn from Questionable to Acceptable – a rule of thumb, so it is drawn only with interpretation on. The standalone section is unidimensional only; a multidimensional fit draws its per-dimension curves as a panel of the information figure.

The Wright map places each item where the targeting does. On a unidimensional model an item’s point is its location – the difficulty, the mean of the thresholds on a polytomous item, −d/a for the ideal-point model – and the threshold ticks restore the spread that mean hides. MDIFF places an item along its direction of best measurement, a composite on another scale from any one θ, so a multidimensional panel places each of its items at −d‾/ak on the panel’s dimension instead, the location the multidimensional targeting reads.

Missing data

Pairwise deletion fits every row on the items it answered. mirt’s marginal likelihood is a product over a person’s answered items, so a missing response drops out of that person’s likelihood rather than taking a value – the full-information treatment, which holds when responses are missing at random. Listwise deletion discards the answered items of every incomplete row as well. Imputed responses enter the fit as observed, so the standard errors and reliabilities read as though nothing had been missing.