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.
Dots are estimates, bars their 95% intervals; the dashed line is zero (no difference between the groups).| analysis | families | Group A measured | Group B measured | Group A missing | Group B missing | Difference (z) | 95% CI low | 95% CI high |
|---|
| within families | 4 | – | – | – | – | 1.96 | 0.45 | 3.47 |
| pooled, ignoring families | 16 | 5 | 33 | 3 | 0 | 2.56 | 0.98 | 4.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.