Hostname: page-component-78c5997874-v9fdk Total loading time: 0 Render date: 2024-11-10T05:53:38.251Z Has data issue: false hasContentIssue false

Predicting short-term suicidal thoughts in adolescents using machine learning: developing decision tools to identify daily level risk after hospitalization

Published online by Cambridge University Press:  09 December 2021

E. K. Czyz*
Affiliation:
Department of Psychiatry, University of Michigan, Ann Arbor, MI, USA
H. J. Koo
Affiliation:
Department of Psychiatry, University of Michigan, Ann Arbor, MI, USA
N. Al-Dajani
Affiliation:
Department of Psychiatry, University of Michigan, Ann Arbor, MI, USA
C. A. King
Affiliation:
Department of Psychiatry, University of Michigan, Ann Arbor, MI, USA
I. Nahum-Shani
Affiliation:
Institute for Social Research, University of Michigan, Ann Arbor, MI, USA
*
Author for correspondence: E. K. Czyz, E-mail: ewac@umich.edu
Rights & Permissions [Opens in a new window]

Abstract

Background

Mobile technology offers unique opportunities for monitoring short-term suicide risk in daily life. In this study of suicidal adolescent inpatients, theoretically informed risk factors were assessed daily following discharge to predict near-term suicidal ideation and inform decision algorithms for identifying elevations in daily level risk, with implications for real-time suicide-focused interventions.

Methods

Adolescents (N = 78; 67.9% female) completed brief surveys texted daily for 4 weeks after discharge (n = 1621 observations). Using multi-level classification and regression trees (CARTSs) with repeated 5-fold cross-validation, we tested (a) a simple prediction model incorporating previous-day scores for each of 10 risk factors, and (b) a more complex model incorporating, for each of these factors, a time-varying person-specific mean over prior days together with deviation from that mean. Models also incorporated missingness and contextual (study week, day of the week) indicators. The outcome was the presence/absence of next-day suicidal ideation.

Results

The best-performing model (cross-validated AUC = 0.86) was a complex model that included ideation duration, hopelessness, burdensomeness, and self-efficacy to refrain from suicidal action. An equivalent model that excluded ideation duration had acceptable overall performance (cross-validated AUC = 0.78). Models incorporating only previous-day scores, with and without ideation duration (cross-validated AUC of 0.82 and 0.75, respectively), showed relatively weaker performance.

Conclusions

Results suggest that specific combinations of dynamic risk factors assessed in adolescents' daily life have promising utility in predicting next-day suicidal thoughts. Findings represent an important step in the development of decision tools identifying short-term risk as well as guiding timely interventions sensitive to proximal elevations in suicide risk in daily life.

Type
Original Article
Creative Commons
Creative Common License - CCCreative Common License - BY
This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted re-use, distribution and reproduction, provided the original article is properly cited.
Copyright
Copyright © The Author(s), 2021. Published by Cambridge University Press

The prevention of suicide deaths and related outcomes in youth, including non-lethal attempts and suicidal thoughts, is an urgent public health priority. The prevalence of suicide deaths among adolescents in the United States has been on the rise, showing a nearly 60% increase between 2007 and 2018 (Curtin, Reference Curtin2020). Periods of high-risk transition, such as following psychiatric hospitalization, are associated with particularly elevated suicide risk (Chung et al., Reference Chung, Hadzi-Pavlovic, Wang, Swaraj, Olfson and Large2019). Approximately 20% of discharged youth experience a suicide-related event (e.g. rehospitalization, suicide attempt) within 3 months and between 30% and 40% experience these events within 6 months after discharge (Czyz, Berona, & King, Reference Czyz, Berona and King2016a, Reference Czyz, Horwitz and King2016b; Kennard et al., Reference Kennard, Goldstein, Foxwell, McMakin, Wolfe, Biernesser and Wentroble2018; Yen et al., Reference Yen, Weinstock, Andover, Sheets, Selby and Spirito2013, Reference Yen, Spirito, Weinstock, Tezanos, Kolobaric and Miller2019). Discharged adolescents are also vulnerable to suicidal thoughts of varying intensity and chronicity (Prinstein et al., Reference Prinstein, Nock, Simon, Aikins, Cheah and Spirito2008; Wolff et al., Reference Wolff, Davis, Liu, Cha, Cheek, Nestor and Spirito2018), with more persistent suicidal ideation patterns showing an especially strong association with suicide attempts (Czyz & King, Reference Czyz and King2015; Prinstein et al., Reference Prinstein, Nock, Simon, Aikins, Cheah and Spirito2008), and with prior research highlighting notable fluctuations in day-to-day suicidal thoughts shortly after hospitalization (Czyz, Horwitz, Arango, & King, Reference Czyz, Horwitz, Arango and King2018). Given that suicidal ideation and related outcomes are heterogeneous and time-varying, there is a critical need for strategies that can accurately detect elevations in suicidal ideation and risk more broadly as well as guide the timely delivery of interventions, particularly during high-risk periods.

Identifying elevations in suicide risk in daily life

The pervasiveness of mobile phones has paved the way for use of intensive longitudinal assessment approaches – such as daily diaries (once-a-day assessments) and ecological momentary assessments (EMAs) characterized by repeated measurements within a day – that allow for sampling individuals' day-to-day experiences (Shiffman, Stone, & Hufford, Reference Shiffman, Stone and Hufford2008). By allowing for repeated and frequent assessment of experiences in real-world environments and over time, these approaches reduce recall bias and lead to more ecologically valid information about thoughts, behaviors, or feelings compared to traditional assessments spaced over longer time intervals (Shiffman et al., Reference Shiffman, Stone and Hufford2008). Daily diary and EMA studies are increasingly common in suicide prevention research (Davidson, Anestis, & Gutierrez, Reference Davidson, Anestis and Gutierrez2017; Gee, Han, Benassi, & Batterham, Reference Gee, Han, Benassi and Batterham2020; Kleiman & Nock, Reference Kleiman and Nock2018), as they enable assessment of dynamic and short-term precursors of suicide risk. In addition to demonstrating the highly dynamic nature of suicidal thoughts (Hallensleben et al., Reference Hallensleben, Spangenberg, Forkmann, Rath, Hegerl, Kersting and Glaesmer2017; Kleiman et al., Reference Kleiman, Turner, Fedor, Beale, Huffman and Nock2017), this growing research has also examined short-term correlates and precipitants of suicidal ideation across different domains (e.g. situational, affective, interpersonal) among adults (Armey, Brick, Schatten, Nugent, & Miller, Reference Armey, Brick, Schatten, Nugent and Miller2018; Ben-Zeev, Young, & Depp, Reference Ben-Zeev, Young and Depp2012; Coppersmith, Kleiman, Glenn, Millner, & Nock, Reference Coppersmith, Kleiman, Glenn, Millner and Nock2019; Hallensleben et al., Reference Hallensleben, Glaesmer, Forkmann, Rath, Strauss, Kersting and Spangenberg2019; Husky et al., Reference Husky, Swendsen, Ionita, Jaussent, Genty and Courtet2017; Kleiman et al., Reference Kleiman, Turner, Fedor, Beale, Huffman and Nock2017) and, to a lesser extent, among adolescents (Czyz et al., Reference Czyz, Horwitz, Arango and King2018; Nock, Prinstein, & Sterba, Reference Nock, Prinstein and Sterba2009). Of note, existing daily diary and EMA studies have largely examined individual indicators of suicidal ideation or relatively limited interactions guided by theory (Czyz et al., Reference Czyz, Horwitz, Arango and King2018; Hallensleben et al., Reference Hallensleben, Glaesmer, Forkmann, Rath, Strauss, Kersting and Spangenberg2019). A focus on individual predictors alone, or solely pre-specified interactions, may obscure important patterns in data that could be useful in detecting short-term risk. For example, a proof-of-concept study has shown that models that incorporate multiple risk and protective factors assessed daily after hospitalization predict near-term suicidal crises more accurately relative to models that incorporate single factors (Czyz, Yap, King, & Nahum-Shani, Reference Czyz, Yap, King and Nahum-Shani2020).

