Prototype · synthetic data only

Research Questions Explorer

Run each research question on the synthetic cohort and change its settings. Every number here comes from invented data.

Phase C. Family-aware comparison

Pilot task

Pilot phase C asks for a family-aware comparison. Relatives share genes and environment, so pooling everyone overstates the evidence: does a marker still differ once each family is compared with itself?

Each family with people in both groups gives one difference between its group means, and the interval counts families, not people. The pooled row ignores families, for comparison. Values are age-adjusted z-scores before onset, one mean per person, blood relatives only.

Group A minus group B, within families and pooled, with the people missing a value.

within families1.96pooled, ignoring families2.5601234
Dots are estimates, bars their 95% intervals; the dashed line is zero (no difference between the groups).
analysisfamiliesGroup A measuredGroup B measuredGroup A missingGroup B missingDifference (z)95% CI low95% CI high
within families4––––1.960.453.47
pooled, ignoring families16533302.560.984.14
Rerun this result
psql "$DATABASE_URL" -f queries/c2_family_comparison.sql

Code version 59c4d58, run in prototype/. The cohort is regenerated from config.toml with a fixed seed, so the same code version gives the same numbers.