# \#irt

**URL:** https://discourse.mc-stan.org/tag/irt/24.md

[Latest](https://discourse.mc-stan.org/latest.md) · [Categories](https://discourse.mc-stan.org/categories.md) · [Tags](https://discourse.mc-stan.org/tags.md)

---

## [Hierarchical graded IRT](https://discourse.mc-stan.org/t/hierarchical-graded-irt/23606)

<div class="topic-metadata">

**Author:** [@saschagobel](https://discourse.mc-stan.org/u/saschagobel)\
**Replies:** 9\
**Last updated:** [March 25, 2026, 11:54am UTC](https://discourse.mc-stan.org/t/hierarchical-graded-irt/23606 "2026-03-25T11:54:13Z")

</div>

Hi all, Is there a way to fit a hierarchical graded IRT model with brms where both the mean and the variance of the ability parameter may depend on covariates? The goal here is to get subgroup-specific (defined by covar…

---

## [Non-linear hurdle model](https://discourse.mc-stan.org/t/non-linear-hurdle-model/40794)

<div class="topic-metadata">

**Author:** [@Philipp\_Doebler](https://discourse.mc-stan.org/u/Philipp_Doebler)\
**Replies:** 2\
**Last updated:** [January 13, 2026, 9:28pm UTC](https://discourse.mc-stan.org/t/non-linear-hurdle-model/40794 "2026-01-13T21:28:05Z")

</div>

I am fitting an IRT-hurdle model in brms. A version without discrimination parameters (=factor loadings) was straightforward to specify. Based on Paul’s brms-IRT paper, I am trying to extend the syntax. The idea is, that…

---

## [Extracting item-specific thresholds from item response model in brms](https://discourse.mc-stan.org/t/extracting-item-specific-thresholds-from-item-response-model-in-brms/40557)

<div class="topic-metadata">

**Author:** [@itpetersen](https://discourse.mc-stan.org/u/itpetersen)\
**Replies:** 0\
**Last updated:** [October 24, 2025, 11:53am UTC](https://discourse.mc-stan.org/t/extracting-item-specific-thresholds-from-item-response-model-in-brms/40557 "2025-10-24T11:53:18Z")

</div>

I’m trying to extract item-specific thresholds (i.e., difficulty/easiness parameters) from an item response model in brms. In the following example, the simulated data have 3 response categories (1, 2, and 3), so the mod…

---

## [Data on Voter Perceptions + Stan Details](https://discourse.mc-stan.org/t/data-on-voter-perceptions-stan-details/40348)

<div class="topic-metadata">

**Author:** [@Kevin\_Reuning](https://discourse.mc-stan.org/u/Kevin_Reuning)\
**Replies:** 2\
**Last updated:** [September 19, 2025, 9:46am UTC](https://discourse.mc-stan.org/t/data-on-voter-perceptions-stan-details/40348 "2025-09-19T09:46:08Z")

</div>

I wanted to share a paper/project I’ve been working on. The short version is that we’ve used AM Scaling to estimate voter perceptions of candidate ideology over a decade and a half. I put together a website that has info…

---

## [Trouble converting JAGS IRT model to Stan](https://discourse.mc-stan.org/t/trouble-converting-jags-irt-model-to-stan/39984)

<div class="topic-metadata">

**Author:** [@William\_Bradley](https://discourse.mc-stan.org/u/William_Bradley)\
**Replies:** 3\
**Last updated:** [July 28, 2025, 2:11pm UTC](https://discourse.mc-stan.org/t/trouble-converting-jags-irt-model-to-stan/39984 "2025-07-28T14:11:31Z")

</div>

I am replicating the model introduced in this paper, which uses item-response theory to indirectly estimate support for militant groups in Pakistan by a so-called endorsement experiment. Specifically, I am following the …

---

## [Combining item response theory and growth curve estimation in same model](https://discourse.mc-stan.org/t/combining-item-response-theory-and-growth-curve-estimation-in-same-model/16407)

<div class="topic-metadata">

**Author:** [@itpetersen](https://discourse.mc-stan.org/u/itpetersen)\
**Replies:** 5\
**Last updated:** [November 10, 2023, 11:09am UTC](https://discourse.mc-stan.org/t/combining-item-response-theory-and-growth-curve-estimation-in-same-model/16407 "2023-11-10T11:09:36Z")

</div>

I’d like to combine item response theory (IRT) and growth curve estimation in the same model. Basically, I’d like to estimate a 2-parameter logistic item response model (difficulty and discrimination) and growth curves …

---

## [Convergence issues with item response model with hurdle negative binomial response distribution](https://discourse.mc-stan.org/t/convergence-issues-with-item-response-model-with-hurdle-negative-binomial-response-distribution/33119)

<div class="topic-metadata">

**Author:** [@itpetersen](https://discourse.mc-stan.org/u/itpetersen)\
**Replies:** 14\
**Last updated:** [October 31, 2023, 4:33pm UTC](https://discourse.mc-stan.org/t/convergence-issues-with-item-response-model-with-hurdle-negative-binomial-response-distribution/33119 "2023-10-31T16:33:26Z")

</div>

I’m trying to fit an item response model (Bürkner, 2020) using brms. I’d like to fit a two-parameter IRT model that estimates difficulty/easiness (i.e., eta) and discrimination (i.e., alpha). The items are count data tha…

---

## [Why does VB struggle with bernoulli(inv\_logit(...)) vs. bernoulli\_logit(...)?](https://discourse.mc-stan.org/t/why-does-vb-struggle-with-bernoulli-inv-logit-vs-bernoulli-logit/32365)

<div class="topic-metadata">

**Author:** [@loesten](https://discourse.mc-stan.org/u/loesten)\
**Replies:** 5\
**Last updated:** [August 10, 2023, 5:57pm UTC](https://discourse.mc-stan.org/t/why-does-vb-struggle-with-bernoulli-inv-logit-vs-bernoulli-logit/32365 "2023-08-10T17:57:37Z")

</div>

I’m implementing an IRT model and have followed the relevant chapter in the user guide to the letter (except for changing the kk index to ii, to match edstan’s format). Hence the model block is simply model { alpha ~ …

---

## [Prior for 2 PL IRT Models](https://discourse.mc-stan.org/t/prior-for-2-pl-irt-models/31874)

<div class="topic-metadata">

**Author:** [@nkreimer](https://discourse.mc-stan.org/u/nkreimer)\
**Replies:** 3\
**Last updated:** [August 5, 2023, 6:38pm UTC](https://discourse.mc-stan.org/t/prior-for-2-pl-irt-models/31874 "2023-08-05T18:38:17Z")

</div>

I am looking for advice on how to specify prior distributions in a two-parameter logistic item response theory model with predictor variables. In setting up my models, I follow @paul.buerkner’s Bayesian Item Response Mod…

---

## [IRT identification | Constraining difficulty and discrimination parameters](https://discourse.mc-stan.org/t/irt-identification-constraining-difficulty-and-discrimination-parameters/32322)

<div class="topic-metadata">

**Author:** [@piotr.koc](https://discourse.mc-stan.org/u/piotr.koc)\
**Replies:** 5\
**Last updated:** [August 4, 2023, 8:49am UTC](https://discourse.mc-stan.org/t/irt-identification-constraining-difficulty-and-discrimination-parameters/32322 "2023-08-04T08:49:48Z")

</div>

To identify a unidimensional 2PL IRT model with unconstrained mean and variance parameters of the latent trait, we can fix one difficulty parameter to 0 (for the unconstrained mean) and one discrimination parameter to 1 …

---

## [Having trouble recovering some model parameters when fitting the simulated data](https://discourse.mc-stan.org/t/having-trouble-recovering-some-model-parameters-when-fitting-the-simulated-data/27735)

<div class="topic-metadata">

**Author:** [@Thomass](https://discourse.mc-stan.org/u/Thomass)\
**Replies:** 4\
**Last updated:** [June 11, 2022, 1:54am UTC](https://discourse.mc-stan.org/t/having-trouble-recovering-some-model-parameters-when-fitting-the-simulated-data/27735 "2022-06-11T01:54:50Z")

</div>

Dear All stan user: I am a Stan novice, and have trouble in recovering the model parameters. Specifically, when using my model (a class of mixture hierarchical model) to fit the simulation data, two estimated parameters…

---

## [Decomposing Regression Coefficient in Non-Linear Model](https://discourse.mc-stan.org/t/decomposing-regression-coefficient-in-non-linear-model/31528)

<div class="topic-metadata">

**Author:** [@wgoette](https://discourse.mc-stan.org/u/wgoette)\
**Replies:** 5\
**Last updated:** [June 20, 2023, 7:32am UTC](https://discourse.mc-stan.org/t/decomposing-regression-coefficient-in-non-linear-model/31528 "2023-06-20T07:32:49Z")

</div>

I’ve got a model that I’m trying to figure out how to fit in brms if possible. The general idea comes from a specific use case of a linear logistic test model from item response theory. To walk through this quickly, I’m …

---

## [New paper on prior distributions in latent variable models](https://discourse.mc-stan.org/t/new-paper-on-prior-distributions-in-latent-variable-models/31130)

<div class="topic-metadata">

**Author:** [@edm](https://discourse.mc-stan.org/u/edm)\
**Replies:** 2\
**Last updated:** [April 21, 2023, 6:46pm UTC](https://discourse.mc-stan.org/t/new-paper-on-prior-distributions-in-latent-variable-models/31130 "2023-04-21T18:46:31Z")

</div>

I’d like to share a preprint titled “Opaque prior distributions in Bayesian latent variable models”, which describes situations where prior distributions behave in ways that many users would not expect. This can especial…

---

## [Q-diffusion IRT model interpretation in brms](https://discourse.mc-stan.org/t/q-diffusion-irt-model-interpretation-in-brms/27774)

<div class="topic-metadata">

**Author:** [@Garret](https://discourse.mc-stan.org/u/Garret)\
**Replies:** 0\
**Last updated:** [June 9, 2022, 4:12pm UTC](https://discourse.mc-stan.org/t/q-diffusion-irt-model-interpretation-in-brms/27774 "2022-06-09T16:12:53Z")

</div>

I have been working with a simulated Q-diffusion model in brms, like the one described in van der Maas et al. (2011; APA PsycNet) and in Bürkner (2021; doi: 10.18637/jss.v100.i05). I’ve been referencing those resources …

---

## [Hierarchical Models for Longitudinal Bayesian SEM / Multidimensional IRT with Latent Regression](https://discourse.mc-stan.org/t/hierarchical-models-for-longitudinal-bayesian-sem-multidimensional-irt-with-latent-regression/27746)

<div class="topic-metadata">

**Author:** [@bjg](https://discourse.mc-stan.org/u/bjg)\
**Replies:** 1\
**Last updated:** [June 7, 2022, 9:27pm UTC](https://discourse.mc-stan.org/t/hierarchical-models-for-longitudinal-bayesian-sem-multidimensional-irt-with-latent-regression/27746 "2022-06-07T21:27:14Z")

</div>

Looking for some modeling advice in the context of longitudinal Bayesian structural equation modeling with correlated latent outcomes when T = 2 (pre/post design). Most related posts seem to address cross-sectional meas…

---

## [2pl IRT / Ideal Point Identification with brms](https://discourse.mc-stan.org/t/2pl-irt-ideal-point-identification-with-brms/25506)

<div class="topic-metadata">

**Author:** [@bwilden](https://discourse.mc-stan.org/u/bwilden)\
**Replies:** 5\
**Last updated:** [January 1, 2022, 11:17am UTC](https://discourse.mc-stan.org/t/2pl-irt-ideal-point-identification-with-brms/25506 "2022-01-01T11:17:42Z")

</div>

I am trying to fit a 2pl IRT / Ideal Point model like the one described by Bafumi, Gelman, Park, and Kaplan (2005) http://www.stat.columbia.edu/~gelman/research/published/171.pdf But I am having some trouble with identi…

---

## [Conditional multilevel IRT and the level-2 correlation structure](https://discourse.mc-stan.org/t/conditional-multilevel-irt-and-the-level-2-correlation-structure/25768)

<div class="topic-metadata">

**Author:** [@Solomon](https://discourse.mc-stan.org/u/Solomon)\
**Replies:** 4\
**Last updated:** [December 22, 2021, 5:05pm UTC](https://discourse.mc-stan.org/t/conditional-multilevel-irt-and-the-level-2-correlation-structure/25768 "2021-12-22T17:05:58Z")

</div>

Operating System: MacOS brms Version: 2.16.2 I’m fitting a multilevel IRT model to experimental data. The design is that all 223 participants responded to the same 5 items in the context of 3 experimental conditions (c…

---

## [I'm a new convert to Stan. My model runs extremely slowly. Advice appreciated!](https://discourse.mc-stan.org/t/im-a-new-convert-to-stan-my-model-runs-extremely-slowly-advice-appreciated/24262)

<div class="topic-metadata">

**Author:** [@mccrosky](https://discourse.mc-stan.org/u/mccrosky)\
**Replies:** 3\
**Last updated:** [September 8, 2021, 12:06pm UTC](https://discourse.mc-stan.org/t/im-a-new-convert-to-stan-my-model-runs-extremely-slowly-advice-appreciated/24262 "2021-09-08T12:06:48Z")

</div>

I set up an item response theory model based on this post. That model worked well, but I then needed to expand it to estimate a number of latent factors each based on a different set of items. I also needed an “overall…

---

## [BRMS IRT and Missing Item Values](https://discourse.mc-stan.org/t/brms-irt-and-missing-item-values/24168)

<div class="topic-metadata">

**Author:** [@nmicatka](https://discourse.mc-stan.org/u/nmicatka)\
**Replies:** 1\
**Last updated:** [August 31, 2021, 1:00pm UTC](https://discourse.mc-stan.org/t/brms-irt-and-missing-item-values/24168 "2021-08-31T13:00:20Z")

</div>

I estimated an ordinal IRT model following the steps outlined in Bürkner (2020) here https://arxiv.org/pdf/1905.09501.pdf. In doing so, it seems that brms estimates a person’s latent trait score even when they have answ…

---

## [Item characteristic curves and item information curves from item response models](https://discourse.mc-stan.org/t/item-characteristic-curves-and-item-information-curves-from-item-response-models/22964)

<div class="topic-metadata">

**Author:** [@itpetersen](https://discourse.mc-stan.org/u/itpetersen)\
**Replies:** 10\
**Last updated:** [July 17, 2021, 6:45pm UTC](https://discourse.mc-stan.org/t/item-characteristic-curves-and-item-information-curves-from-item-response-models/22964 "2021-07-17T18:45:16Z")

</div>

I’m using brms for item response models. I’d like to create item characteristic curves (ICCs) and item information curves (IICs). How can I do that? Item characteristic curves plot the predicted score (y-axis) for each i…

---

## [Brms: 2PL IRT for unbalanced panel data](https://discourse.mc-stan.org/t/brms-2pl-irt-for-unbalanced-panel-data/23394)

<div class="topic-metadata">

**Author:** [@JunoKIM](https://discourse.mc-stan.org/u/JunoKIM)\
**Replies:** 2\
**Last updated:** [July 13, 2021, 7:51pm UTC](https://discourse.mc-stan.org/t/brms-2pl-irt-for-unbalanced-panel-data/23394 "2021-07-13T19:51:51Z")

</div>

Hello all, I try to build a 2PL IRT binary model for the unbalanced panel data using brms. I try to estimate \\theta\_{it}, where i is country and t is year. My 2PL model may take a mathematical form as follows. Pr(y\_{i…

---

## [Estimating 2D ordinal IRT](https://discourse.mc-stan.org/t/estimating-2d-ordinal-irt/23148)

<div class="topic-metadata">

**Author:** [@Theresa\_Wild](https://discourse.mc-stan.org/u/Theresa_Wild)\
**Replies:** 1\
**Last updated:** [July 1, 2021, 1:25pm UTC](https://discourse.mc-stan.org/t/estimating-2d-ordinal-irt/23148 "2021-07-01T13:25:35Z")

</div>

I am trying to understand the RCode of a publicly available study: https://dataverse.harvard.edu/dataset.xhtml?persistentId=doi:10.7910/DVN/0EIQXL I have difficulties to make sens of how data for the ordinal scaling mod…

---

## [Low ESS & R-hat issues w/ 2-parameter IRT](https://discourse.mc-stan.org/t/low-ess-r-hat-issues-w-2-parameter-irt/23185)

<div class="topic-metadata">

**Author:** [@drmiller](https://discourse.mc-stan.org/u/drmiller)\
**Replies:** 2\
**Last updated:** [June 25, 2021, 3:16pm UTC](https://discourse.mc-stan.org/t/low-ess-r-hat-issues-w-2-parameter-irt/23185 "2021-06-25T15:16:27Z")

</div>

Hi all, I am trying to fit a 2-parameter IRT model to estimate the ideological positioning of elected officials using survey responses from some non-elected political elites. The non-elected political elites indicated …

---

## [Handling discrete parameter in a very specific response time model](https://discourse.mc-stan.org/t/handling-discrete-parameter-in-a-very-specific-response-time-model/23058)

<div class="topic-metadata">

**Author:** [@Cengiz\_Zopluoglu](https://discourse.mc-stan.org/u/Cengiz_Zopluoglu)\
**Replies:** 13\
**Last updated:** [June 24, 2021, 3:09pm UTC](https://discourse.mc-stan.org/t/handling-discrete-parameter-in-a-very-specific-response-time-model/23058 "2021-06-24T15:09:33Z")

</div>

Hi, I will first try to describe the model we successfully fit and get reasonably good results. Then, I will ask about how we want to improve it by relaxing an assumption. I believe this involves sampling discrete param…

---

## [Brms: mi() for discrete outcomes in an IRT model](https://discourse.mc-stan.org/t/brms-mi-for-discrete-outcomes-in-an-irt-model/22870)

<div class="topic-metadata">

**Author:** [@wgoette](https://discourse.mc-stan.org/u/wgoette)\
**Replies:** 13\
**Last updated:** [June 18, 2021, 3:10pm UTC](https://discourse.mc-stan.org/t/brms-mi-for-discrete-outcomes-in-an-irt-model/22870 "2021-06-18T15:10:57Z")

</div>

\-----Edits----- Just for transparency and clarification, the initial post was about using mi() for missing outcome variables in a non-linear model. That ultimately is not an issue; instead, it’s that the missing outcome…

---

## [IRT: Discrepancy in estimates hypothesis & conditional effects](https://discourse.mc-stan.org/t/irt-discrepancy-in-estimates-hypothesis-conditional-effects/22438)

<div class="topic-metadata">

**Author:** [@elineadrianne](https://discourse.mc-stan.org/u/elineadrianne)\
**Replies:** 8\
**Last updated:** [May 17, 2021, 11:19pm UTC](https://discourse.mc-stan.org/t/irt-discrepancy-in-estimates-hypothesis-conditional-effects/22438 "2021-05-17T23:19:00Z")

</div>

Hi all, We have been trying out IRT modelling as perfectly demonstrated by @paul.buerkner, but are having some issues with interpreting the estimates resulting from the fitted model. In particular, we are finding a disc…

---

## [Multilevel model with 2 dimensions parameter](https://discourse.mc-stan.org/t/multilevel-model-with-2-dimensions-parameter/22234)

<div class="topic-metadata">

**Author:** [@luccazen](https://discourse.mc-stan.org/u/luccazen)\
**Replies:** 4\
**Last updated:** [April 30, 2021, 7:55pm UTC](https://discourse.mc-stan.org/t/multilevel-model-with-2-dimensions-parameter/22234 "2021-04-30T19:55:12Z")

</div>

Hi! I am trying to build a kind of a IRT model using multiple parameters for each person, one for each required skill. I wanted to model it in a hierarchical way, so that every person parameter has a prior and latter t…

---

## [New paper using IRT model with BRMS for online snake identification](https://discourse.mc-stan.org/t/new-paper-using-irt-model-with-brms-for-online-snake-identification/21244)

<div class="topic-metadata">

**Author:** [@Andy\_Kleinhesselink](https://discourse.mc-stan.org/u/Andy_Kleinhesselink)\
**Replies:** 2\
**Last updated:** [March 14, 2021, 7:13am UTC](https://discourse.mc-stan.org/t/new-paper-using-irt-model-with-brms-for-online-snake-identification/21244 "2021-03-14T07:13:57Z")

</div>

https://royalsocietypublishing.org/doi/10.1098/rsos.201273#d1e627 New paper in Royal Society Open Access that uses a Bayesian Item Response Theory model built with Stan and BRMS in R. Item response was applied to scor…

---

## [Higher-order IRT model in brms](https://discourse.mc-stan.org/t/higher-order-irt-model-in-brms/18581)

<div class="topic-metadata">

**Author:** [@itpetersen](https://discourse.mc-stan.org/u/itpetersen)\
**Replies:** 1\
**Last updated:** [October 14, 2020, 3:05pm UTC](https://discourse.mc-stan.org/t/higher-order-irt-model-in-brms/18581 "2020-10-14T15:05:07Z")

</div>

Is it possible to estimate a higher-order item response theory (IRT) model in brms? Here are some example references: https://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.990.199&rep=rep1&type=pdf ; and https://www.…

---

## [Debugging model/prior specifications](https://discourse.mc-stan.org/t/debugging-model-prior-specifications/17036)

<div class="topic-metadata">

**Author:** [@lnix1](https://discourse.mc-stan.org/u/lnix1)\
**Replies:** 2\
**Last updated:** [July 29, 2020, 12:07am UTC](https://discourse.mc-stan.org/t/debugging-model-prior-specifications/17036 "2020-07-29T00:07:02Z")

</div>

I am working to fit an IRT model in brms in R with PISA test score data. The model based on the guide for IRT models , found here. I have constructed the model to have hierarchical priors on the person parameters (estima…

[Next page](https://discourse.mc-stan.org/tag/irt/24.md?match_all_tags=true&page=1&tags%5B%5D=irt)
