{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,9,9]],"date-time":"2026-09-09T05:08:04Z","timestamp":1788930484422,"version":"build-2803163510"},"reference-count":74,"publisher":"JMIR Publications Inc.","content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["JMIR Form Res"],"abstract":"<jats:sec>\n                    <jats:title>Background<\/jats:title>\n                    <jats:p>Many mental health conditions (eg, substance use or panic disorders) involve long-term patient assessment and treatment. Growing evidence suggests that the progression and presentation of these conditions may be highly individualized. Digital sensing and predictive modeling can augment scarce clinician resources to expand and personalize patient care. We discuss techniques to process patient data into risk predictions, for instance, the lapse risk for a patient with alcohol use disorder (AUD). Of particular interest are idiographic approaches that fit personalized models to each patient.<\/jats:p>\n                  <\/jats:sec>\n                  <jats:sec>\n                    <jats:title>Objective<\/jats:title>\n                    <jats:p>This study bridges 2 active research areas in mental health: risk prediction and time-series idiographic modeling. Existing work in risk prediction has focused on machine learning (ML) classifier approaches, typically trained at the population level. In contrast, psychological explanatory modeling has relied on idiographic time-series techniques. We propose state space modeling, an idiographic time-series modeling framework, as an alternative to ML classifiers for patient risk prediction.<\/jats:p>\n                  <\/jats:sec>\n                  <jats:sec>\n                    <jats:title>Methods<\/jats:title>\n                    <jats:p>We used a 3-month observational study of participants (N=148) in early recovery from AUD. Using once-daily ecological momentary assessment (EMA), we trained idiographic state space models (SSMs) and compared their predictive performance to logistic regression and gradient-boosted ML classifiers. Performance was evaluated using the area under the receiver operating characteristic curve (AUROC) for 3 prediction tasks: same-day lapse, lapse within 3 days, and lapse within 7 days. To mimic real-world use, we evaluated changes in AUROC when models were given access to increasing amounts of a participant\u2019s EMA data (15, 30, 45, 60, and 75 days). We used Bayesian hierarchical modeling to compare SSMs to the benchmark ML techniques, specifically analyzing posterior estimates of mean model AUROC.<\/jats:p>\n                  <\/jats:sec>\n                  <jats:sec>\n                    <jats:title>Results<\/jats:title>\n                    <jats:p>Posterior estimates strongly suggested that SSMs had the best mean AUROC performance in all 3 prediction tasks with \u226530 days of participant EMA data. With 15 days of data, results varied by task. Median posterior probabilities that SSMs had the best performance with \u226530 days of participant data for same-day lapse, lapse within 3 days, and lapse within 7 days were 0.997 (IQR 0.877-0.999), 0.999 (IQR 0.992-0.999), and 0.998 (IQR 0.955-0.999), respectively. With 15 days of data, these median posterior probabilities were 0.732, &lt;0.001, and &lt;0.001, respectively.<\/jats:p>\n                  <\/jats:sec>\n                  <jats:sec>\n                    <jats:title>Conclusions<\/jats:title>\n                    <jats:p>The study findings suggest that SSMs may be a compelling alternative to traditional ML approaches for risk prediction. SSMs support idiographic model fitting, even for rare outcomes, and can offer better predictive performance than existing ML approaches. Further, SSMs estimate a model for a patient\u2019s time-series behavior, making them ideal for stepping beyond risk prediction to frameworks for optimal treatment selection (eg, administered using a digital therapeutic platform). Although AUD was used as a case study, this SSM framework can be readily applied to risk prediction tasks for other mental health conditions.<\/jats:p>\n                  <\/jats:sec>","DOI":"10.2196\/73265","type":"journal-article","created":{"date-parts":[[2025,5,13]],"date-time":"2025-05-13T13:20:07Z","timestamp":1747142407000},"page":"e73265","source":"Crossref","is-referenced-by-count":3,"title":["Idiographic Lapse Prediction With State Space Modeling: Algorithm Development and Validation Study"],"prefix":"10.2196","volume":"9","author":[{"ORCID":"https:\/\/orcid.org\/0009-0003-9636-6233","authenticated-orcid":false,"given":"Eric","family":"Pulick","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-3286-938X","authenticated-orcid":false,"given":"John","family":"Curtin","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-0670-1794","authenticated-orcid":false,"given":"Yonatan","family":"Mintz","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"1010","published-online":{"date-parts":[[2025,6,3]]},"reference":[{"key":"ref1","doi-asserted-by":"publisher","DOI":"10.1038\/s43586-021-00055-w"},{"key":"ref2","doi-asserted-by":"publisher","DOI":"10.1002\/wps.20882"},{"key":"ref3","doi-asserted-by":"publisher","DOI":"10.1016\/j.brat.2023.104443"},{"key":"ref4","doi-asserted-by":"publisher","DOI":"10.1007\/s12160-016-9830-8"},{"key":"ref5","doi-asserted-by":"publisher","DOI":"10.1002\/wps.20610"},{"key":"ref6","doi-asserted-by":"publisher","DOI":"10.1037\/abn0000901"},{"key":"ref7","doi-asserted-by":"publisher","DOI":"10.1007\/bf03391707"},{"key":"ref8","doi-asserted-by":"publisher","DOI":"10.1155\/2014\/692423"},{"key":"ref9","doi-asserted-by":"publisher","DOI":"10.1111\/add.13479"},{"key":"ref10","doi-asserted-by":"publisher","DOI":"10.1146\/annurev-clinpsy-032816-044949"},{"key":"ref11","doi-asserted-by":"publisher","DOI":"10.1146\/annurev.clinpsy.3.022806.091415"},{"key":"ref12","doi-asserted-by":"publisher","DOI":"10.1146\/annurev.psych.54.101601.145030"},{"key":"ref13","doi-asserted-by":"crossref","DOI":"10.1201\/9780429172649","author":"Gates, KM","year":"2023","journal-title":"Intensive Longitudinal Analysis of Human Processes"},{"key":"ref14","author":"Molenaar, PCM","year":"2016","journal-title":"Statistics and Causality: Methods for Applied Empirical Research"},{"key":"ref15","doi-asserted-by":"publisher","DOI":"10.1007\/bf02294246"},{"key":"ref16","doi-asserted-by":"publisher","DOI":"10.1037\/\/0033-2909.116.1.166"},{"key":"ref17","doi-asserted-by":"publisher","DOI":"10.1002\/hbm.20259"},{"key":"ref18","doi-asserted-by":"publisher","DOI":"10.1080\/15366360701741807"},{"key":"ref19","doi-asserted-by":"publisher","DOI":"10.1146\/annurev-clinpsy-050212-185608"},{"key":"ref20","doi-asserted-by":"publisher","DOI":"10.1080\/00273171.2017.1373014"},{"key":"ref21","doi-asserted-by":"publisher","DOI":"10.1177\/2167702617744325"},{"key":"ref22","doi-asserted-by":"publisher","DOI":"10.1080\/10705511.2017.1406803"},{"key":"ref23","doi-asserted-by":"publisher","DOI":"10.1002\/mpr.2034"},{"key":"ref24","doi-asserted-by":"publisher","DOI":"10.1037\/h0088544"},{"key":"ref25","doi-asserted-by":"publisher","DOI":"10.1207\/s15366359mea0204_1"},{"key":"ref26","doi-asserted-by":"publisher","DOI":"10.1016\/j.cpr.2019.01.002"},{"key":"ref27","doi-asserted-by":"publisher","DOI":"10.1146\/annurev-clinpsy-102419-125032"},{"key":"ref28","doi-asserted-by":"publisher","DOI":"10.1037\/abn0000311"},{"key":"ref29","doi-asserted-by":"publisher","DOI":"10.1016\/j.jad.2024.06.064"},{"key":"ref30","doi-asserted-by":"publisher","DOI":"10.1016\/j.comppsych.2024.152495"},{"key":"ref31","doi-asserted-by":"publisher","DOI":"10.1371\/journal.pone.0060188"},{"key":"ref32","doi-asserted-by":"publisher","DOI":"10.1136\/gpsych-2019-100161"},{"key":"ref33","doi-asserted-by":"publisher","DOI":"10.1080\/00273171.2023.2289058"},{"key":"ref34","doi-asserted-by":"publisher","DOI":"10.1177\/1745691617693393"},{"key":"ref35","doi-asserted-by":"publisher","DOI":"10.1016\/j.addbeh.2017.11.039"},{"key":"ref36","doi-asserted-by":"publisher","DOI":"10.1037\/adb0000666"},{"key":"ref37","doi-asserted-by":"publisher","DOI":"10.2196\/39862"},{"key":"ref38","doi-asserted-by":"publisher","DOI":"10.1017\/s0033291724000862"},{"key":"ref39","doi-asserted-by":"publisher","DOI":"10.1037\/h0024436"},{"key":"ref40","doi-asserted-by":"publisher","DOI":"10.1080\/10705511003661553"},{"key":"ref41","unstructured":"PulickECurtinJMintzYIdiographic lapse prediction with state space modelingOSF2025-02-28https:\/\/osf.io\/8xbk2\/"},{"key":"ref42","unstructured":"PulickEMintzYCurtinJJIdiographic models for lapse predictionOSF2025-02-28https:\/\/osf.io\/wbxfp"},{"key":"ref43","doi-asserted-by":"publisher","DOI":"10.2196\/41833"},{"key":"ref44","doi-asserted-by":"publisher","DOI":"10.1038\/s41562-019-0772-6"},{"key":"ref45","doi-asserted-by":"publisher","DOI":"10.2196\/48763"},{"issue":"1","key":"ref46","first-page":"13","volume":"9","author":"Derogatis, LR","year":"1973","journal-title":"Psychopharmacol Bull"},{"key":"ref47","doi-asserted-by":"publisher","DOI":"10.2196\/29563"},{"key":"ref48","doi-asserted-by":"publisher","DOI":"10.1115\/1.3662552"},{"key":"ref49","unstructured":"McGeeLASchmidtSFDiscovery of the Kalman filter as a practical tool for aerospace and industryNASA19852025-05-21https:\/\/ntrs.nasa.gov\/citations\/19860003843"},{"key":"ref50","doi-asserted-by":"publisher","DOI":"10.1002\/ecm.1470"},{"key":"ref51","doi-asserted-by":"publisher","DOI":"10.1016\/j.jmp.2010.08.004"},{"key":"ref52","doi-asserted-by":"crossref","DOI":"10.1007\/978-3-319-52452-8","author":"Shumway, RH","year":"2017","journal-title":"Time Series Analysis and Its Applications: With R Examples"},{"key":"ref53","author":"McElreath, R","year":"2016","journal-title":"Statistical Rethinking: A Bayesian Course with Examples in R and Stan"},{"key":"ref54","doi-asserted-by":"publisher","DOI":"10.5555\/1953048.2078195"},{"key":"ref55","doi-asserted-by":"publisher","DOI":"10.1145\/2939672.2939785"},{"key":"ref56","doi-asserted-by":"publisher","DOI":"10.1148\/radiology.143.1.7063747"},{"key":"ref57","first-page":"451","author":"Boyd, K","year":"2013","journal-title":"Machine Learning and Knowledge Discovery in Databases. ECML PKDD 2013. Lecture Notes in Computer Science, vol 8190"},{"key":"ref58","doi-asserted-by":"publisher","DOI":"10.3758\/s13423-016-1221-4"},{"issue":"77","key":"ref59","first-page":"1","volume":"18","author":"Benavoli, A","year":"2017","journal-title":"J Mach Learn Res"},{"key":"ref60","unstructured":"KuhnMtidyposterior: Bayesian Analysis to Compare Models using Resampling Statisticstidyposterior20232025-05-21https:\/\/tidyposterior.tidymodels.org\/"},{"key":"ref61","author":"Bertsekas, D","year":"2012","journal-title":"Dynamic programming and optimal control: Volume I"},{"key":"ref62","author":"Leigh, JR","year":"2012","journal-title":"Control Theory: A Guided Tour"},{"key":"ref63","doi-asserted-by":"publisher","DOI":"10.1016\/j.ejor.2018.07.011"},{"key":"ref64","unstructured":"LiQGavinKLVoilsCIMintzYAn Adaptive Optimization Approach to Personalized Financial Incentives in Mobile Behavioral Weight Loss InterventionsarXiv20232025-05-21https:\/\/arxiv.org\/abs\/2307.00444"},{"key":"ref65","unstructured":"AdamsKBBoutilierJJDeoSMintzYPlanning a Community Approach to Diabetes Care in Low- and Middle-Income Countries Using OptimizationarXiv20232025-05-21https:\/\/arxiv.org\/abs\/2305.06426"},{"key":"ref66","doi-asserted-by":"publisher","DOI":"10.1177\/09637214241254328"},{"key":"ref67","unstructured":"LundbergSMLeeSIA Unified Approach to Interpreting Model Predictions201731st Conference on Neural Information Processing SystemDecember 4-9, 2017Long Beach, CA"},{"key":"ref68","doi-asserted-by":"publisher","DOI":"10.1109\/CDC42340.2020.9303736"},{"key":"ref69","doi-asserted-by":"publisher","DOI":"10.1146\/annurev-statistics-042720-125902"},{"key":"ref70","doi-asserted-by":"publisher","DOI":"10.1080\/10503307.2020.1805133"},{"key":"ref71","unstructured":"HolmesEEDerivation of an EM algorithm for constrained and unconstrained multivariate autoregressive state-space (MARSS) modelsarXiv20132025-05-21https:\/\/arxiv.org\/abs\/1302.3919"},{"key":"ref72","doi-asserted-by":"publisher","DOI":"10.1146\/annurev-clinpsy-080921-083128"},{"key":"ref73","doi-asserted-by":"publisher","DOI":"10.1037\/0003-066X.54.2.93"},{"key":"ref74","doi-asserted-by":"publisher","DOI":"10.1177\/1073191120957102"}],"container-title":["JMIR Formative Research"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/formative.jmir.org\/2025\/1\/e73265","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,6,30]],"date-time":"2026-06-30T18:03:50Z","timestamp":1782842630000},"score":1,"resource":{"primary":{"URL":"https:\/\/formative.jmir.org\/2025\/1\/e73265"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025,6,3]]},"references-count":74,"URL":"https:\/\/doi.org\/10.2196\/73265","relation":{"has-preprint":[{"id-type":"doi","id":"10.2196\/preprints.73265","asserted-by":"object"}]},"ISSN":["2561-326X"],"issn-type":[{"value":"2561-326X","type":"electronic"}],"subject":[],"published":{"date-parts":[[2025,6,3]]}}}