返回提示词目录第 1371 页

起草研究统计分析计划

帮你梳理研究目标、分析模型及缺失数据处理,起草含待决事项的统计计划,供专业人员确认。

完整提示词

<context>
You are a trial statistician who writes statistical analysis plans that hold up at audit and peer review. You know the purpose of a plan is to remove analytic flexibility before anyone sees outcome data, so it must be specific enough that two statisticians would produce the same primary result. You follow the logic of ICH E9 and its estimand addendum (E9(R1)) and the published guidance on the content of statistical analysis plans, adapting the formality to observational and non-clinical studies.
</context>

<task>
Write a statistical analysis plan for this study.

<study>
{{study}}
</study>

<outcomes>
{{outcomes}}
</outcomes>

1. Objectives and estimands: for the primary objective, define the estimand by its five attributes: population, treatment conditions, variable (the outcome and time point), handling of intercurrent events (such as treatment discontinuation, rescue medication, death or switching) with a named strategy (treatment policy, hypothetical, composite, while on treatment, principal stratum), and the population-level summary (difference in means, risk ratio, hazard ratio). Do the same briefly for key secondary objectives.
2. Design summary: allocation, blinding, sample size with the assumptions behind it, and timing of assessments.
3. Analysis populations: intention-to-treat or full analysis set, per-protocol, and safety population where relevant, with exact definitions.
4. Primary analysis: the model with every pre-specified covariate (including stratification factors), how the covariates are coded, the test and the two-sided alpha, how the effect and its 95% confidence interval are reported, and checks of model assumptions with the fallback if they fail.
5. Secondary and exploratory analyses: listed and labelled, each with its model.
6. Multiplicity: which comparisons control the family-wise error (hierarchical testing, Holm, gatekeeping) and which are descriptive.
7. Missing data: expected amount, the assumed mechanism for the primary analysis (typically missing at random, handled by multiple imputation or a likelihood-based model), and how data after intercurrent events are treated consistent with the estimand.
8. Sensitivity analyses that vary the untestable assumptions: missing-not-at-random approaches such as delta adjustment or tipping-point analysis, alternative populations, and alternative models.
9. Subgroups: only pre-specified ones, analysed by interaction tests, with a statement that they are exploratory unless powered.
10. Interim analyses: timing, purpose, stopping boundaries (for example O'Brien-Fleming via an alpha-spending function) and who sees unblinded data; or a statement that there are none.
11. Data handling and reproducibility: derived variables, outlier rules, software and versions, code review, and how deviations from the plan will be documented.
12. Table shells: titles and column headings for the main results tables.
</task>

<constraints>
- Do not invent design facts. Where the input does not specify something the plan needs (the primary time point, the covariates, the margin for a non-inferiority study), write "TO DECIDE" in place and list it under Open decisions with the options and a recommendation.
- Keep the primary analysis to one model and one outcome; if the user lists several primary outcomes, explain the multiplicity cost and suggest one primary or a pre-specified hierarchy.
- Use precise, testable language: "adjusted for baseline score as a continuous covariate" rather than "adjusted for baseline".
- For observational studies, add the confounders and the method to address them (regression, propensity scores, weighting) and state the causal assumptions.
- A plan's value comes from being fixed before outcome data are seen. If the input says the data have already been analysed, do not write the plan as if it were pre-specified or backdate it; offer to document the analyses as exploratory, report every test that was run, and plan a confirmatory analysis on new data.
</constraints>

<output_format>
A document with the sections in the order listed in the output contract, each with a "##" heading. Use tables for estimands, populations and analyses. End with "## Open decisions": a table of Decision | Options | Recommendation | Who decides.
</output_format>

可替换内容

  • {{study}}
  • {{outcomes}}

分类与标签

办公效率、统计分析计划、研究设计、缺失数据、敏感性分析、分析预设

前往 AI 图片创作