Supplementary data for the paper Bazilinskyy, P., Kooijman, L., Dodou, D., & De Winter, J. C. F. (2021). How should external Human-Machine Interfaces behave? Examining the effects of colour, position, message, activation distance, vehicle yielding, and visual distraction among 1,434 participants. Applied Ergonomics.

* alldata1.mat: MATLAB data file 1 with raw keypress data (as processed from entries_1.xlsx). This file is called by analysis.m
* alldata2.mat: MATLAB data file 2 with raw keypress data (as processed from entries_2.xlsx). This file is called by analysis.m.
* analysis.m: MATLAB code that produces all figures from the paper.
* calculate_means.m: MATLAB code for computing means for the selected set of videos. This file is called by analysis.m.
* car_position_data.txt: Position of car in the coordinate system of the virtual world. Used by analysis.m for creating Figure 1.
* entries_1.xlsx: Raw data from Heroku (part 1). This was a JSON file read into Excel.
* entries_2.xlsx: Raw data from Heroku (part 2). This was a JSON file read into Excel.
* perceived safety percentages per video.xlsx: Overview of 'perceived-safety' percentages for all videos.
* questionnaire.pdf: Appen job with questionnaire items.
* reduce_data.m: MATLAB code that extracts participant ID, keypress time, and video number from the data. This file is read by analysis.m.
* survey_data.xlsx: Anonymous data from Figure Eight.
* video_info.xlsx: Characteristics of the 276 videos. This file is read by analysis.m.
* /videos: videos used in the experiment.

