{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,2,28]],"date-time":"2026-02-28T04:31:08Z","timestamp":1772253068875,"version":"3.50.1"},"reference-count":22,"publisher":"MDPI AG","issue":"6","license":[{"start":{"date-parts":[[2022,3,9]],"date-time":"2022-03-09T00:00:00Z","timestamp":1646784000000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"DOI":"10.13039\/100000002","name":"National Institutes of Health","doi-asserted-by":"publisher","award":["R21NR018532"],"award-info":[{"award-number":["R21NR018532"]}],"id":[{"id":"10.13039\/100000002","id-type":"DOI","asserted-by":"publisher"}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Sensors"],"abstract":"<jats:p>Smartphones can be used to collect granular behavioral data unobtrusively, over long time periods, in real-world settings. To detect aberrant behaviors in large volumes of passively collected smartphone data, we propose an online anomaly detection method using Hotelling\u2019s T-squared test. The test statistic in our method was a weighted average, with more weight on the between-individual component when the amount of data available for the individual was limited and more weight on the within-individual component when the data were adequate. The algorithm took only an O(1) runtime in each update, and the required memory usage was fixed after a pre-specified number of updates. The performance of the proposed method, in terms of accuracy, sensitivity, and specificity, was consistently better than or equal to the offline method that it was built upon, depending on the sample size of the individual data. Future applications of our method include early detection of surgical complications during recovery and the possible prevention of the relapse of patients with serious mental illness.<\/jats:p>","DOI":"10.3390\/s22062110","type":"journal-article","created":{"date-parts":[[2022,3,10]],"date-time":"2022-03-10T02:10:35Z","timestamp":1646878235000},"page":"2110","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":1,"title":["Online Anomaly Detection for Smartphone-Based Multivariate Behavioral Time Series Data"],"prefix":"10.3390","volume":"22","author":[{"ORCID":"https:\/\/orcid.org\/0000-0003-3544-363X","authenticated-orcid":false,"given":"Gang","family":"Liu","sequence":"first","affiliation":[{"name":"Department of Biostatistics, Harvard T.H. Chan School of Public Health, Boston, MA 02115, USA"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-6613-8668","authenticated-orcid":false,"given":"Jukka-Pekka","family":"Onnela","sequence":"additional","affiliation":[{"name":"Department of Biostatistics, Harvard T.H. Chan School of Public Health, Boston, MA 02115, USA"}],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"1968","published-online":{"date-parts":[[2022,3,9]]},"reference":[{"key":"ref_1","doi-asserted-by":"crossref","first-page":"1691","DOI":"10.1038\/npp.2016.7","article-title":"Harnessing Smartphone-Based Digital Phenotyping to Enhance Behavioral and Mental Health","volume":"41","author":"Onnela","year":"2016","journal-title":"Neuropsychopharmacology"},{"key":"ref_2","doi-asserted-by":"crossref","first-page":"e16","DOI":"10.2196\/mental.5165","article-title":"New Tools for New Research in Psychiatry: A Scalable and Customizable Platform to Empower Data Driven Smartphone Research","volume":"3","author":"Torous","year":"2016","journal-title":"JMIR Ment. Health"},{"key":"ref_3","doi-asserted-by":"crossref","first-page":"1660","DOI":"10.1038\/s41386-018-0030-z","article-title":"Relapse prediction in schizophrenia through digital phenotyping: A pilot study","volume":"43","author":"Barnett","year":"2018","journal-title":"Neuropsychopharmacology"},{"key":"ref_4","doi-asserted-by":"crossref","first-page":"266","DOI":"10.1037\/prj0000243","article-title":"Tseng and Tanzeem Choudhury and Marta Hauser and John M. Kane and Emily A. Scherer, CrossCheck: Integrating self-report, behavioral sensing, and smartphone use to identify digital indicators of psychotic relapse","volume":"40","author":"Brian","year":"2017","journal-title":"Psychiatr. Rehabil. J."},{"key":"ref_5","doi-asserted-by":"crossref","first-page":"746","DOI":"10.1093\/jamia\/ocx005","article-title":"Movement patterns in women at risk for perinatal depression: Use of a mood-monitoring mobile application in pregnancy","volume":"24","author":"Faherty","year":"2017","journal-title":"J. Am. Med. Inform. Assoc."},{"key":"ref_6","doi-asserted-by":"crossref","first-page":"1","DOI":"10.1038\/s41398-020-01123-7","article-title":"Anomaly detection to predict relapse risk in schizophrenia","volume":"11","author":"Henson","year":"2021","journal-title":"Transl. Psychiatry"},{"key":"ref_7","doi-asserted-by":"crossref","first-page":"161","DOI":"10.7326\/0003-4819-138-3-200302040-00007","article-title":"The Incidence and Severity of Adverse Events Affecting Patients after Discharge from the Hospital","volume":"138","author":"Forster","year":"2003","journal-title":"Ann. Intern. Med."},{"key":"ref_8","doi-asserted-by":"crossref","first-page":"694","DOI":"10.1001\/jamapsychiatry.2017.1044","article-title":"Suicide Rates After Discharge from Psychiatric Facilities","volume":"74","author":"Chung","year":"2017","journal-title":"JAMA Psychiatry"},{"key":"ref_9","doi-asserted-by":"crossref","first-page":"129","DOI":"10.1192\/bjp.188.2.129","article-title":"Suicide in mental health in-patients and within 3 months of discharge","volume":"188","author":"Meehan","year":"2006","journal-title":"Br. J. Psychiatry"},{"key":"ref_10","doi-asserted-by":"crossref","first-page":"653","DOI":"10.1176\/appi.ps.201200026","article-title":"Suicide Within Two Weeks of Discharge From Psychiatric Inpatient Care: A Case-Control Study","volume":"64","author":"Bickley","year":"2013","journal-title":"Psychiatr. Serv."},{"key":"ref_11","doi-asserted-by":"crossref","unstructured":"Hsieh, R.J., Chou, J., and Ho, C.H. (2019, January 18\u201321). Unsupervised Online Anomaly Detection on Multivariate Sensing Time Series Data for Smart Manufacturing. Proceedings of the 2019 IEEE 12th Conference on Service-Oriented Computing and Applications (SOCA), Kaohsiung, Taiwan.","DOI":"10.1109\/SOCA.2019.00021"},{"key":"ref_12","doi-asserted-by":"crossref","unstructured":"Aminanto, M.E., Zhu, L., Ban, T., Isawa, R., Takahashi, T., and Inoue, D. (2019, January 12\u201315). Combating Threat-Alert Fatigue with Online Anomaly Detection Using Isolation Forest. Proceedings of the International Conference on Neural Information Processing, Sydney, NSW, Australia.","DOI":"10.1007\/978-3-030-36708-4_62"},{"key":"ref_13","doi-asserted-by":"crossref","first-page":"1294","DOI":"10.1109\/TNSM.2019.2962701","article-title":"Unsupervised Online Anomaly Detection With Parameter Adaptation for KPI Abrupt Changes","volume":"17","author":"Yu","year":"2020","journal-title":"IEEE Trans. Netw. Serv. Manag."},{"key":"ref_14","unstructured":"Karaahmetoglu, O., Ilhan, F., Balaban, I., and Kozat, S.S. (2020). Unsupervised Online Anomaly Detection On Irregularly Sampled Or Missing Valued Time-Series Data Using LSTM Networks. arXiv."},{"key":"ref_15","doi-asserted-by":"crossref","first-page":"30387","DOI":"10.1109\/ACCESS.2020.2973023","article-title":"An Unsupervised Deep Learning Model for Early Network Traffic Anomaly Detection","volume":"8","author":"Hwang","year":"2020","journal-title":"IEEE Access"},{"key":"ref_16","doi-asserted-by":"crossref","unstructured":"Jones, C.B., Chavez, A., Hossain-McKenzie, S., Jacobs, N., Summers, A., and Wright, B. (2021, January 1\u20132). Unsupervised Online Anomaly Detection to Identify Cyber-Attacks on Internet Connected Photovoltaic System Inverters. Proceedings of the 2021 IEEE Power and Energy Conference at Illinois (PECI), Urbana, IL, USA.","DOI":"10.1109\/PECI51586.2021.9435234"},{"key":"ref_17","doi-asserted-by":"crossref","first-page":"116225","DOI":"10.1016\/j.eswa.2021.116225","article-title":"Unsupervised online anomaly detection in Software Defined Network environments","volume":"191","author":"Scaranti","year":"2021","journal-title":"Expert Syst. Appl."},{"key":"ref_18","unstructured":"Knuth, D.E. (1997). The Art of Computer Programming, Pearson Education."},{"key":"ref_19","unstructured":"(2021, May 27). Beiwe Research Platform. Available online: www.beiwe.org."},{"key":"ref_20","unstructured":"(2021, May 18). General Data Protection Regulation. Available online: https:\/\/gdpr-info.eu."},{"key":"ref_21","unstructured":"(2021, October 07). GitHub Source Code. Available online: https:\/\/github.com\/onnela-lab\/forest\/tree\/master\/forest."},{"key":"ref_22","doi-asserted-by":"crossref","first-page":"123","DOI":"10.1001\/jamasurg.2019.4702","article-title":"Gawande and Jukka-Pekka Onnela and Alex B. Haynes, Using Smartphones to Capture Novel Recovery Metrics After Cancer Surgery","volume":"155","author":"Panda","year":"2020","journal-title":"JAMA Surg."}],"container-title":["Sensors"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/1424-8220\/22\/6\/2110\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,10]],"date-time":"2025-10-10T22:33:35Z","timestamp":1760135615000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/1424-8220\/22\/6\/2110"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2022,3,9]]},"references-count":22,"journal-issue":{"issue":"6","published-online":{"date-parts":[[2022,3]]}},"alternative-id":["s22062110"],"URL":"https:\/\/doi.org\/10.3390\/s22062110","relation":{"has-preprint":[{"id-type":"doi","id":"10.20944\/preprints202202.0081.v1","asserted-by":"object"}]},"ISSN":["1424-8220"],"issn-type":[{"value":"1424-8220","type":"electronic"}],"subject":[],"published":{"date-parts":[[2022,3,9]]}}}