You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This repository contains the complete analysis pipeline for hierarchical psychometric function modeling applied to intero & exteroceptive tasks.
4
-
The project implements Bayesian hierarchical models for analyzing Heart Rate Discrimination Task (HRDT) and Respiratory Resistance Sensitivity Task (RRST) data,
5
-
with comprehensive power analysis and interactive visualization tools.
3
+
This repository is the companion of our pre-print "Hierarchical Bayesian Modelling of Interoceptive Psychophysics" (https://doi.org/10.1101/2025.08.27.672360).
4
+
In this pre-print, we introduce hierarchical psychometric function models for the analysis of interoceptive psychophysics data, more specifically for the Heart Rate Discrimination Task (HRDT) and Respiratory Resistance Sensitivity Task (RRST).
5
+
We validate these models (parameter and model recovery analysis), fit them to a large dataset to derive normative priors for simulations and future studies, and run a power analysis examining how different design and analysis choices influence our ability to reliably detect various effect sizes.
6
+
All the data and code used to prepare this manuscript is available on this repository.
6
7
7
-
## Table of Contents
8
+
In addition to the pre-print, we also provide ressources to facilitate the adoption of hierarchical modelling by researchers who work with HRDT or RRST data.
9
+
One of these is a R markdown file demonstrating how to implement and interpet these models, using the well documented BRMS library.
10
+
Another is a shiny app which researchers can use to explore the results of our power analysis, e.g. to justify sample size of future studies.
8
11
9
-
1.[Technical Details of the Hierarchical Model](#technical-details-of-the-hierarchical-model)
12
+
## Table of Contents
13
+
1.[Structure of the repository](#structure-of-the-repository)
10
14
2.[Using the BRMS Demo](#using-the-brms-demo)
11
15
3.[Shiny App Deployment and Usage](#shiny-app-deployment-and-usage)
16
+
3.[Dependencies](#dependencies)
17
+
3.[Citation](#citation)
18
+
3.[Contact](#contact)
12
19
13
-
## Technical Details of the Hierarchical Model
14
-
15
-
### Model Formulation
16
-
17
-
The hierarchical model implements a psychometric function with three key parameters:
18
-
19
-
1.**Threshold (α)**: The stimulus intensity at which the probability of correct response is 0.5
20
-
2.**Slope (β)**: The steepness of the psychometric function, indicating sensitivity
21
-
3.**Lapse rate (λ)**: The upper (1-$\lambda$) and lower asymptotes.
0 commit comments