Skip to content
DraconiticResearch
Search Sources API
203,203 studies31 sourcesUpdated 2 min ago
PreprintCC BY 4.0PsyArXiv

Quantifying metacognition with the hmetad package in R

Abstract

A longstanding goal in metacognition research is the quantification of confidence-related parameters independently from task performance. While there is now a proliferation of generative models of confidence in numerous psychological tasks, the meta-d' model remains a popular approach to estimating metacognitive sensitivity and metacognitive bias within a signal detection theoretic framework. However, as questions in metacognition research increase in complexity, it remains an ongoing challenge to develop extensions of the meta-d' model built to deal with longitudinal, repeated-measures, or other complex experimental designs. Here we introduce the open-source R package hmetad, which allows users to fit the meta-d' model for a wide range of experimental designs using a familiar formula syntax. We also review how the meta-d' model can be validated in a Bayesian workflow which investigates posterior estimates of key parameters. Overall, the hmetad package offers a comprehensive interface to fitting, evaluating, and visualizing signal detection theoretic models of metacognition.

Related

  1. How does explicit reliability guide choices? Effect of trustworthiness on choice and metacognition
    Keiji Ota, Anthony Ciston, Patrick Haggard +2
    PLOS Computational BiologyPeer-reviewedCC BY 4.0Full text1 citedNeuroscienceStatisticsPLOS
  2. OptimalControl.jl: a Julia package to model and solve optimal control problems with ODEs
    Jean-Baptiste Caillau, Olivier Cots, Joseph Gergaud +2
    Journal of Open Source SoftwarePeer-reviewedCC BYFull textGeneral mathematicsHAL
  3. postshock: An R Package for Donor-Adjusted Forecasting After Structural Shocks
    Qiyang Wang, Daniel J. Eck
    arXivPreprintarXiv licenceFull textStatisticsarXiv
  4. MBAnalysis: An R package for multiblock data analysis
    Benjamin Mahieu, E. Tchandao Mangamana, E. Vigneau +1
    SoftwareXPeer-reviewedCC BYStatisticsHAL
  5. Using the spsurv R package for semi-parametric time-to-event analysis
    Renato Valladares Panaro, Vinícius Mayrink, Fábio Demarqui
    arXivPreprintarXiv licenceFull textStatisticsarXiv
BibTeX
@misc{oneill2026quantifying,
  title = {{Quantifying metacognition with the hmetad package in R}},
  author = {Kevin O'Neill and Stephen Fleming},
  howpublished = {PsyArXiv},
  year = {2026},
  month = oct,
  doi = {10.31234/osf.io/e3qhz_v1},
  url = {https://osf.io/preprints/psyarxiv/e3qhz_v1/},
  note = {CC BY 4.0},
}
RIS
TY  - UNPB
TI  - Quantifying metacognition with the hmetad package in R
AU  - Kevin O'Neill
AU  - Stephen Fleming
PY  - 2026
DA  - 2026/10/27
PB  - PsyArXiv
DO  - 10.31234/osf.io/e3qhz_v1
UR  - https://osf.io/preprints/psyarxiv/e3qhz_v1/
AB  - A longstanding goal in metacognition research is the quantification of confidence-related parameters independently from task performance. While there is now a proliferation of generative models of confidence in numerous psychological tasks, the meta-d' model remains a popular approach to estimating metacognitive sensitivity and metacognitive bias within a signal detection theoretic framework. However, as questions in metacognition research increase in complexity, it remains an ongoing challenge to develop extensions of the meta-d' model built to deal with longitudinal, repeated-measures, or other complex experimental designs. Here we introduce the open-source R package hmetad, which allows users to fit the meta-d' model for a wide range of experimental designs using a familiar formula syntax. We also review how the meta-d' model can be validated in a Bayesian workflow which investigates posterior estimates of key parameters. Overall, the hmetad package offers a comprehensive interface to fitting, evaluating, and visualizing signal detection theoretic models of metacognition.
ER  -