Digital Phenotyping & Ecological Momentary Assessment

Real-Time Mobile Sensing &
Affective Psychological Analytics

An end-to-end framework pairing background smartphone telemetry with micro-interval Ecological Momentary Assessments (< 2 min) and dynamic R Shiny correlation dashboards.

Step 01 • Target
Instagram
User launches and interacts with social media app.
Step 02 • Sensing
Passive Logger
Tracks scroll velocity, touch gesture frequency, & dwell time.
Step 03 • EMA Prompt
Active EMA
Triggers micro-survey within 2 mins of session exit.
Step 04 • Analytics
R Shiny Dashboard
Merges logs, plots distributions & calculates correlations.

System Architecture & Components

Modular design featuring two lightweight Android client applications and an R Shiny data engine.

Passive Behavior Logger

Runs quietly in the background to capture high-precision touch dynamics, scroll direction/speed, and session dwell times without battery drain.

Active EMA Prompt App

Monitors session end signals and prompts targeted 4-item Likert micro-surveys measuring Happiness, Anxiety, Connectedness, and Productivity.

R Shiny Analytics Hub

Integrates CSV/telemetry streams, aligns timeline timestamps, generates distribution plots, and computes behavioral-psychological matrixes.