﻿Supplementary data for the paper: Kaleefathullah, A. A., Merat, N., Lee, Y. M., Eisma, Y. B., Madigan, R., Garcia, J., & De Winter, J. C. F. External Human-Machine Interfaces can be misleading: An examination of trust development and misuse in a CAVE-based pedestrian simulation environment. Human Factors.

* read_and_process.m                - MATLAB script that reads the raw data and produces all figures and analyses.
* PedsimEHMI_exp2_10.xx             - Raw data files per participant generated by the HIKER simulator (txt format). xx is the participant number.
* all_data.mat                      - MATLAB .mat file containing all raw data (this .mat file can also be generated by read_and_process.m, if setting readraw to 1). This .mat file is used to increase the speed of the read_and_process.m script.
* shadedErrorBar.m                  - MATLAB function that creates shaded error bars. This function is called by read_and_process.m 
                                      Source credit: Rob Campbell (2020). raacampbell/shadedErrorBar (https://github.com/raacampbell/shadedErrorBar)

Notes
* The MATLAB script was tested using MATLAB R2020a.
