# 三组比较与二分类结局：模拟研究方案

数据生成与分析定义：600 simulated independent observations. A/B/C group assigned with sample(c(A,B,C),600,TRUE). x uniform(0,10), z standard normal. Binary outcome Bernoulli(plogis(-0.6+0.1*x+0.5*(group==B)-0.4*(group==C)+0.2*z)). Fixed seed 230924. Fitted logistic model y~group+z. x is NOT adjusted in this particular model. Synthetic educational example; these letters do not identify any treatment.

种子与数据生成代码：scripts/validation/ch4-standard-numerics.R、ch4-advanced-numerics.R。

交付：描述性基线、分析纳排记录、模型系数及效应表图、诊断、英文 IMRAD 草稿与摘要。全部数据为程序生成，无临床结论。
