Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
Observational Study
. 2025 Apr 28:27:e64007.
doi: 10.2196/64007.

Uncovering Social States in Healthy and Clinical Populations Using Digital Phenotyping and Hidden Markov Models: Observational Study

Affiliations
Observational Study

Uncovering Social States in Healthy and Clinical Populations Using Digital Phenotyping and Hidden Markov Models: Observational Study

Imogen E Leaning et al. J Med Internet Res. .

Abstract

Background: Brain-related disorders are characterized by observable behavioral symptoms, for example, social withdrawal. Smartphones can passively collect behavioral data reflecting digital activities such as communication app usage and calls. These data are collected objectively in real time, avoiding recall bias, and may, therefore, be a useful tool for measuring behaviors related to social functioning. Despite promising clinical utility, analyzing smartphone data is challenging as datasets often include a range of temporal features prone to missingness.

Objective: Hidden Markov models (HMMs) provide interpretable, lower-dimensional temporal representations of data, allowing for missingness. This study aimed to investigate the HMM as a method for modeling smartphone time series data.

Methods: We applied an HMM to an aggregate dataset of smartphone measures designed to assess phone-related social functioning in healthy controls (HCs) and participants with schizophrenia, Alzheimer disease (AD), and memory complaints. We trained the HMM on a subset of HCs (91/348, 26.1%) and selected a model with socially active and inactive states. Then, we generated hidden state sequences per participant and calculated their "total dwell time," that is, the percentage of time spent in the socially active state. Linear regression models were used to compare the total dwell time to social and clinical measures in a subset of participants with available measures, and logistic regression was used to compare total dwell times between diagnostic groups and HCs. We primarily reported results from a 2-state HMM but also verified results in HMMs with more hidden states and trained on the whole participant dataset.

Results: We identified lower total dwell times in participants with AD (26/257, 10.1%) versus withheld HCs (156/257, 60.7%; odds ratio 0.95, 95% CI 0.92-0.97; false discovery rate [FDR]-corrected P<.001), as well as in participants with memory complaints (57/257, 22.2%; odds ratio 0.97, 95% CI 0.96-0.99; FDR-corrected P=.004). The result in the AD group was very robust across HMM variations, whereas the result in the memory complaints group was less robust. We also observed an interaction between the AD group and total dwell time when predicting social functioning (FDR-corrected P=.02). No significant relationships regarding total dwell time were identified for participants with schizophrenia (18/257, 7%; P>.99).

Conclusions: We found the HMM to be a practical, interpretable method for digital phenotyping analysis, providing an objective phenotype that is a possible indicator of social functioning.

Keywords: Alzheimer disease; cognitive impairment; digital phenotyping; hidden Markov model; mHealth; mobile health; mobile phone; passive monitoring; schizophrenia; smartphone; social behavior.

PubMed Disclaimer

Conflict of interest statement

Conflicts of Interest: CFB is the director of SBGNeuro. HGR received grants from the Hersenstichting, ZonMw, the Dutch Ministry of Health, and an unrestricted educational grant from Janssen. In addition, he received speaking fees from Lundbeck, Janssen, Benecke, and Prelum, all outside the current work. All other authors declare no conflicts of interest.

Figures

