iOS Sleep Factors Analysis

Capi

Discover how your routines, activity, medications, and daily choices relate to deep sleep, REM, awake time, and total rest.

  • HealthKit integration
  • Manual habit logging
  • Statistical correlation
  • Optional iCloud backup
Insight detail: Yoga vs Deep Sleep correlation with data distribution chart
Sleep Summary showing total sleep, deep, core, REM, and awake breakdown
Manual Events grid with logged habits like Aromatherapy, Caffeine, and Yoga

Turn daily sleep experiments
into ranked insights.

Capi combines quick manual logs with Apple Health data, then compares each factor against the sleep metrics you care about.

01

Log what HealthKit can't

Track caffeine, hot baths, yoga, aromatherapy, supplements, and custom factors in seconds. Binary, continuous, or ordinal — your choice.

02

Import the health context

Bring in sleep stages, activity, workouts, daylight exposure, medications, and other HealthKit signals automatically.

03

See which factors are associated with sleep

Review ranked factor–metric pairs with association direction, strength, and statistical confidence on a correlation dashboard.

Built for people who want the numbers — and the plain-English interpretation.

Binary, continuous, and ordinal factors are analyzed with methods matched to the data type. Independent t-tests, Pearson correlation, and Spearman's rank — each with result detail pages that keep correlation and causation separate.

28+ data points before analysis
r correlation strength
p significance testing
<3s 90-day analysis time

Designed around the actual sleep workflow.

Insight detail: data distribution comparing sleep with and without a factor
Inspect the distribution behind an insight.
Manual Events screen with tappable habit tiles
Log the habits you want to test.
Apple Health Events synced from HealthKit
Sync activity and lifestyle context.
Sleep Summary with stage breakdown and quality indicators
Track the sleep outcomes that matter.
Medications synced from Apple Health
Include HealthKit medication records.

Your sleep experiment stays personal.

Capi stores and analyzes data on your iPhone. HealthKit data never leaves your device. Optional iCloud Backup stores only event types and events you logged yourself in your personal iCloud account; Capi Labs cannot access that backup. The app has no advertising, analytics, or tracking SDKs.

iOS 18+ Offline-capable HealthKit stays local

Ready to discover patterns in your sleep?

Start tracking factors and see which patterns are associated with your sleep.

Download on the App Store