In line with meta-analytic studies indicating that individual risk factors are only modestly predictive of suicidal thoughts and behavior (Franklin et al., Reference Franklin, Ribeiro, Fox, Bentley, Kleiman, Huang and Nock2016; Ribeiro et al., Reference Ribeiro, Franklin, Fox, Bentley, Kleiman, Chang and Nock2016), more research considering multiple risk factors (e.g. King et al., Reference King, Brent, Grupp-Phelan, Shenoi, Page, Mahabee-Gittens and McGuire2020) and their complex interactions may be needed to improve our understanding of real-time, real-world conditions that represent near-term suicide risk. Although not yet widely utilized in this context, data-driven approaches (such as machine learning) could aid in identifying such complex relationships, with implications for improving short-term risk detection and for guiding the delivery of timely support.

Potential value of decision algorithms identifying short-term risk

Machine learning approaches (e.g. support vector machine, random forests, and artificial neural network) have been increasingly applied in suicide prevention research (see review Burke, Ammerman, & Jacobucci, Reference Burke, Ammerman and Jacobucci2019). These methods may be highly useful in identifying states of vulnerability representing elevations in suicide risk based on complex intensive longitudinal data by estimating or ‘learning’ parameters that can produce a reliable prediction of an adverse proximal outcome (e.g. near-term suicidal thoughts) (Nahum-Shani et al., Reference Nahum-Shani, Smith, Spring, Collins, Witkiewitz, Tewari and Murphy2018). These methods have the important advantage of handling large volumes of predictors and combining them in interactive and non-linear ways (Athey, Reference Athey2017), yielding algorithmically optimized prediction models. Machine learning has shown promise in predicting suicidal ideation and behavior among adults (Chen et al., Reference Chen, Zhang-James, Barnett, Lichtenstein, Jokinen, D'Onofrio and Fazel2020; de la Garza, Blanco, Olfson, & Wall, Reference de la Garza, Blanco, Olfson and Wall2021; Ribeiro, Huang, Fox, Walsh, & Linthicum, Reference Ribeiro, Huang, Fox, Walsh and Linthicum2019; Walsh, Ribeiro, & Franklin, Reference Walsh, Ribeiro and Franklin2017) and adolescents (Hill, Oosterhoff, & Kaplow, Reference Hill, Oosterhoff and Kaplow2017; Miché et al., Reference Miché, Studerus, Meyer, Gloster, Beesdo-Baum, Wittchen and Lieb2020; Walsh, Ribeiro, & Franklin, Reference Walsh, Ribeiro and Franklin2018). Moreover, a study of adult inpatients responding to EMAs during hospitalization used machine learning models to predict suicide attempts 2–4 weeks later (Wang et al., Reference Wang, Coppersmith, Kleiman, Bentley, Millner, Fortgang and Nock2021). To date, however, machine learning approaches have not been applied to predict near-term suicidal thoughts in daily life.

Applying such data-driven approaches, based on intensive longitudinal data, to detect proximal elevations in suicide risk may be especially valuable if it can aid in identifying opportune times to provide timely interventions that are sensitive to individuals' changing suicide risk levels in real-world conditions. For example, just-in-time adaptive interventions (JITAIs) use dynamically changing information about the individual's internal state and context to recommend whether, when, and how to deliver interventions in daily life using mobile technology (Nahum-Shani, Hekler, & Spruijt-Metz, Reference Nahum-Shani, Hekler and Spruijt-Metz2015; Nahum-Shani et al., Reference Nahum-Shani, Smith, Spring, Collins, Witkiewitz, Tewari and Murphy2018). JITAIs employ decision rules that link dynamic information about the individual to specific intervention options, specifying the conditions in which intervention should be delivered. The goal is to provide the intervention option that is best for an individual at a given time point, while avoiding unnecessary intervention and burden (Nahum-Shani et al., Reference Nahum-Shani, Hekler and Spruijt-Metz2015). Identifying states of vulnerability to an adverse proximal outcome (here, proximal suicidal thoughts) play a critical role in the formulation of effective JITAIs. Many JITAIs and similar ecological interventions focusing on mental health (see reviews: Balaskas, Schueller, Cox, & Doherty, Reference Balaskas, Schueller, Cox and Doherty2021; Bidargaddi, Schrader, Klasnja, Licinio, & Murphy, Reference Bidargaddi, Schrader, Klasnja, Licinio and Murphy2020; Wang & Miller, Reference Wang and Miller2020) are motivated to break the link between states of vulnerability (i.e. conditions that represent heightened risk) and a specific adverse proximal outcome via the delivery of timely intervention. However, to inform the development of real-time interventions for suicide prevention, more research is needed to empirically identify states of vulnerability or the conditions in which adolescents at risk for suicide may benefit from such interventions (i.e. when an intervention should be delivered). Hence, the current study seeks to leverage intensive longitudinal data and machine learning to arrive at a decision algorithm for detecting near-term suicidal thoughts, which, in turn, could be used to guide the formulation of real-time interventions (Nahum-Shani et al., Reference Nahum-Shani, Hekler and Spruijt-Metz2015).

The current study

In this daily diary study of psychiatrically hospitalized adolescents, a multi-level classification and regression tree (CART) was applied to predict proximally emerging suicidal ideation, operationalized as next-day suicidal ideation, during a high-risk post-discharge period. The multi-level CART was selected, instead of other machine learning strategies (e.g. random forest, elastic net, neural network), due to its ability to generate readily interpretable results (e.g. see Boudreaux et al., Reference Boudreaux, Rundensteiner, Liu, Wang, Larkin, Agu and Davis-Martin2021 for an overview) while simultaneously considering intensively sampled predictors (i.e. multi-level data structure) and their complex combinations (Fokkema, Edbrooke-Childs, & Wolpert, Reference Fokkema, Edbrooke-Childs and Wolpert2020). Risk and protective factors were selected based on theoretical considerations and clinical relevance (Bandura, Reference Bandura1977; Klonsky & May, Reference Klonsky and May2015; Rudd et al., Reference Rudd, Berman, Joiner, Nock, Silverman, Mandrusiak and Witte2006; Shneidman, Reference Shneidman1993; Van Orden et al., Reference Van Orden, Witte, Cukrowicz, Braithwaite, Selby and Joiner2010; Wenzel & Beck, Reference Wenzel and Beck2008) and were assessed via electronic surveys each day over the course of 1 month after psychiatric hospitalization. The multi-level CART was used to arrive at a decision tool (i.e. algorithm) predicting the occurrence of next-day suicidal ideation. Two approaches were considered: (1) a simple prediction model incorporating previous-day scores for each individual factor, and (2) a more complex model incorporating, for each of these factors, a person-specific mean over the days prior together with the deviation (change score) from that person-specific mean. To the best of our knowledge, this is the first study that leveraged machine learning to generate decision algorithms for predicting short-term suicidal ideation in daily life. Such decision algorithms represent an important step toward the development of suicide-focused interventions addressing real-time, real-world changes in suicide risk.

Methods

Participants and procedures

Participants were psychiatrically hospitalized adolescents (ages 13–17) who were eligible to participate based on last-month suicide attempt and/or last-week suicidal ideation [with thoughts of either method, intent, and/or plan; based on the Columbia-Suicide-Severity Rating Scale (Posner et al., Reference Posner, Brown, Stanley, Brent, Yershova, Oquendo and Shen2011)]). Exclusion criteria were severe cognitive impairment or altered mental status (psychosis, mania), transfer to a medical unit or residential placement, no availability of a legal guardian (ward of sate), or adolescents not having a cell phone. Described in detail elsewhere (Czyz et al., Reference Czyz, King, Prouty, Micol, Walton and Nahum-Shani2021), participants, were recruited between March 2019 and January 2020 as part of a psychosocial intervention pilot study focusing on feasibility and acceptabilityFootnote Footnote 1. Of those who provided study consent/assent (n = 82 or 87.2%), 80 completed baseline assessment and continued in the study. Adolescents completed daily surveys for 4 weeks, which were texted to their phones each evening beginning on the first day after discharge. Adolescents could respond to surveys between 5 and 8 pm and received $4 for completing each survey. This study's analytic sample includes 78 adolescents (97.5%) who completed at least two consecutive daily surveys; the survey completion rate was 74.2% (1621 out of 2184 possible daily surveys) over the 4-week period. On average, adolescents completed 20.78 daily surveys (s.d. = 6.92). The study's procedures complied with ethical standards for human subjects research and were approved by the participating university's Institutional Review Board.

