RT Journal Article SR Electronic T1 Labeling self-tracked menstrual health records with hidden semi-Markov models JF medRxiv FD Cold Spring Harbor Laboratory Press SP 2021.01.11.21249605 DO 10.1101/2021.01.11.21249605 A1 Symul, Laura A1 Holmes, Susan YR 2021 UL http://medrxiv.org/content/early/2021/01/13/2021.01.11.21249605.abstract AB Globally, millions of women track their menstrual cycle and fertility via smartphone-based health apps, generating multivariate time series with frequent missing data. To leverage data from self-tracking tools in epidemiological studies on fertility or the menstrual cycle’s effects on diseases and symptoms, it is critical to have methods for identifying reproductive events, e.g. ovulation, pregnancy losses or births. We present two coupled hidden semi-Markov models that adapt to changes in tracking behavior, explicitly capture variable– and state– dependent missingness, allow for variables of different type, and quantify uncertainty. The accuracy on synthetic data reaches 98% with no missing data, 90% with realistic missingness, and 94% accuracy on our partially labeled real-world time series. Our method also accurately predicts cycle length by learning user characteristics. It is publicly available (HiddenSemiMarkov R package) and transferable to any health time series, including self-reported symptoms and occasional tests.Competing Interest StatementThe authors have declared no competing interest.Funding StatementLaura Symul was supported by a Stanford Clinical Data Science Fellowship and Susan Holmes by an NSF DMS RTGAuthor DeclarationsI confirm all relevant ethical guidelines have been followed, and any necessary IRB and/or ethics committee approvals have been obtained.YesThe details of the IRB/oversight body that provided approval or exemption for the research described are given below:The study was deemed exempt by the Stanford IRB.All necessary patient/participant consent has been obtained and the appropriate institutional forms have been archived.YesI understand that all clinical trials and any other prospective interventional studies must be registered with an ICMJE-approved registry, such as ClinicalTrials.gov. I confirm that any such study reported in the manuscript has been registered and the trial registration ID is provided (note: if posting a prospective study registered retrospectively, please provide a statement in the trial ID field explaining why the study was not registered in advance).YesI have followed all appropriate research reporting guidelines and uploaded the relevant EQUATOR Network research reporting checklist(s) and other pertinent material as supplementary files, if applicable.YesKindara users data are not publicly available. Code for the experiments, supplementary material and synthetic dataset can be found following the Data Availability Link below. https://github.com/lasy/semiM-Public-Repo