This directory contains all additional materials and code relevant to reproducing the results in the manuscript "Identification of physiological shock in intensive care units via Bayesian regime switching models" by Emmett B. Kendall, Jonathan P. Williams, Curtis B. Storlie, Misty A. Radosevich, Erica D. Wittwer, and Matthew A. Warner.

The folder "supplemental_figures" contains any additional figures that did not make it into either the manuscript of the Supplementary Materials. 

The folders "1_data_cleaning", "2_data_analysis", and "3_simple_sim_rsm" contain the code necessary to conduct all data analysis. The raw data files are *not* contained in these folders for privacy reasons, so if you are interested, please email Dr. Emmett Kendall [emmett.kendall@utdallas.edu]. The folders are numbered according to the order with which things should be run. In particular, "1_data_cleaning" does all of the data cleaning to produce the training data necessary for "2_data_analysis".