Measures

Daily outcome

Each day, adolescents responded to questions assessing the frequency of their suicidal thoughts in reference to the last 24 h (“How many times did you have thoughts of killing yourself?), with responses ranging from 0 (not at all) to 4 (all the time). Modeled after the Columbia-Suicide Severity Rating Scale (C-SSRS) (Posner et al., Reference Posner, Brown, Stanley, Brent, Yershova, Oquendo and Shen2011), the item was previously adapted to assess daily suicidal ideation in adolescents (Czyz et al., Reference Czyz, Horwitz, Arango and King2018). A binary outcome was created to indicate the absence/presence (0 v. 1) of next-day suicidal ideation.

Daily predictors

Predictors were assessed with the following brief measures, adapted based on existing validated scales, to reduce response burden given that data were collected daily. Adolescents responded to all items in reference to the last 24 h.

Hopelessness. Participants rated the extent to which they felt hopeless (‘I see only bad things ahead of me, not good things’) using a 4-point scale from ‘strongly disagree’ to ‘strongly agree.’ This item was modeled after the 6-item Brief Hopelessness Scale (Bolland, McCallum, Lian, Bailey, & Rowan, Reference Bolland, McCallum, Lian, Bailey and Rowan2001).

Connectedness to Family and Friends. Using a 7-point scale (from ‘not at all true for me’ to ‘very true for me’), adolescents rated the extent to which they felt close to their friends and, separately, to their family. These items were modeled after the Interpersonal Needs Questionnaire (INQ) (Van Orden, Cukrowicz, Witte, & Joiner, Reference Van Orden, Cukrowicz, Witte and Joiner2012), which measures thwarted belongingness and perceived burdensomeness. The INQ closeness item was adapted to reference a sense of closeness with peers (item 1) and with family (item 2).

Burdensomeness. Participants rated their perceived sense of burdensomeness (‘The people in my life would be happier without me’) on a 7-point scale ranging from ‘not at all true for me’ to ‘very true for me.’ This item was similarly based on the INQ (Van Orden et al., Reference Van Orden, Cukrowicz, Witte and Joiner2012)

Agitation. Participants rated their agitation (‘I felt so stirred up inside I wanted to scream’) on a 7-point scale. The item was modeled after an item from the Brief Agitation Measure (Ribeiro, Bender, Selby, Hames, & Joiner, Reference Ribeiro, Bender, Selby, Hames and Joiner2011). The item phrasing was adjusted to reference experiences in the 24-h period and response options ranged from ‘not at all’ to ‘very much.’

Worry and Rumination. Using a scale ranging from 1 (‘not at all’) to 7 (‘very much’), participants reported levels of worry and rumination using two items. Rumination was assessed with the item ‘I was dwelling on my feelings and problems,’ and worry was assessed with the item ‘I was worried about things that could happen.’ These items were based on previous EMA studies of rumination and worry (Kircanski, Thompson, Sorenson, Sherdell, & Gotlib, Reference Kircanski, Thompson, Sorenson, Sherdell and Gotlib2015).

Self-efficacy to Refrain from Suicidal Action. Confidence to refrain from suicidal action (‘How confident are you that you will be able to keep yourself from attempting suicide?’) was assessed with an item from the 3-item Self-Assessed Expectations of Suicide Risk Scale (Czyz et al., Reference Czyz, Horwitz and King2016b), which showed predictive validity for suicide attempts in youth. Responses were rated from 0 (‘not at all confident’) to 10 (‘completely confident’).

Psychological Pain. Participants rated the extent to which they felt miserable as a proxy for psychological pain. Responses were rated on a 5-point scale (from ‘very slightly or not at all’ to ‘extremely’). This question was adapted from the 10-item positive and negative affect schedule for children (PANAS-C) (Ebesutani et al., Reference Ebesutani, Regan, Smith, Reise, Higa-McMillan and Chorpita2012).

Suicidal Ideation Duration. Each day, adolescents reporting any suicidal ideation subsequently rated the duration of their suicidal thoughts (‘How long did these thoughts last?’) on a 5-point scale (from ‘a few seconds or minutes’ to ‘more than 8 h/continuous’). The duration of the ideation item was based on the C-SSRS (Posner et al., Reference Posner, Brown, Stanley, Brent, Yershova, Oquendo and Shen2011). We created a continuous scale for ideation duration ranging from 0 (no ideation) to 5 (continuous ideation).

Predictor preparation

