data/extracted/documentation_facts_v0.8.0.json
Use this file in any AI chat (paste-only or attachment-capable):
Pinned raw file: https://openislet.org/files/gen-eb955f8266035aba/data/extracted/documentation_facts_v0.8.0.json · SHA-256: 0a9126c29a3e847e…
// RFC 6901 JSON Pointer: /layer1/protocol/statistical_analysis_and_power_plan
{
"linear_mixed_effects_model_specification": "Y_{ijkd} = x_i^T * beta + u_clone(g(i),j) + b_batch(k) + v_donor(d) + epsilon_{ijkd}, where x_i in R^23 is the coded design row [1, X1..X6, 15 2FIs, stage_block_B], u_clone(g(i),j) ~ N(0, sigma_clone^2) is the random intercept for independently edited hPSC clone j of genotype g(i) (preventing clonal pseudo-replication), b_batch(k) ~ N(0, sigma_batch^2) is the differentiation batch random effect, v_donor(d) ~ N(0, sigma_donor^2) is the PBMC/NK/macrophage donor random effect, and epsilon_{ijkd} ~ N(0, sigma_eps^2) is the residual assay error.",
"effective_run_level_variance_formula": "Defining sigma_eps = 7.0 percentage points (pp) as the donor-averaged clone-by-batch cell residual (averaged across n_donors = 3 immune donors after donor-block centering), averaging over n_clones = 3 clones and n_batches = 2 differentiation batches per run yields effective run-mean variance sigma_run^2 = sigma_clone^2 / n_clones + sigma_eps^2 / (n_clones * n_batches) = 8.0^2 / 3 + 7.0^2 / 6 = 177/6 = 29.50 pp^2 -> sigma_run = 5.43 pp (whereas if 7.0 pp represents the single-donor well residual epsilon_{ijkd}, averaging across n_donors = 3 donors gives sigma_run,3donors = sqrt(8.0^2 / 3 + 7.0^2 / (3 * 2 * 3)) = sqrt(433/18) = 4.90 pp; and single-clone pseudo-replication n_clones = 1 would inflate sigma_run to sqrt(8.0^2 + 7.0^2/2) = 9.41 pp). Both Mode 1 (108 independent run-nested clone differentiations, Cov(Y_bar) = sigma_run^2 * I_36) and Mode 2 (75 shared-genotype clones across 25 distinct genotypes, Cov(Y_bar) = (sigma_clone^2 / n_clones) * Z Z^T + (sigma_eps^2 / (n_clones * n_batches)) * I_36 with exact GLS and OLS sandwich SEs) are reported below.",
"minimum_detectable_effects_at_80pct_power": {
"stage_by_main_interaction_and_batch_covariance_qualification_ultracode_v80_12": {
"stage_by_main_29col_expansion": {
"n_rows": 36,
"n_columns_including_6_stage_by_main_interactions": 29,
"exact_rational_rank": 25,
"rank_deficiency": 4,
"tier1_16run_rank": 14,
"tier1_plus_unreplicated_tier2_26run_rank_23col": 23,
"active_tier1_main_effect_columns_note": "All 6 main effects (X1..X6) are active and clear of 2FIs in the 16-run Tier-1 screening block (rank 14/22); adding the 8 Tier-2 de-aliasing genotypes + 2 bridge controls (26 runs) or the full replicated 36-run table achieves full rank 22/22 (genetic) and 23/23 (with stage_block_B), whereas the 29-column expansion [I, X1..X6, 15 2FIs, B, B*X1..B*X6] has rank 25/29 (deficiency 4) in the 36-run design, rank 26/29 (deficiency 3) in the 38-run 4-bridge upgrade, and achieves full rank 29/29 with a minimum of 4 extra Stage-1 bridge runs (6 bridges total, 40 runs; e.g. Runs 01, 16, 02, 03, 04, 05) or in the 8-bridge 42-run upgrade (Findings 021, 075, 084).",
"identifiability_note": "The two inter-stage bridge genotypes (Runs 01/25 and Runs 16/26) together with the Stage-1 de-aliasing and lead runs (Runs 17-24, 27-36) jointly identify the additive stage shift B (where genetic columns X1..X6 and 15 2FIs use {-1, +1} coding [full High-minus-Low contrast = 2*beta_j] while stage_block_B uses 0/1 indicator coding [0 = Stage 0 Runs 01-16, 1 = Stage 1 Runs 17-36, so beta_B is already the full Stage-1 minus Stage-0 shift], giving rank([X | B]) = 23/23 and projection residual SSR_B = ||(I - H_22) B||_2^2 = 202/139 = 1.4532 in 0/1 stage indicator coding [Var(beta_B) = 139/202 * sigma^2 = 0.688119 * sigma^2, SE(beta_B) = 0.8295 * sigma, MDE(beta_B) = 2.514 * sigma at df=13]; note that the two matched inter-stage bridge pairs alone contribute 1.0000 of the 1.4532 SSR_B in 0/1 indicator coding [68.81% of precision, with the remaining 63/139 = 0.4532 from the 18 non-bridge Stage-1 runs (Runs 17-24, 27-36); in {-1, +1} stage coding where B_pm = 2*B_01 - 1, SSR_B_pm = 4*SSR_B = 808/139 = 5.8129 with bridge sum 4.0000]), whereas adding all 6 stage x main-effect terms B*X1..B*X6 yields 29 columns with exact rank 25/29 (identifiability of the 23-column model assumes genetic main effects and 2FIs are invariant across Stage 0 and Stage 1 blocks, or requires concurrent single-stage blocking / >=6 bridge genotypes in a >=40-run design; AUDIT-REF & AUDIT-REF)."
},
"differentiation_batch_random_intercept_sensitivity_sweep": {
"batch_sd_0p0_pp": {
"assumed_common_differentiation_batch_sd_pp": 0,
"batches_per_stage": 2,
"within_stage_batch_covariance_model": "COMPLETE_RUN_BY_BATCH_CROSSING_STAGE_COMMON_AVERAGE_TAU2_OVER_2",
"main_effect_half_effect_beta_gls_se_range_pp": [
1.2651,
1.3455
],
"two_factor_interaction_half_effect_beta_gls_se_range_pp": [
1.8053,
4.0857
],
"stage_block_B_gls_se_pp": 2.7464,
"stage1_split_batch_s1a_vs_s1b_incidence_2batch_residual_gls_se_sol61_r3": {
"covariance_mode": "MODE2_75_SHARED_GENOTYPE_CLONES_ACROSS_25_GENOTYPES",
"main_effect_half_effect_beta_gls_se_range_pp": [
1.2651,
1.3455
],
"two_factor_interaction_half_effect_beta_gls_se_range_pp": [
1.8053,
4.0857
],
"stage_block_B_gls_se_pp": 2.7464
},
"stage1_split_batch_s1a_vs_s1b_incidence_1batch_stage1_residual_gls_se_sol61_r3": {
"covariance_mode": "MODE2_75_SHARED_GENOTYPE_CLONES_ACROSS_25_GENOTYPES",
"main_effect_half_effect_beta_gls_se_range_pp": [
1.2799,
1.3498
],
"two_factor_interaction_half_effect_beta_gls_se_range_pp": [
1.9108,
4.5336
],
"stage_block_B_gls_se_pp": 3.2821
},
"stage1_split_batch_s1a_vs_s1b_mode1_independent_run_nested_clones_2batch_residual_gls_se_kimi31_r3": {
"covariance_mode": "MODE1_108_INDEPENDENT_RUN_NESTED_CLONE_DIFFERENTIATIONS",
"main_effect_half_effect_beta_gls_se_range_pp": [
1.2346,
1.3065
],
"two_factor_interaction_half_effect_beta_gls_se_range_pp": [
1.4489,
4.6628
],
"stage_block_B_gls_se_pp": 4.5055
},
"stage1_split_batch_s1a_vs_s1b_mode1_independent_run_nested_clones_1batch_stage1_residual_gls_se_kimi31_r3": {
"covariance_mode": "MODE1_108_INDEPENDENT_RUN_NESTED_CLONE_DIFFERENTIATIONS",
"main_effect_half_effect_beta_gls_se_range_pp": [
1.2514,
1.3141
],
"two_factor_interaction_half_effect_beta_gls_se_range_pp": [
1.587,
5.015
],
"stage_block_B_gls_se_pp": 4.775
}
},
"batch_sd_2p5_pp": {
"assumed_common_differentiation_batch_sd_pp": 2.5,
"batches_per_stage": 2,
"within_stage_batch_covariance_model": "COMPLETE_RUN_BY_BATCH_CROSSING_STAGE_COMMON_AVERAGE_TAU2_OVER_2",
"main_effect_half_effect_beta_gls_se_range_pp": [
1.2651,
1.3455
],
"two_factor_interaction_half_effect_beta_gls_se_range_pp": [
1.8053,
4.0857
],
"stage_block_B_gls_se_pp": 3.7138,
"stage1_split_batch_s1a_vs_s1b_incidence_2batch_residual_gls_se_sol61_r3": {
"covariance_mode": "MODE2_75_SHARED_GENOTYPE_CLONES_ACROSS_25_GENOTYPES",
"main_effect_half_effect_beta_gls_se_range_pp": [
1.2655,
1.3461
],
"two_factor_interaction_half_effect_beta_gls_se_range_pp": [
1.8054,
4.0872
],
"stage_block_B_gls_se_pp": 3.7139
},
"stage1_split_batch_s1a_vs_s1b_incidence_1batch_stage1_residual_gls_se_sol61_r3": {
"covariance_mode": "MODE2_75_SHARED_GENOTYPE_CLONES_ACROSS_25_GENOTYPES",
"main_effect_half_effect_beta_gls_se_range_pp": [
1.2802,
1.3502
],
"two_factor_interaction_half_effect_beta_gls_se_range_pp": [
1.9109,
4.5345
],
"stage_block_B_gls_se_pp": 4.1258
},
"stage1_split_batch_s1a_vs_s1b_mode1_independent_run_nested_clones_2batch_residual_gls_se_kimi31_r3": {
"covariance_mode": "MODE1_108_INDEPENDENT_RUN_NESTED_CLONE_DIFFERENTIATIONS",
"main_effect_half_effect_beta_gls_se_range_pp": [
1.2359,
1.3086
],
"two_factor_interaction_half_effect_beta_gls_se_range_pp": [
1.4499,
4.6648
],
"stage_block_B_gls_se_pp": 5.154
},
"stage1_split_batch_s1a_vs_s1b_mode1_independent_run_nested_clones_1batch_stage1_residual_gls_se_kimi31_r3": {
"covariance_mode": "MODE1_108_INDEPENDENT_RUN_NESTED_CLONE_DIFFERENTIATIONS",
"main_effect_half_effect_beta_gls_se_range_pp": [
1.2526,
1.3159
],
"two_factor_interaction_half_effect_beta_gls_se_range_pp": [
1.5876,
5.0166
],
"stage_block_B_gls_se_pp": 5.391
}
},
"batch_sd_5p0_pp": {
"assumed_common_differentiation_batch_sd_pp": 5,
"batches_per_stage": 2,
"within_stage_batch_covariance_model": "COMPLETE_RUN_BY_BATCH_CROSSING_STAGE_COMMON_AVERAGE_TAU2_OVER_2",
"main_effect_half_effect_beta_gls_se_range_pp": [
1.2651,
1.3455
],
"two_factor_interaction_half_effect_beta_gls_se_range_pp": [
1.8053,
4.0857
],
"stage_block_B_gls_se_pp": 5.7046,
"stage1_split_batch_s1a_vs_s1b_incidence_2batch_residual_gls_se_sol61_r3": {
"covariance_mode": "MODE2_75_SHARED_GENOTYPE_CLONES_ACROSS_25_GENOTYPES",
"main_effect_half_effect_beta_gls_se_range_pp": [
1.2655,
1.3462
],
"two_factor_interaction_half_effect_beta_gls_se_range_pp": [
1.8055,
4.0873
],
"stage_block_B_gls_se_pp": 5.7046
},
"stage1_split_batch_s1a_vs_s1b_incidence_1batch_stage1_residual_gls_se_sol61_r3": {
"covariance_mode": "MODE2_75_SHARED_GENOTYPE_CLONES_ACROSS_25_GENOTYPES",
"main_effect_half_effect_beta_gls_se_range_pp": [
1.2802,
1.3503
],
"two_factor_interaction_half_effect_beta_gls_se_range_pp": [
1.9109,
4.5347
],
"stage_block_B_gls_se_pp": 5.981
},
"stage1_split_batch_s1a_vs_s1b_mode1_independent_run_nested_clones_2batch_residual_gls_se_kimi31_r3": {
"covariance_mode": "MODE1_108_INDEPENDENT_RUN_NESTED_CLONE_DIFFERENTIATIONS",
"main_effect_half_effect_beta_gls_se_range_pp": [
1.2363,
1.3093
],
"two_factor_interaction_half_effect_beta_gls_se_range_pp": [
1.4502,
4.6655
],
"stage_block_B_gls_se_pp": 6.7319
},
"stage1_split_batch_s1a_vs_s1b_mode1_independent_run_nested_clones_1batch_stage1_residual_gls_se_kimi31_r3": {
"covariance_mode": "MODE1_108_INDEPENDENT_RUN_NESTED_CLONE_DIFFERENTIATIONS",
"main_effect_half_effect_beta_gls_se_range_pp": [
1.253,
1.3167
],
"two_factor_interaction_half_effect_beta_gls_se_range_pp": [
1.5879,
5.0173
],
"stage_block_B_gls_se_pp": 6.9151
}
}
}
},
"variance_assumptions": {
"sigma_clone_pp": 8,
"sigma_eps_donor_averaged_batch_cell_pp": 7,
"n_clones_per_genotype_or_run": 3,
"n_batches": 2,
"n_donors": 3,
"sigma_run_donor_averaged_batch_cell_pp": 5.43,
"sigma_run_if_7pp_is_per_donor_well_residual_divided_by_n_donors_pp": 4.9,
"clone_level_df_75_clones": 52,
"clone_level_df_108_clones": 85,
"n_distinct_design_rows_with_stage_indicator": 27,
"conservative_run_table_df_23col": 13,
"pure_error_df_within_stage_replicates_23col": 9,
"lack_of_fit_df_higher_order_interactions_23col": 4,
"conservative_run_table_df_22col": 14
},
"mode1_108_independent_run_nested_clones_exact_iid_run_covariance": {
"allocation_description": "3 independently derived/edited hPSC clones per run across all 36 runs (108 independent founder clone units total), yielding strictly diagonal Cov(Y_bar) = sigma_run^2 * I_36.",
"single_stage_22col_genetic_model": {
"tier1_16run_rank": 14,
"combined_36run_rank_22col": 22,
"main_effect_best_X1_to_X3": {
"var_multiplier_rational": "217/4448 (0.048786)",
"half_effect_beta_se_pp": 1.2,
"full_contrast_2beta_se_pp": 2.4,
"difference_of_differences_4beta_se_pp": 4.8,
"mde_80pct_power_2beta_normal_alpha_0_05_pp": 6.72,
"mde_80pct_power_2beta_t52_central_approx_alpha_0_05_pp": 6.85,
"mde_80pct_power_2beta_t52_alpha_0_05_pp": 6.85,
"mde_80pct_power_2beta_nct52_exact_alpha_0_05_pp": 6.85,
"mde_80pct_power_2beta_t13_central_approx_alpha_0_05_pp": 7.27,
"mde_80pct_power_2beta_t13_alpha_0_05_pp": 7.27,
"mde_80pct_power_2beta_nct13_exact_alpha_0_05_pp": 7.27,
"mde_80pct_power_2beta_bh_fdr_q_0_10_across_21_terms_pp": 8.79,
"mde_80pct_power_4beta_dod_normal_alpha_0_05_pp": 13.44,
"mde_80pct_power_4beta_dod_t52_alpha_0_05_pp": 13.7,
"mde_80pct_power_4beta_dod_nct52_exact_alpha_0_05_pp": 13.7,
"mde_80pct_power_4beta_dod_t13_alpha_0_05_pp": 14.54,
"mde_80pct_power_4beta_dod_nct13_exact_alpha_0_05_pp": 14.55,
"interaction_pairs": [
"X5"
],
"deprecated_key_alias_note": "Legacy key name retained for compatibility; actual min-variance main effect is X5 (see main_effect_best_X5)."
},
"main_effect_best_X5": {