Skip to content

Analysis in manuscript

Hannah Savage edited this page Oct 21, 2025 · 5 revisions

πŸ“ Datasets πŸ“

Reference Data: PSS and accuracy trajectories.

1000 simulated responses for each PSS (100-400ms in 50ms increments) and accuracy (ranging from 0-100% in 10% increments)

Created using

Generating

Simulated Null: Random responding

10000 simulated responses of random button presses.

Created using hdt_2staircases_simultations_random.py and hdt_2staircases_simultations_functions_random.py in PsychoPy

Generating 10000_null_participants\"10000_random_participant_simulations_{0-99}.tsv"

Simulated Participants: All combinations of PSS and accuracy.

1000 simulated responses at each PSS (100-400ms in 50ms increments) and accuracy (ranging from 0-100% in 10% increments)

Created using hdt_2staircases_simultations.py and hdt_2staircases_simultations_functions.py in PsychoPy

Generating "10000_simulated_participants.tsv"


πŸ‘©β€πŸ’» S-HDT analysis pipeline πŸ‘©β€πŸ’»

We applied a 3-step pipeline to:

(i) identify β€˜random’ and β€˜non-random’ responders

(ii) identify participants who likely applied a cognitive strategy to perform the task, and

(iii) identify the most probable PSS and accuracy for each participant.

Run the following scripts to run the analysis and generate the component figures used in the manuscript. Large figures for the manuscript were compiled in PowerPoint.

  1. Simulated_participants_test_null_100_400.ipynb

Simulated Null

Simulated Participants

  1. Real_participants_test_null_100_400.ipynb

Real Participants

Comparisons between S-HDT samples


Other cardiac task analyses and between task comparisons

πŸ“ Datasets πŸ“

Average scores for original HDT and HTT

average_merged_tasks.csv

Trial by trial data

merged_tasks_trial_by_trial.tsv

πŸ‘©β€πŸ’» Analysis πŸ‘©β€πŸ’»

  1. Original HDT

Orignal_HDT.ipynb

  1. Heartbeat Tracking Task

HTT.ipynb

  1. Cross Task Comparisons

Cross_task_validation.ipynb

Clone this wiki locally