For each of the 10 risk and protective factors of interest, we calculated the cumulative person-specific mean (each person's own mean) for each day and the deviation from that mean. Specifically, for each of the 10 factors, a person-specific mean was calculated for each day t based on daily responses up to and including day t (i.e. within-person sum of responses to the specific factor up to and including day t, divided by the number of completed surveys up to and including t). Additionally, for each factor, the deviation of day t response from the cumulative person-specific mean was calculated. The relatively simple prediction model included previous-day t responses for each of the 10 factors, whereas the more complex model included each factor's cumulative person-specific mean for each day t as well as day t deviation from that mean.

Data analytic strategy

We fit a series of multi-level CART models to predict next-day suicidal ideation. Designed to accommodate multi-level and longitudinal data structures, these CART models employ generalized linear mixed model (GLMM) and decision trees; specifically, a GLMM tree algorithm uses an unbiased recursive partitioning method that selects the splitting variable based on the lowest p value until there are no more splitting predictors that are below our pre-specified α of 0.05 (Fokkema et al., Reference Fokkema, Edbrooke-Childs and Wolpert2020). A tree like-structure is produced using a process of partitioning data into subgroups such that observations in each group become more similar in terms of the outcome within groups, a process that is repeated until no additional improvements in classification of the outcome are identified based on available predictors. The CART has the advantage of not requiring any assumptions of the data and allowing for a large number of predictors to be included in the model. Moreover, CARTs provide easily interpretable results.

We initially fit two separate CART models: (a) a simple model including previous-day response for each of the 10 factors; and (2) a more complex model including, for each factor, the previous-day cumulative person-specific mean and deviation from that mean. The models also included indicators for a week in the study (ranging from week 1–4), day of the week (from Mon–Sun), and a variable indicating whether the previous-day survey was missing (previous-day missingness). To investigate the added value of measuring ideation duration as a predictive factor, we fit two additional models that were identical to the first two but excluded predictors based on ideation duration. The outcome across all models was the presence/absence of next-day suicidal ideation (binary outcome).

To evaluate model performance, we used blocked 5-fold cross-validation. This method includes random division of the data into five sets, such that four models are created and then tested on a single selected set. This process is repeated five times, with a different test set each time. Traditional random k-fold cross-validation methods do not consider dependent data structures (observations nested within individuals) and may thus provide too optimistic results, leading to incorrect confidence in predictions (Roberts et al., Reference Roberts, Bahn, Ciuti, Boyce, Elith, Guillera-Arroita and Thuiller2017). Also, unbalanced values of the outcome (i.e. higher proportion of zeros to ones) can be problematic for cross-validation (Thabtah, Hammoud, Kamalov, & Gonsalves, Reference Thabtah, Hammoud, Kamalov and Gonsalves2020). Thus, cross-validation was based on stratified blocked folds (i.e. individual participants serving as blocks) with similar prevalence of the outcome (Roberts et al., Reference Roberts, Bahn, Ciuti, Boyce, Elith, Guillera-Arroita and Thuiller2017). Folds were created such that all observations from a particular participant were within the same fold, and the proportion of high and low-risk individuals (based on the median split of the proportion of days ideation was endorsed) were kept consistent across the folds. The blocked 5-fold cross-validation process was repeated 10 items to improve stability and consistency of results. All the analyses were conducted in R version 4.0.2 (2020-06-22) utilizing glmertree, caret, pROC, and groupdata2 packages.

Model performance was evaluated using different metrics, including sensitivity, specificity, an area under the receiver operating characteristic curve (AUC), and positive predictive value (PPV). Sensitivity refers to the probability of identifying correctly those who would experience the outcome (i.e. next-day suicidal ideation) while specificity refers to the probability of identifying correctly those who would not experience the outcome. AUC captures the average sensitivity over all values of false-positive rates (i.e. 1-Specificity) of different cutoff points of predicted probability; AUC thus provides a measure of discriminatory ability (accuracy of differentiating cases with the outcome from those without), with values ranging from 0 to 1, where 0.5 indicates no discriminative ability (similar to chance) and 1 indicates perfect discrimination. Of note, to obtain maximal sensitivity and specificity for selected models, we sought to determine cutoffs on predicted probabilities using the ‘closest top left’ criterion implemented in the R package pROC (Robin et al., Reference Robin, Turck, Hainard, Tiberti, Lisacek, Sanchez and Müller2011). Finally, the PPV refers to the probability that those identified as having the outcome actually have the outcome (i.e. the proportion of true positives over the number of cases predicted to be positive based on the model). Unlike sensitivity and specificity, PPV is directly related to the prevalence rate of the outcome in the population; hence, PPV will increase with an increasing prevalence of the outcome in the population. Similar to AUC, sensitivity, specificity, and PPV values can range from 0 to 1, with values closer to 1 indicating better performance.

Results

Participant characteristics

Over 60% of participants were biological females (67.9%; n = 53), with a mean age of 15.19 (s.d. = 1.35) years. The distribution of race/ethnicity was as follows (more than one category could be selected): 65 (83.3%) White, five (6.4%) African American/Black, four (5.1%) Asian, four (5.1%) American Indian or Alaska Native, and one (1.3%) Native Hawaiian or Other Pacific Islander. Nine participants (11.5%) self-identified as Hispanic. At the time of hospitalization, all adolescents had last-week suicidal ideation, with a mean ideation rating of 3.90 (s.d. = 0.91) (range 0–5, where 0 is no ideation and 5 corresponds to ideation with intent and plan). In addition, half of the participants (n = 39) had at least one-lifetime suicide attempt. Over the course of 4 weeks after discharge, 64 (82.1%) participants reported a total of 631 instances of suicidal ideation (38.9%), out of 1621 completed daily surveys, with an average of 9.86 (s.d. = 7.91) instances. Descriptive information for the predictors and the outcome are provided in online Supplementary Table S1.

Model performance

As shown in Table 1, the best-performing model includes the cumulative mean and deviations from that mean as predictors. This model has a cross-validated mean AUC value of 0.86 [standard error (s.e.) = 0.002], mean PPV of 0.74 (s.e. = 0.006), mean sensitivity of 0.81 (s.e. = 0.005), and mean specificity of 0.82 (s.e. = 0.006). Its corresponding tree is presented in Fig. 1. The simple model (previous-day scores) yielded a cross-validated mean AUC value of 0.82 (s.e. = 0.002), mean PPV of 0.69 (s.e. = 0.005), mean sensitivity of 0.79 (s.e. = 0.008), and mean specificity of 0.78 (s.e. = 0.006). Thus, the complex model resulted in a 4% improvement in accurately identifying suicidal ideation events, which is important to maximize in the context of suicide preventionFootnote 2. The best-performing model (see Fig. 1) included a combination of cumulative mean and/or deviation from that mean for the following factors: ideation duration, hopelessness, burdensomeness, and self-efficacy. For instance, as shown in Fig. 1, one pathway leading to next-day suicidal ideation involves the following: 0.95 or lower cumulative mean of ideation duration, combined with 2.19 or lower cumulative mean of hopelessness, together with greater than 1.95 cumulative mean of burdensomeness and with −1.59 or lower change score of self-efficacy. Table 2 provides detailed information about interpreting this model's results, including specific thresholds in the decision tool shown in Fig. 1.

Fig. 1. Prediction rule for next-day suicidal ideation.

Notes: SI = Next-day suicidal ideation; CM = Cumulative person-specific mean; CS = Change score (deviation from the person-specific mean); Bolded numbers are added to denote nodes for ease of interpretation (see Table 2 for interpretation).

Table 1. Performance metrics for models predicting next-day suicidal ideation

Table 2. Interpretation of the best-performing model shown in Fig. 1

As shown in Table 3, models without the duration of suicidal thoughts had acceptable – but relatively poorer – performance. The simple model without suicidal ideation duration was least predictive, with cross-validated mean AUC of 0.75 (s.e. = 0.005), mean PPV of 0.61 (s.e. = 0.006), mean sensitivity of 0.73 (s.e. = 0.009), and mean specificity of 0.71 (s.e. = 0.009). As shown in Fig. 2, the best-performing model that excluded suicidal ideation as a predictor (cross-validated mean AUC = 0.78) identified the following predictors for next-day ideation: burdensomeness, hopelessness, self-efficacy, and study week. Online Supplementary Table S2 provides information about interpreting this model's results, including specific thresholds in the decision tool, shown in Fig. 2.

Fig. 2. Prediction rule for next-day suicidal ideation excluding previous-day ideation duration.

Notes: SI = Next-day suicidal ideation; CM = Cumulative person-specific mean; CS = Change score (deviation from the person-specific mean); Bolded numbers are added to denote nodes for ease of interpretation (see Supplementary Table S2 for interpretation).

Table 3. Performance metrics for models predicting next-day suicidal ideation excluding suicidal ideation duration as a predictor

Discussion

In this study of suicidal adolescent inpatients, we applied machine learning methods (multi-level CARTs) to daily data collected over 4 weeks during the post-discharge period. The goal was to develop a decision tool that leverages these intensive longitudinal data to indicate each day whether the adolescent is likely to experience suicidal ideation on the next day. To our knowledge, this is the first study that used machine learning to identify different combinations of intensely sampled factors (and their specific thresholds) that predicted, with relatively high accuracy, the emergence of next-day suicidal ideation during the critical post-discharge period. The results further highlighted that such algorithmically optimized combinations hold promise for identifying specific states of vulnerability to near-term suicidal ideation that could, in turn, be used to guide when (i.e. the conditions in which) an intervention might be needed. The study's key findings and implications are discussed below.

First, we found that the best-performing CART model (AUC of 0.86) – which included time-varying cumulative means of risk factors together with deviations from the means – predicted next-day suicidal ideation with greater accuracy relative to a simpler model that included previous-day ratings of risk factors. The fact that prediction was improved by incorporating different features of risk factors (i.e. mean and deviation) is largely consistent with previous daily diary and EMA studies, where more complex models exhibited better prediction of suicide-related outcomes 2–4 weeks later (Czyz et al., Reference Czyz, Yap, King and Nahum-Shani2020; Wang et al., Reference Wang, Coppersmith, Kleiman, Bentley, Millner, Fortgang and Nock2021). Others have similarly shown that, in contrast to simpler (univariate) models, machine learning models accounting for complex combinations among predictors showed a stronger prediction of suicidal thoughts and attempts 3, 14, and 28 days later (Ribeiro et al., Reference Ribeiro, Huang, Fox, Walsh and Linthicum2019). However, in contrast to previous machine learning studies of suicide-related outcomes assessed over longer intervals (Chen et al., Reference Chen, Zhang-James, Barnett, Lichtenstein, Jokinen, D'Onofrio and Fazel2020; de la Garza et al., Reference de la Garza, Blanco, Olfson and Wall2021; Ribeiro et al., Reference Ribeiro, Huang, Fox, Walsh and Linthicum2019; Walsh et al., Reference Walsh, Ribeiro and Franklin2017, Reference Walsh, Ribeiro and Franklin2018), CARTs in this study achieved relatively good predictive accuracy without using a large number of predictors (e.g. 50–3000 predictors in prior studies). Attending to the issues of parsimony is an important consideration for ultimately translating algorithms into clinical practice, particularly if such algorithms incorporate frequent assessments. In the current study, it was also notable that person-specific cumulative means of factors, in combination with more proximally occurring experiences (represented by deviations from the cumulative mean), emerged as being important in identifying next-day ideation. While somewhat intuitive (e.g. enduring hopelessness over prior days together with more recent increases in hopelessness make for a powerful combination), we are not aware of previous studies that examined how dynamically changing factors accumulate to influence near-term suicidal ideation or risk more broadly. It may be that examining short-term changes in risk and protective factors, together with their accumulation, provides a fuller picture of the processes impacting suicidal ideation in daily life. For example, previous studies have demonstrated that within-person changes in individual risk factors alone have limited prospective prediction of short-term suicidal thoughts (Ben-Zeev et al., Reference Ben-Zeev, Young and Depp2012; Coppersmith et al., Reference Coppersmith, Kleiman, Glenn, Millner and Nock2019; Kleiman et al., Reference Kleiman, Turner, Fedor, Beale, Huffman and Nock2017).

Second, there were multiple pathways of risk factor combinations associated with next-day suicidal ideation, although the duration of suicidal thinking emerged as the top risk factor. This is in line with previous daily and EMA studies demonstrating that suicidal ideation tends to have the most consistent prospective link with suicidal thoughts (Coppersmith et al., Reference Coppersmith, Kleiman, Glenn, Millner and Nock2019; Hallensleben et al., Reference Hallensleben, Glaesmer, Forkmann, Rath, Strauss, Kersting and Spangenberg2019; Kleiman et al., Reference Kleiman, Turner, Fedor, Beale, Huffman and Nock2017). However, we also found that when excluding predictors based on ideation duration, next-day suicidal thoughts can still be adequately predicted based on other factors (e.g. one such pathway incorporated, at specific thresholds of each: cumulative hopelessness mean, cumulative burdensomeness mean, and change in self-efficacy score). In other words, the CART analysis identifies other pathways that could ‘flag’ next-day suicidal ideation. Beyond identifying when an intervention could potentially be provided, a promising application of identifying multiple pathways of near-term ideation risk could include the personalization of intervention content based on the unique constellation of risk factors (specific warning signs of near-term ideation). This is consistent with an expert consensus highlighting a range of warning signs related to suicide risk (Fowler, Reference Fowler2012; Rudd et al., Reference Rudd, Berman, Joiner, Nock, Silverman, Mandrusiak and Witte2006) as well as empirical evidence indicating that individuals exbibit different warning signs prior to attempting suicide (Bagge, Glenn, & Lee, Reference Bagge, Glenn and Lee2013, Reference Bagge, Littlefield and Glenn2017). Here, we show that near-term suicidal ideation is similarly multidetermined and thus could benefit from interventions addressing different risk pathways in daily life.

Finally, findings highlight that intensive assessment of prior ideation duration may not be needed to identify subsequent suicidal ideation risk. The more complex model without ideation duration yielded reasonably good predictive accuracy (AUC of 0.78). Previous studies have similarly found that models without suicidal ideation performed well in identifying the occurrence of suicidal thoughts and related crises within a few days to weeks (Czyz et al., Reference Czyz, Yap, King and Nahum-Shani2020; Ribeiro et al., Reference Ribeiro, Huang, Fox, Walsh and Linthicum2019). Excluding ideation duration in prediction models may offer practical advantages if a frequent assessment of suicidal thoughts is not feasible or if there are concerns that at-risk individuals may not disclose ideation if queried directly (Bernecker et al., Reference Bernecker, Zuromski, Gutierrez, Joiner, King, Liu and Stein2019; Drum, Brownson, Burton Denmark, & Smith, Reference Drum, Brownson, Burton Denmark and Smith2009). However, as found in the current study, excluding ideation may lead to some tradeoffs in model performance (e.g. lower specificity). Additional practical considerations include sustaining response adherence (especially over longer periods of time) and minimizing response burden. Prediction models that are parsimonious and do not solely rely on self-report responses may be especially valuable. For example, real-time passive data not requiring direct input from individuals (e.g. sensors, geolocation, communication logs) may offer unique advantages for predicting near-term risk (Allen, Nelson, Brent, & Auerbach, Reference Allen, Nelson, Brent and Auerbach2019; Kleiman, Glenn, & Liu, Reference Kleiman, Glenn and Liu2019; Torous et al., Reference Torous, Larsen, Depp, Cosco, Barnett, Nock and Firth2018), although the utility of such data in predicting suicide-related outcomes, particularly in everyday life, still needs to be established to guide clinical decision-making.

Study limitations and future directions

The study's findings should be considered in light of key limitations. Adolescents in this study were primarily White and were recruited from a single inpatient unit, which might limit generalizability. The findings should be replicated in other samples. While the risk factors included in analyses were selected based on clinical and theoretical considerations, they do not offer an exhaustive list of constructs that can be explored. Future research could consider additional risk and protective factors along with additional variable features. Given limitations inherent in self-report data (e.g. social desirability, recall bias, response burden), additional research should also consider examining predictors based on other types of assessment, such as passively collected data. Future extensions of this work, particularly involving large samples, could examine the extent to which near-term risk algorithms incorporating intensive longitudinal data may vary as a function of participants' initial characteristics (e.g. suicide attempt history) as well as investigate their predictive performance beyond the near-term window (ideation outcome defined as 2 days later, 3 days later, etc.). In addition to detecting its near-term presence, future extensions of this work could also consider predicting proximal change in suicidal ideation (e.g. continued absence, continued presence, decline, or emergence). Moreover, while we tested the stability of results using repeated 5-fold cross-validation, replicating these findings in an independent sample would offer the most rigorous validation approach. While beyond the scope of this study, future research is also needed to determine the practical utility of such prediction algorithms in informing intervention development, including how to intervene when individuals are vulnerable to next-day suicidal thoughts and whether individuals at risk for suicide are receptive to such real-time interventions.

Conclusions

With the goal of developing a decision tool that leverages intensive longitudinal data to identify near-term suicidal ideation in a high-risk clinical sample, this study advances prior research focusing on the prediction of short-term suicide risk. Among recently discharged adolescents, we applied a series of multi-level CART models incorporating dynamically changing risk and protective factors to predict next-day suicidal thoughts. While simpler models that included previous-day ratings of risk and protective factors yielded adequate predictive accuracy, CART models achieved improved performance when including as predictors both the cumulative means of factors over prior days and deviations from these means. These results illustrate that intensive longitudinal data could guide the delivery of real-time interventions for suicide prevention by identifying specific states of vulnerability to near-term suicidal thoughts. Additional research is needed to validate results in independent samples as well as build on this work by improving generalizability to other populations and settings, incorporating different risk factors and data collection methods, as well as by attending to practical issues that could impact the translation of prediction algorithms into clinical settings.

Supplementary material

The supplementary material for this article can be found at https://doi.org/10.1017/S0033291721005006.

Financial support

Support for this project was provided by the National Institute of Mental Health (K23MH113776-01; PI: Czyz). The research reported in this manuscript was also supported by grants from the National Institutes of Health (P50 DA054039; R01 DA039901; U01 CA229437; PI: Nahum-Shani).

Conflict of interest

The authors do not have conflicts of interest to disclose.

Footnotes

The notes appear after the main text.

1 The results did not differ when the pilot intervention conditions were controlled for in the models. Thus, intervention conditions were removed from the final models.

2 In supplemental analyses, we considered whether the best-performing model could be further improved by adding previous-day scores (i.e. including all three features: cumulative means, deviations, and previous-day scores). Notably, this model (cross validated AUC = 0.85; PPV = 0.74; Sensitivity = 0.76; specificity = 0.81) did not yield improved prediction, suggesting previous-day scores did not contribute additional information to the best-performing model.

References

Allen, N. B., Nelson, B. W., Brent, D., & Auerbach, R. P. (2019). Short-term prediction of suicidal thoughts and behaviors in adolescents: Can recent developments in technology and computational science provide a breakthrough? Journal of Affective Disorders, 250, 163169.CrossRefGoogle ScholarPubMed
Armey, M. F., Brick, L., Schatten, H. T., Nugent, N. R., & Miller, I. W. (2018). Ecologically assessed affect and suicidal ideation following psychiatric inpatient hospitalization. General Hospital Psychiatry, 63, 8996.CrossRefGoogle ScholarPubMed
Athey, S. (2017). Beyond prediction: Using big data for policy problems. Science, 355(6324), 483485.CrossRefGoogle ScholarPubMed
Bagge, C. L., Glenn, C. R., & Lee, H. (2013). Quantifying the impact of recent negative life events on suicide attempts. Journal of Abnormal Psychology, 122(2), 359368.CrossRefGoogle ScholarPubMed
Bagge, C. L., Littlefield, A. K., & Glenn, C. R. (2017). Trajectories of affective response as warning signs for suicide attempts: An examination of the 48 h prior to a recent suicide attempt. Clinical Psychological Science, 5(2), 259271.CrossRefGoogle Scholar
Balaskas, A., Schueller, S. M., Cox, A. L., & Doherty, G. (2021). Ecological momentary interventions for mental health: A scoping review. PLoS One, 16(3), e0248152.CrossRefGoogle ScholarPubMed
Bandura, A. (1977). Self-efficacy: Toward a unifying theory of behavioral change. Psychological Review, 84(2), 191. .CrossRefGoogle Scholar
Ben-Zeev, D., Young, M. A., & Depp, C. A. (2012). Real-time predictors of suicidal ideation: Mobile assessment of hospitalized depressed patients. Psychiatry Research, 197(1), 5559.CrossRefGoogle ScholarPubMed
Bernecker, S. L., Zuromski, K. L., Gutierrez, P. M., Joiner, T. E., King, A. J., Liu, H., … Stein, M. B. (2019). Predicting suicide attempts among soldiers who deny suicidal ideation in the army study to assess risk and resilience in servicemembers (Army STARRS). Behaviour Research and Therapy, 120, 103350.CrossRefGoogle ScholarPubMed
Bidargaddi, N., Schrader, G., Klasnja, P., Licinio, J., & Murphy, S. (2020). Designing m-health interventions for precision mental health support. Translational Psychiatry, 10(1), 18.CrossRefGoogle ScholarPubMed
Bolland, J., McCallum, D., Lian, B., Bailey, C., & Rowan, P. (2001). Hopelessness and violence among inner-city youths. Maternal and Child Health Journal, 5(4), 237244.CrossRefGoogle ScholarPubMed
Boudreaux, E. D., Rundensteiner, E., Liu, F., Wang, B., Larkin, C., Agu, E., … Davis-Martin, R. E. (2021). Applying machine learning approaches to suicide prediction using healthcare data: Overview and future directions. Frontiers in Psychiatry, 12, 707916.CrossRefGoogle ScholarPubMed
Burke, T. A., Ammerman, B. A., & Jacobucci, R. (2019). The use of machine learning in the study of suicidal and non-suicidal self-injurious thoughts and behaviors: A systematic review. Journal of Affective Disorders, 245, 869884.CrossRefGoogle Scholar
Chen, Q., Zhang-James, Y., Barnett, E. J., Lichtenstein, P., Jokinen, J., D'Onofrio, B. M., … Fazel, S. (2020). Predicting suicide attempt or suicide death following a visit to psychiatric specialty care: A machine learning study using Swedish national registry data. PLoS Medicine, 17(11), e1003416.CrossRefGoogle ScholarPubMed
Chung, D., Hadzi-Pavlovic, D., Wang, M., Swaraj, S., Olfson, M., & Large, M. (2019). Meta-analysis of suicide rates in the first week and the first month after psychiatric hospitalisation. BMJ Open, 9(3), e023883.CrossRefGoogle ScholarPubMed
Coppersmith, D. D., Kleiman, E. M., Glenn, C. R., Millner, A. J., & Nock, M. K. (2019). The dynamics of social support among suicide attempters: A smartphone-based daily diary study. Behaviour Research and Therapy, 120, 103348.CrossRefGoogle ScholarPubMed
Curtin, S. C. (2020). State suicide rates among adolescents and young adults aged 10–24: United States, 2000–2018. National Vital Statistics Report, 69(11). Hyattsville, MD: National Center for Health Statistics.Google Scholar
Czyz, E. K., Berona, J., & King, C. A. (2016a). Rehospitalization of suicidal adolescents in relation to course of suicidal ideation and future suicide attempts. Psychiatric Services, 67(3), 332338.CrossRefGoogle ScholarPubMed
Czyz, E. K., Horwitz, A. G., Arango, A., & King, C. A. (2018). Short-term change and prediction of suicidal ideation among adolescents: A daily diary study following psychiatric hospitalization. Journal of Child Psychology and Psychiatry, 60(7), 731741.Google ScholarPubMed
Czyz, E. K., Horwitz, A. G., & King, C. A. (2016b). Self-rated expectations of suicidal behavior predict future suicide attempts among adolescent and young adult psychiatric emergency patients. Depression and Anxiety, 33, 512519.CrossRefGoogle Scholar
Czyz, E. K., & King, C. A. (2015). Longitudinal trajectories of suicidal ideation and subsequent suicide attempts among adolescent inpatients. Journal of Clinical Child and Adolescent Psychology, 44(1), 181193.CrossRefGoogle ScholarPubMed
Czyz, E. K., King, C. A., Prouty, D., Micol, V. J., Walton, M., & Nahum-Shani, I. (2021). Adaptive intervention for prevention of adolescent suicidal behavior after hospitalization: A pilot sequential multiple assignment randomized trial. Journal of Child Psychology and Psychiatry, 62(8), 10191031.CrossRefGoogle ScholarPubMed
Czyz, E. K., Yap, J. R., King, C. A., & Nahum-Shani, I. (2020). Using intensive longitudinal data to identify early predictors of suicide-related outcomes in high-risk adolescents: Practical and conceptual considerations. Assessment, 28(8), 19491959.CrossRefGoogle ScholarPubMed
Davidson, C. L., Anestis, M. D., & Gutierrez, P. M. (2017). Ecological momentary assessment is a neglected methodology in suicidology. Archives of Suicide Research, 21(1), 111.CrossRefGoogle ScholarPubMed
de la Garza, Á. G., Blanco, C., Olfson, M., & Wall, M. M. (2021). Identification of suicide attempt risk factors in a national US survey using machine learning. JAMA Psychiatry, 78(4), 398406.CrossRefGoogle Scholar
Drum, D. J., Brownson, C., Burton Denmark, A., & Smith, S. E. (2009). New data on the nature of suicidal crises in college students: Shifting the paradigm. Professional Psychology: Research and Practice, 40(3), 213222.CrossRefGoogle Scholar
Ebesutani, C., Regan, J., Smith, A., Reise, S., Higa-McMillan, C., & Chorpita, B. F. (2012). The 10-item positive and negative affect schedule for children, child and parent shortened versions: Application of item response theory for more efficient assessment. Journal of Psychopathology and Behavioral Assessment, 34(2), 191203.CrossRefGoogle Scholar
Fokkema, M., Edbrooke-Childs, J., & Wolpert, M. (2020). Generalized linear mixed-model (GLMM) trees: A flexible decision-tree method for multilevel and longitudinal data. Psychotherapy Research, 31(3), 329341.CrossRefGoogle Scholar
Fowler, J. C. (2012). Suicide risk assessment in clinical practice: Pragmatic guidelines for imperfect assessments. Psychotherapy, 49(1), 8190.CrossRefGoogle ScholarPubMed
Franklin, J. C., Ribeiro, J. D., Fox, K. R., Bentley, K. H., Kleiman, E. M., Huang, X., … Nock, M. K. (2016). Risk factors for suicidal thoughts and behaviors: A meta-analysis of 50 years of research. Psychological Bulletin, 143(2), 187232.CrossRefGoogle ScholarPubMed
Gee, B. L., Han, J., Benassi, H., & Batterham, P. J. (2020). Suicidal thoughts, suicidal behaviours and self-harm in daily life: A systematic review of ecological momentary assessment studies. Digital Health, 6, 138.CrossRefGoogle ScholarPubMed
Hallensleben, N., Glaesmer, H., Forkmann, T., Rath, D., Strauss, M., Kersting, A., & Spangenberg, L. (2019). Predicting suicidal ideation by interpersonal variables, hopelessness and depression in real-time. an ecological momentary assessment study in psychiatric inpatients with depression. European Psychiatry, 56(1), 4350.CrossRefGoogle ScholarPubMed
Hallensleben, N., Spangenberg, L., Forkmann, T., Rath, D., Hegerl, U., Kersting, A., … Glaesmer, H. (2017). Investigating the dynamics of suicidal ideation. Crisis, 39(1), 6569.CrossRefGoogle ScholarPubMed
Hill, R. M., Oosterhoff, B., & Kaplow, J. B. (2017). Prospective identification of adolescent suicide ideation using classification tree analysis: Models for community-based screening. Journal of Consulting and Clinical Psychology, 85(7), 702711.CrossRefGoogle ScholarPubMed
Husky, M., Swendsen, J., Ionita, A., Jaussent, I., Genty, C., & Courtet, P. (2017). Predictors of daily life suicidal ideation in adults recently discharged after a serious suicide attempt: A pilot study. Psychiatry Research, 256, 7984.CrossRefGoogle ScholarPubMed
Kennard, B. D., Goldstein, T., Foxwell, A. A., McMakin, D. L., Wolfe, K., Biernesser, C., … Wentroble, E. (2018). As safe as possible (ASAP): A brief app-supported inpatient intervention to prevent postdischarge suicidal behavior in hospitalized, suicidal adolescents. American Journal of Psychiatry, 175(9), 864872.CrossRefGoogle Scholar
King, C. A., Brent, D., Grupp-Phelan, J., Shenoi, R., Page, K., Mahabee-Gittens, E. M., … McGuire, T. C. (2020). Five profiles of adolescents at elevated risk for suicide attempts: Differences in mental health service use. Journal of the American Academy of Child & Adolescent Psychiatry, 59(9), 10581068.CrossRefGoogle ScholarPubMed
Kircanski, K., Thompson, R. J., Sorenson, J. E., Sherdell, L., & Gotlib, I. H. (2015). Rumination and worry in daily life: Examining the naturalistic validity of theoretical constructs. Clinical Psychological Science, 3(6), 926939.CrossRefGoogle ScholarPubMed
Kleiman, E. M., Glenn, C. R., & Liu, R. T. (2019). Real-time monitoring of suicide risk among adolescents: Potential barriers, possible solutions, and future directions. Journal of Clinical Child & Adolescent Psychology, 48(6), 934946.CrossRefGoogle ScholarPubMed
Kleiman, E. M., & Nock, M. K. (2018). Real-time assessment of suicidal thoughts and behaviors. Current Opinion in Psychology, 22, 3337.CrossRefGoogle ScholarPubMed
Kleiman, E. M., Turner, B. J., Fedor, S., Beale, E. E., Huffman, J. C., & Nock, M. K. (2017). Examination of real-time fluctuations in suicidal ideation and its risk factors: Results from two ecological momentary assessment studies. Journal of Abnormal Psychology, 126(6), 726738.CrossRefGoogle ScholarPubMed
Klonsky, E. D., & May, A. M. (2015). The three-step theory (3ST): A new theory of suicide rooted in the “ideation-to-action” framework. International Journal of Cognitive Therapy, 8(2), 114129.CrossRefGoogle Scholar
Miché, M., Studerus, E., Meyer, A. H., Gloster, A. T., Beesdo-Baum, K., Wittchen, H., & Lieb, R. (2020). Prospective prediction of suicide attempts in community adolescents and young adults, using regression methods and machine learning. Journal of Affective Disorders, 265, 570578.CrossRefGoogle Scholar
Nahum-Shani, I., Hekler, E. B., & Spruijt-Metz, D. (2015). Building health behavior models to guide the development of just-in-time adaptive interventions: A pragmatic framework. Health Psychology, 34(S), 12091219.CrossRefGoogle Scholar
Nahum-Shani, I., Smith, S. N., Spring, B. J., Collins, L. M., Witkiewitz, K., Tewari, A., & Murphy, S. A. (2018). Just-in-time adaptive interventions (JITAIs) in mobile health: Key components and design principles for ongoing health behavior support. Annals of Behavioral Medicine, 52(6), 446462.CrossRefGoogle ScholarPubMed
Nock, M. K., Prinstein, M. J., & Sterba, S. K. (2009). Revealing the form and function of self-injurious thoughts and behaviors: A real-time ecological assessment study among adolescents and young adults. Journal of Abnormal Psychology, 118(4), 816827.CrossRefGoogle ScholarPubMed
Posner, K., Brown, G. K., Stanley, B., Brent, D. A., Yershova, K. V., Oquendo, M. A., … Shen, S. (2011). The Columbia–suicide severity rating scale: Initial validity and internal consistency findings from three multisite studies with adolescents and adults. American Journal of Psychiatry, 168(12), 12661277.CrossRefGoogle ScholarPubMed
Prinstein, M. J., Nock, M. K., Simon, V., Aikins, J. W., Cheah, C. S., & Spirito, A. (2008). Longitudinal trajectories and predictors of adolescent suicidal ideation and attempts following inpatient hospitalization. Journal of Consulting and Clinical Psychology, 76(1), 92103.CrossRefGoogle ScholarPubMed
Ribeiro, J. D., Bender, T. W., Selby, E. A., Hames, J. L., & Joiner, T. E. (2011). Development and validation of a brief self-report measure of agitation: The brief agitation measure. Journal of Personality Assessment, 93(6), 597604.CrossRefGoogle ScholarPubMed
Ribeiro, J. D., Franklin, J. C., Fox, K. R., Bentley, K. H., Kleiman, E. M., Chang, B. P., & Nock, M. K. (2016). Self-injurious thoughts and behaviors as risk factors for future suicide ideation, attempts, and death: A meta-analysis of longitudinal studies. Psychological Medicine, 46(2), 225236.CrossRefGoogle Scholar
Ribeiro, J. D., Huang, X., Fox, K. R., Walsh, C. G., & Linthicum, K. P. (2019). Predicting imminent suicidal thoughts and nonfatal attempts: The role of complexity. Clinical Psychological Science, 7(5), 941957.CrossRefGoogle Scholar
Roberts, D. R., Bahn, V., Ciuti, S., Boyce, M. S., Elith, J., Guillera-Arroita, G., … Thuiller, W. (2017). Cross-validation strategies for data with temporal, spatial, hierarchical, or phylogenetic structure. Ecography, 40(8), 913929.CrossRefGoogle Scholar
Robin, X., Turck, N., Hainard, A., Tiberti, N., Lisacek, F., Sanchez, J. C., & Müller, M. (2011). pROC: An open-source package for R and S + to analyze and compare ROC curves. BMC Bioinformatics, 12(1), 18.CrossRefGoogle Scholar
Rudd, M. D., Berman, A. L., Joiner, T. E., Nock, M. K., Silverman, M. M., Mandrusiak, M., … Witte, T. (2006). Warning signs for suicide: Theory, research, and clinical applications. Suicide and Life-Threatening Behavior, 36(3), 255262.CrossRefGoogle ScholarPubMed
Shiffman, S., Stone, A. A., & Hufford, M. R. (2008). Ecological momentary assessment. Annual Review of Clinical Psychology, 4, 132.CrossRefGoogle ScholarPubMed
Shneidman, E. S. (1993). Suicide as psychache: A clinical approach to self-destructive behavior. Northvale, NJ: Jason Aronson, Inc.Google Scholar
Thabtah, F., Hammoud, S., Kamalov, F., & Gonsalves, A. (2020). Data imbalance in classification: Experimental evaluation. Information Sciences, 513, 429441.CrossRefGoogle Scholar
Torous, J., Larsen, M. E., Depp, C., Cosco, T. D., Barnett, I., Nock, M. K., & Firth, J. (2018). Smartphones, sensors, and machine learning to advance real-time prediction and interventions for suicide prevention: A review of current progress and next steps. Current Psychiatry Reports, 20(7), 49.CrossRefGoogle ScholarPubMed
Van Orden, K. A., Cukrowicz, K. C., Witte, T. K., & Joiner, T. E. Jr (2012). Thwarted belongingness and perceived burdensomeness: Construct validity and psychometric properties of the interpersonal needs questionnaire. Psychological Assessment, 24(1), 197215.CrossRefGoogle ScholarPubMed
Van Orden, K. A., Witte, T. K., Cukrowicz, K. C., Braithwaite, S. R., Selby, E. A., & Joiner, T. E. Jr (2010). The interpersonal theory of suicide. Psychological Review, 117(2), 575.CrossRefGoogle ScholarPubMed
Walsh, C. G., Ribeiro, J. D., & Franklin, J. C. (2017). Predicting risk of suicide attempts over time through machine learning. Clinical Psychological Science, 5(3), 457469.CrossRefGoogle Scholar
Walsh, C. G., Ribeiro, J. D., & Franklin, J. C. (2018). Predicting suicide attempts in adolescents with longitudinal clinical data and machine learning. Journal of Child Psychology and Psychiatry, 59(12), 12611270.CrossRefGoogle ScholarPubMed
Wang, L., & Miller, L. C. (2020). Just-in-the-moment adaptive interventions (JITAI): A meta-analytical review. Health Communication, 35(12), 15311544.CrossRefGoogle Scholar
Wang, S. B., Coppersmith, D. D., Kleiman, E. M., Bentley, K. H., Millner, A. J., Fortgang, R., … Nock, M. K. (2021). A pilot study using frequent inpatient assessments of suicidal thinking to predict short-term postdischarge suicidal behavior. JAMA Network Open, 4(3), e210591.CrossRefGoogle ScholarPubMed
Wenzel, A., & Beck, A. T. (2008). A cognitive model of suicidal behavior: Theory and treatment. Applied and Preventive Psychology, 12(4), 189201.CrossRefGoogle Scholar
Wolff, J. C., Davis, S., Liu, R. T., Cha, C. B., Cheek, S. M., Nestor, B. A., … Spirito, A. (2018). Trajectories of suicidal ideation among adolescents following psychiatric hospitalization. Journal of Abnormal Child Psychology, 46(2), 355363.CrossRefGoogle ScholarPubMed
Yen, S., Spirito, A., Weinstock, L. M., Tezanos, K., Kolobaric, A., & Miller, I. (2019). Coping long term with active suicide in adolescents: Results from a pilot randomized controlled trial. Clinical Child Psychology and Psychiatry, 24(4), 847859.CrossRefGoogle ScholarPubMed
Yen, S., Weinstock, L. M., Andover, M. S., Sheets, E. S., Selby, E. A., & Spirito, A. (2013). Prospective predictors of adolescent suicidality: 6-month post-hospitalization follow-up. Psychological Medicine, 43(5), 983993.CrossRefGoogle ScholarPubMed
Figure 0

Fig. 1. Prediction rule for next-day suicidal ideation.Notes: SI = Next-day suicidal ideation; CM = Cumulative person-specific mean; CS = Change score (deviation from the person-specific mean); Bolded numbers are added to denote nodes for ease of interpretation (see Table 2 for interpretation).

Figure 1

Table 1. Performance metrics for models predicting next-day suicidal ideation

Figure 2

Table 2. Interpretation of the best-performing model shown in Fig. 1

Figure 3

Fig. 2. Prediction rule for next-day suicidal ideation excluding previous-day ideation duration.Notes: SI = Next-day suicidal ideation; CM = Cumulative person-specific mean; CS = Change score (deviation from the person-specific mean); Bolded numbers are added to denote nodes for ease of interpretation (see Supplementary Table S2 for interpretation).

Figure 4

Table 3. Performance metrics for models predicting next-day suicidal ideation excluding suicidal ideation duration as a predictor

Supplementary material: File

Czyz et al. supplementary material

Tables S1-S2
Download Czyz et al. supplementary material(File)
File 16.2 KB