iOS Sleep Factors Analysis

CapiSleep

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
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.

CapiSleep 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 what moves sleep

Review ranked factor–metric pairs with impact 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.

CapiSleep runs entirely on your iPhone — local storage, client-side statistical analysis. HealthKit data never leaves your device. No backend service, no analytics SDKs, no tracking.

iOS 18+ Offline-capable HealthKit stays local

Ready to discover what moves your sleep?

Start tracking factors and let the statistics reveal what actually matters.

Download on the App Store