{
  "_meta": {
    "name": "GlycemicNIMargin-Kor margin preset library",
    "version": "1.0",
    "date": "2026-05-17",
    "disclaimer": "참고용 합성/문헌 기반 프리셋. 실제 시험 설계 시 최신 규제 가이던스와 생물통계학자 검토 필수.",
    "notes": "SD/상관 값은 공개 당뇨 RCT 메타분석 및 가이던스에서 흔히 인용되는 대표값(round number). 실제 적용 시 자사 과거 데이터로 갱신할 것."
  },
  "endpoints": {
    "hba1c": {
      "label": "HbA1c (당화혈색소)",
      "unit": "%",
      "direction": "lower_is_better",
      "typical_sd": 1.0,
      "typical_baseline": 8.0,
      "conventional_margin": 0.4,
      "margin_range": [0.3, 0.5],
      "preserved_fraction_default": 0.5,
      "sources": [
        "ICH E10 (2001) - 비열등성/활성대조 설계 원칙",
        "FDA Guidance for Industry: Diabetes Mellitus - Evaluating Drugs and Biologics (2008/2020 draft) - HbA1c NI margin 0.3~0.4% 관례",
        "EMA Guideline on clinical investigation of medicinal products in diabetes mellitus (CPMP/EWP/1080/00 Rev.2, 2018) - NI margin 0.3~0.4%"
      ]
    },
    "fpg": {
      "label": "공복혈장혈당 (FPG)",
      "unit": "mg/dL",
      "direction": "lower_is_better",
      "typical_sd": 35.0,
      "typical_baseline": 160.0,
      "conventional_margin": 15.0,
      "margin_range": [10.0, 20.0],
      "preserved_fraction_default": 0.5,
      "sources": [
        "FDA Diabetes Guidance - FPG는 보조 endpoint, HbA1c와 일관성 평가",
        "당뇨 RCT 메타분석에서 FPG SD 30~40 mg/dL 흔히 인용"
      ]
    },
    "cgm_tir": {
      "label": "CGM Time-in-Range (목표범위 시간비율, 70-180 mg/dL)",
      "unit": "%",
      "direction": "higher_is_better",
      "typical_sd": 18.0,
      "typical_baseline": 55.0,
      "conventional_margin": 5.0,
      "margin_range": [3.0, 7.0],
      "preserved_fraction_default": 0.5,
      "sources": [
        "Battelino T, et al. Diabetes Care 2019 - International Consensus on TIR (TIR 5% 변화 = 임상적으로 의미있음)",
        "FDA/규제 동향: CGM 지표(TIR) 2차/탐색 endpoint로 채택 증가, NI margin 표준화 미확립 - 보수적으로 3~5%p 적용"
      ]
    },
    "severe_hypo_rate": {
      "label": "중증 저혈당 발생률 (event rate, per patient-year)",
      "unit": "events/PY",
      "direction": "lower_is_better",
      "typical_sd": 0.8,
      "typical_baseline": 0.3,
      "conventional_margin": 0.2,
      "margin_range": [0.1, 0.3],
      "preserved_fraction_default": 0.5,
      "sources": [
        "안전성 endpoint - 비율차이/위험비 기반, 본 도구에서는 근사적으로 연속형 t-test 표본수로 처리(보수적)",
        "실제 설계 시 Poisson/negative-binomial 모형 권장"
      ]
    }
  },
  "joint_correlations": {
    "hba1c_cgm_tir": {
      "label": "HbA1c - CGM TIR 상관계수",
      "typical_r": -0.7,
      "abs_r_for_power": 0.7,
      "sources": [
        "Beck RW, et al. Diabetes Care 2019 - TIR과 HbA1c 강한 음의 상관 (r 약 -0.7 전후)",
        "Vigersky RA, McMahon C. Diabetes Technol Ther 2019 - TIR-A1c 관계"
      ]
    },
    "hba1c_fpg": {
      "label": "HbA1c - FPG 상관계수",
      "typical_r": 0.6,
      "abs_r_for_power": 0.6,
      "sources": [
        "당뇨 코호트에서 HbA1c-FPG 상관 r 약 0.5~0.7"
      ]
    }
  },
  "longitudinal_defaults": {
    "visit_weeks": [0, 12, 24, 52],
    "ar1_rho_default": 0.6,
    "dropout_rate_default": 0.15,
    "comment": "AR(1) 자기상관 rho는 인접 방문 간 상관. 당뇨 종단 시험에서 0.5~0.7 흔함."
  }
}
