save_output_tbl¶
- save_output_tbl(bin, b, stats)¶
- Function to save model output as a table
Input: * bin: double, bin size, bin = 1 (sec) * b: double, [15 x 1], fitted parameters * stats: a struct that contains all the information about the model fitting result
Output: * tbl: a cell table that lists rates, multiplier and correspinding 95% confidence intervals * A csv file named “example_sub_output.csv” will also be saved in your current folder
- “Dynamic Models of Obstructive Sleep Apnea Provide Robust Prediction of Respiratory Event Timing
and a Statistical Framework for Phenotype Exploration, Sleep, 2022”