Maintenance Notice

Due to necessary scheduled maintenance, the JMIR Publications website will be unavailable from Wednesday, July 01, 2020 at 8:00 PM to 10:00 PM EST. We apologize in advance for any inconvenience this may cause you.

Who will be affected?

Previously submitted to: JMIR Mental Health (no longer under consideration since Feb 05, 2026)

Date Submitted: Feb 3, 2026
Open Peer Review Period: Feb 5, 2026 - Feb 5, 2026
(closed for review but you can still tweet)

NOTE: This is an unreviewed Preprint

Warning: This is a unreviewed preprint (What is a preprint?). Readers are warned that the document has not been peer-reviewed by expert/patient reviewers or an academic editor, may contain misleading claims, and is likely to undergo changes before final publication, if accepted, or may have been rejected/withdrawn (a note "no longer under consideration" will appear above).

Peer review me: Readers with interest and expertise are encouraged to sign up as peer-reviewer, if the paper is within an open peer-review period (in this case, a "Peer Review Me" button to sign up as reviewer is displayed above). All preprints currently open for review are listed here. Outside of the formal open peer-review period we encourage you to tweet about the preprint.

Citation: Please cite this preprint only for review purposes or for grant applications and CVs (if you are the author).

Final version: If our system detects a final peer-reviewed "version of record" (VoR) published in any journal, a link to that VoR will appear below. Readers are then encourage to cite the VoR instead of this preprint.

Settings: If you are the author, you can login and change the preprint display settings, but the preprint URL/DOI is supposed to be stable and citable, so it should not be removed once posted.

Submit: To post your own preprint, simply submit to any JMIR journal, and choose the appropriate settings to expose your submitted version as preprint.

Warning: This is an author submission that is not peer-reviewed or edited. Preprints - unless they show as "accepted" - should not be relied on to guide clinical practice or health-related behavior and should not be reported in news media as established information.

Mental Health Crisis Detection via Shopping Behavior for Ecological Digital Phenotyping

  • Kapil Kumar Reddy Poreddy; 
  • Ajit Sahu; 
  • Sanjoy Mukherjee

ABSTRACT

Background:

Background:

Mental health crises occur in five out of every 20 adults throughout the year, but medical professionals do not detect 60% of these cases until the condition reaches its most severe point. Current psychiatric diagnosis relies on categorical frameworks and episodic clinical assessments, missing critical transitions in mental state and creating barriers to early intervention.

Objective:

: This research presents a privacy-preserving framework for continuous mental health crisis detection using digital shopping behavior. We introduce the Decision Paralysis–Impulsivity Spectrum (DPIS) as a transdiagnostic behavioral model grounded in dual-process neuroscience and demonstrate its application for detecting episodes of depression and anxiety through e-commerce behavioral signatures.

Methods:

We generated synthetic cohorts (N=12,847 participants) with embedded causal mechanisms producing 847,392 shopping sessions over 12 months. We extracted 67 behavioral features across five domains: temporal patterns, cart dynamics, purchase characteristics, search behavior, and interaction patterns. Machine learning models (XGBoost, Temporal Convolutional Networks, Random Forest) were trained with federated learning and differential privacy (ε=1.0, δ=10⁻⁵). Causal relationships were established through Granger causality analysis, instrumental variables regression, and propensity score matching.

Results:

The ensemble model achieved 85.3% sensitivity and 86.1% accuracy in detecting mental health crises 8-14 days before onset, with an AUC of 0.913 and 18.7% false positive rate. Granger causality analysis demonstrated that DPIS temporally precedes PHQ-9 changes (F=47.3, p<0.001). Instrumental variables regression controlling for confounders yielded a causal coefficient of β=4.2 (SE=0.7, p<0.001). The system maintained strong performance across demographic subgroups with no significant bias (Kruskal-Wallis H=2.31, p=0.68). Adaptive Personalized Differential Privacy improved utility by 23% compared to fixed-ε approaches while maintaining privacy guarantees.

Conclusions:

This work establishes Commercial Behavioral Psychiatry as a new interdisciplinary domain and demonstrates the feasibility of continuous, privacy-preserving mental health monitoring through ubiquitous e-commerce platforms. The DPIS framework provides a neurocognitively grounded, transdiagnostic alternative to categorical psychiatric diagnosis, enabling early intervention before crisis onset. With strong causal validation and robust privacy protections, this approach offers a scalable, stigma-free pathway to addressing the global mental health diagnostic gap.


 Citation

Please cite as:

Poreddy KKR, Sahu A, Mukherjee S

Mental Health Crisis Detection via Shopping Behavior for Ecological Digital Phenotyping

JMIR Preprints. 03/02/2026:92835

DOI: 10.2196/preprints.92835

URL: https://preprints.jmir.org/preprint/92835

Download PDF


Request queued. Please wait while the file is being generated. It may take some time.

© The authors. All rights reserved. This is a privileged document currently under peer-review/community review (or an accepted/rejected manuscript). Authors have provided JMIR Publications with an exclusive license to publish this preprint on it's website for review and ahead-of-print citation purposes only. While the final peer-reviewed paper may be licensed under a cc-by license on publication, at this stage authors and publisher expressively prohibit redistribution of this draft paper other than for review purposes.