Figure 1
Figure 1
Overview of the hidden Markov model (HMM) approach showing the main processing and modeling steps involved in the method. (A) The Behapp app was installed and collected data passively. (B) These data were processed into activity bins. (C) The HMM was trained on the binned hourly time series. (D) The hidden state sequence was generated for each validation participant and their total dwell time calculated. (E) The total dwell time was compared to clinical measures. (F) Lower socially active dwell time in AD versus HCs, and an interaction between socially active dwell time and AD when predicting social functioning, were observed. AD: Alzheimer disease; HC: healthy control; SCC: subjective cognitive complaints; SZ: schizophrenia; S1: state 1; S2: state 2; zt: hidden state at time point, t.
Figure 2
Figure 2
Age density distributions for validation participants. (A) Distribution of ages for all validation participants. (B) Distribution of ages for validation participants with social measures. Plotted using kernel density estimation.
Figure 3
Figure 3
Emission probabilities of the selected 2-state model. Emission probabilities are provided for (A) state 1 (S1) and (B) state 2 (S2).
Figure 4
Figure 4
Examples of which behaviors may correspond to the hidden states. For the socially active state, various social behaviors are displayed, including calls and app use; in the socially inactive state, there may be no phone usage or phone usage without corresponding social behaviors.
Figure 5
Figure 5
Example time series with high social activity. The observed time series composed of hourly bins (bottom 5 rows) of a participant compared with their corresponding predicted hidden state sequence (top row). S1: state 1 (socially inactive state); S2: state 2 (socially active state).
Figure 6
Figure 6
Example time series with low social activity. The observed time series composed of hourly bins (bottom 5 rows) of another participant compared with their corresponding predicted hidden state sequence (top row). S1: state 1 (socially inactive state); S2: state 2 (socially active state).
Figure 7
Figure 7
An example of a 2-day period of a participant’s time series. This participant showed higher social activity during the daytime than the nighttime. 0: midnight; S1: state 1 (socially inactive state); S2: state 2 (socially active state).
Figure 8
Figure 8
The probability of transitioning into the socially active state from each state, for each hour in the day. 0: midnight; S1: state 1 (socially inactive state), S2: state 2 (socially active state).
Figure 9
Figure 9
Social functioning scale score against total dwell time, with interactions displayed for the different groups.
Figure 10
Figure 10
A box plot of the total dwell times per participant for the different diagnostic groups. There is a significant difference between the HC and AD groups, and the HC and SCC groups. AD: Alzheimer disease; HC: healthy control; SCC: subjective cognitive complaints; SZ: schizophrenia.

Similar articles

References

    1. van der Wee NJ, Bilderbeck A, Cabello M, Ayuso-Mateos JL, Saris IM, Giltay EJ, Penninx BW, Arango C, Post A, Porcelli S. Working definitions, subjective and objective assessments and experimental paradigms in a study exploring social withdrawal in schizophrenia and Alzheimer's disease. Neurosci Biobehav Rev. 2019 Feb;97:38–46. doi: 10.1016/j.neubiorev.2018.06.020. https://linkinghub.elsevier.com/retrieve/pii/S0149-7634(17)30758-3 S0149-7634(17)30758-3 - DOI - PubMed
    1. Porcelli S, van der Wee N, van der Werff S, Aghajani M, Glennon JC, van Heukelum S, Mogavero F, Lobo A, Olivera FJ, Lobo E, Posadas M, Dukart J, Kozak R, Arce E, Ikram A, Vorstman J, Bilderbeck A, Saris I, Kas MJ, Serretti A. Social brain, social dysfunction and social withdrawal. Neurosci Biobehav Rev. 2019 Feb;97:10–33. doi: 10.1016/j.neubiorev.2018.09.012. https://linkinghub.elsevier.com/retrieve/pii/S0149-7634(18)30195-7 S0149-7634(18)30195-7 - DOI - PubMed
    1. Saris IM, Aghajani M, van der Werff SJ, van der Wee NJ, Penninx BW. Social functioning in patients with depressive and anxiety disorders. Acta Psychiatr Scand. 2017 Oct;136(4):352–61. doi: 10.1111/acps.12774. https://europepmc.org/abstract/MED/28767127 - DOI - PMC - PubMed
    1. Jagesar RR, Vorstman JA, Kas MJ. Requirements and operational guidelines for secure and sustainable digital phenotyping: design and development study. J Med Internet Res. 2021 Apr 07;23(4):e20996. doi: 10.2196/20996. https://www.jmir.org/2021/4/e20996/ v23i4e20996 - DOI - PMC - PubMed
    1. Bai R, Xiao L, Guo Y, Zhu X, Li N, Wang Y, Chen Q, Feng L, Wang Y, Yu X, Xie H, Wang G. Tracking and monitoring mood stability of patients with major depressive disorder by machine learning models using passive digital data: prospective naturalistic multicenter study. JMIR Mhealth Uhealth. 2021 Mar 08;9(3):e24365. doi: 10.2196/24365. https://mhealth.jmir.org/2021/3/e24365/ v9i3e24365 - DOI - PMC - PubMed

Publication types

LinkOut - more resources