```json { "id": "RE_CDISCPILOT01_T5_WK24", "name": "CDISC Pilot - ADAS-Cog (11) Change from Baseline to Week 24 - LOCF (SAP Template 5)", "label": "SAP Template 5, Week 24", "version": "1", "description": "Reporting event for one display: SAP section 13.2 Template 5 run for Week 24. Source: SAP 1.2, 6, 7, 8.1, 10.1.1, 13.2 (p.23); ADaM define.xml dataset ADQSADAS.", "referenceDocuments": [ {"id": "RD_SAP", "name": "Statistical Analysis Plan (CDISC pilot)", "description": "Sections 1.2, 6, 7, 8.1, 10.1.1 (p.8, p.13) and 13.2 Template 5 (p.23)."}, {"id": "RD_DEFINE", "name": "ADaM define.xml (adam_define.xml)", "description": "Source of all dataset and variable bindings (ADQSADAS)."} ], "analysisSets": [ { "id": "AS_EFF", "name": "Efficacy Population", "label": "Efficacy", "level": 1, "order": 1, "description": "SAP 6: all patients randomized and took drug, with at least 1 post-baseline measure for both ADAS-Cog and CIBIC+. Bound to the ADQSADAS flag EFFFL = Y (assumed to implement this definition).", "condition": {"dataset": "ADQSADAS", "variable": "EFFFL", "comparator": "EQ", "value": ["Y"]} } ], "dataSubsets": [ { "id": "DS_ACTOT_WK24", "name": "ADAS-Cog (11) total, Week 24", "label": "ACTOT, Week 24", "level": 1, "order": 1, "description": "ADAS-Cog (11) total score records at the Week 24 analysis visit. The AVISIT value 'Week 24' is an assumption (taken from the template wording); the define.xml extract does not list AVISIT values.", "compoundExpression": { "logicalOperator": "AND", "whereClauses": [ {"level": 1, "order": 1, "condition": {"dataset": "ADQSADAS", "variable": "PARAMCD", "comparator": "EQ", "value": ["ACTOT"]}}, {"level": 1, "order": 2, "condition": {"dataset": "ADQSADAS", "variable": "AVISIT", "comparator": "EQ", "value": ["Week 24"]}} ] } } ], "analysisGroupings": [ { "id": "GF_TRT", "name": "Planned Treatment", "label": "Treatment group", "dataDriven": false, "description": "Three treatment groups in template column order (SAP 1.2, Template 5). Bound to TRTP.", "groupingDataset": "ADQSADAS", "groupingVariable": "TRTP", "groups": [ {"id": "GRP_PBO", "name": "Placebo", "level": 1, "order": 1, "condition": {"dataset": "ADQSADAS", "variable": "TRTP", "comparator": "EQ", "value": ["Placebo"]}}, {"id": "GRP_XLOW", "name": "Xanomeline Low Dose", "level": 1, "order": 2, "condition": {"dataset": "ADQSADAS", "variable": "TRTP", "comparator": "EQ", "value": ["Xanomeline Low Dose"]}}, {"id": "GRP_XHIGH", "name": "Xanomeline High Dose", "level": 1, "order": 3, "condition": {"dataset": "ADQSADAS", "variable": "TRTP", "comparator": "EQ", "value": ["Xanomeline High Dose"]}} ] } ], "methods": [ { "id": "MTH_SUMMARY", "name": "Summary statistics for a continuous variable", "description": "SAP 7: number of observations, mean, standard deviation, median, minimum, maximum. Template shows N; Mean (SD); Median (Range).", "documentRefs": [{"referenceDocumentId": "RD_SAP"}], "operations": [ {"id": "OP_N", "order": 1, "name": "n", "label": "N", "resultPattern": "XXX"}, {"id": "OP_MEAN", "order": 2, "name": "Mean", "label": "Mean", "resultPattern": "XX.X"}, {"id": "OP_SD", "order": 3, "name": "Standard deviation", "label": "SD", "resultPattern": "XX.XX"}, {"id": "OP_MEDIAN", "order": 4, "name": "Median", "label": "Median", "resultPattern": "XX.X"}, {"id": "OP_MIN", "order": 5, "name": "Minimum", "label": "Min", "resultPattern": "XX"}, {"id": "OP_MAX", "order": 6, "name": "Maximum", "label": "Max", "resultPattern": "XXX"} ] }, { "id": "MTH_ANCOVA_DR", "name": "ANCOVA dose-response test", "description": "SAP 10.1.1 and Template 5 footnote [1][2]: ANCOVA with baseline score, site and treatment as independent variables; treatment entered as a continuous variable (dose); test for a non-zero treatment coefficient. Two-sided, alpha 0.05. No interaction terms.", "documentRefs": [{"referenceDocumentId": "RD_SAP"}], "operations": [ {"id": "OP_DR_P", "order": 1, "name": "P-value (dose response)", "label": "P-value(Dose Response)", "resultPattern": "X.XXX"} ] }, { "id": "MTH_ANCOVA_PW", "name": "ANCOVA pairwise comparison of LS means", "description": "SAP 10.1.1 and Template 5 footnote [1][3]: ANCOVA with treatment (categorical), site and baseline ADAS-Cog (11) covariate; pairwise difference of LS means, p-values NOT adjusted for multiple comparisons. Two-sided, alpha 0.05. Performed per SAP only if the dose-response test is significant (gating not encoded in ARS; see list below).", "documentRefs": [{"referenceDocumentId": "RD_SAP"}], "operations": [ {"id": "OP_PW_P", "order": 1, "name": "P-value (pairwise)", "label": "P-value", "resultPattern": "X.XXX"}, {"id": "OP_PW_DIFF", "order": 2, "name": "Difference of LS means", "label": "Diff. of LS Means", "resultPattern": "XX.X"}, {"id": "OP_PW_SE", "order": 3, "name": "Standard error of difference", "label": "SE", "resultPattern": "X.XX"}, {"id": "OP_PW_LCL", "order": 4, "name": "95% CI lower limit", "label": "95% CI lower", "resultPattern": "XX.XX"}, {"id": "OP_PW_UCL", "order": 5, "name": "95% CI upper limit", "label": "95% CI upper", "resultPattern": "XX.XX"} ] } ], "analyses": [ { "id": "AN_BASE", "name": "ADAS-Cog (11) baseline summary", "dataset": "ADQSADAS", "variable": "BASE", "analysisSetId": "AS_EFF", "dataSubsetId": "DS_ACTOT_WK24", "methodId": "MTH_SUMMARY", "purpose": {"controlledTerm": "PRIMARY OUTCOME MEASURE"}, "reason": {"controlledTerm": "SPECIFIED IN SAP"}, "description": "Template 5 'Baseline' rows. Purpose value is an assumption (display supports the primary analysis; SAP does not label summaries separately).", "documentRefs": [{"referenceDocumentId": "RD_SAP"}], "orderedGroupings": [{"order": 1, "groupingId": "GF_TRT", "resultsByGroup": true}] }, { "id": "AN_WK24", "name": "ADAS-Cog (11) Week 24 summary (LOCF)", "dataset": "ADQSADAS", "variable": "AVAL", "analysisSetId": "AS_EFF", "dataSubsetId": "DS_ACTOT_WK24", "methodId": "MTH_SUMMARY", "purpose": {"controlledTerm": "PRIMARY OUTCOME MEASURE"}, "reason": {"controlledTerm": "SPECIFIED IN SAP"}, "description": "Template 5 'Week xx' rows. Missing Week 24 values imputed by LOCF (SAP 8.1, 10.1.1); how LOCF records are selected in ADQSADAS is not stated (see list below).", "documentRefs": [{"referenceDocumentId": "RD_SAP"}], "orderedGroupings": [{"order": 1, "groupingId": "GF_TRT", "resultsByGroup": true}] }, { "id": "AN_CHG", "name": "ADAS-Cog (11) change from baseline to Week 24 summary (LOCF)", "dataset": "ADQSADAS", "variable": "CHG", "analysisSetId": "AS_EFF", "dataSubsetId": "DS_ACTOT_WK24", "methodId": "MTH_SUMMARY", "purpose": {"controlledTerm": "PRIMARY OUTCOME MEASURE"}, "reason": {"controlledTerm": "SPECIFIED IN SAP"}, "description": "Template 5 'Change from Baseline' rows.", "documentRefs": [{"referenceDocumentId": "RD_SAP"}], "orderedGroupings": [{"order": 1, "groupingId": "GF_TRT", "resultsByGroup": true}] }, { "id": "AN_DR", "name": "ADAS-Cog (11) Week 24 ANCOVA dose-response test", "dataset": "ADQSADAS", "variable": "CHG", "analysisSetId": "AS_EFF", "dataSubsetId": "DS_ACTOT_WK24", "methodId": "MTH_ANCOVA_DR", "purpose": {"controlledTerm": "PRIMARY OUTCOME MEASURE"}, "reason": {"controlledTerm": "SPECIFIED IN SAP"}, "description": "Response CHG (assumed). Covariates: BASE (baseline), SITEID (site), TRTPN (dose, continuous; TRTPN 0/54/81 assumed to be the dose scale). SAP 10.1.1.", "documentRefs": [{"referenceDocumentId": "RD_SAP"}] }, { "id": "AN_PW_XLOW_PBO", "name": "Pairwise: Xanomeline Low Dose - Placebo", "dataset": "ADQSADAS", "variable": "CHG", "analysisSetId": "AS_EFF", "dataSubsetId": "DS_ACTOT_WK24", "methodId": "MTH_ANCOVA_PW", "purpose": {"controlledTerm": "PRIMARY OUTCOME MEASURE"}, "reason": {"controlledTerm": "SPECIFIED IN SAP"}, "description": "Contrast: GRP_XLOW minus GRP_PBO. Covariates BASE, SITEID; treatment TRTP as categorical. The contrast is carried in name/description only; the schema extract has no structured field for it.", "documentRefs": [{"referenceDocumentId": "RD_SAP"}], "orderedGroupings": [{"order": 1, "groupingId": "GF_TRT", "resultsByGroup": false}] }, { "id": "AN_PW_XHIGH_PBO", "name": "Pairwise: Xanomeline High Dose - Placebo", "dataset": "ADQSADAS", "variable": "CHG", "analysisSetId": "AS_EFF", "dataSubsetId": "DS_ACTOT_WK24", "methodId": "MTH_ANCOVA_PW", "purpose": {"controlledTerm": "PRIMARY OUTCOME MEASURE"}, "reason": {"controlledTerm": "SPECIFIED IN SAP"}, "description": "Contrast: GRP_XHIGH minus GRP_PBO. Covariates BASE, SITEID; treatment TRTP as categorical.", "documentRefs": [{"referenceDocumentId": "RD_SAP"}], "orderedGroupings": [{"order": 1, "groupingId": "GF_TRT", "resultsByGroup": false}] }, { "id": "AN_PW_XHIGH_XLOW", "name": "Pairwise: Xanomeline High Dose - Xanomeline Low Dose", "dataset": "ADQSADAS", "variable": "CHG", "analysisSetId": "AS_EFF", "dataSubsetId": "DS_ACTOT_WK24", "methodId": "MTH_ANCOVA_PW", "purpose": {"controlledTerm": "PRIMARY OUTCOME MEASURE"}, "reason": {"controlledTerm": "SPECIFIED IN SAP"}, "description": "Contrast: GRP_XHIGH minus GRP_XLOW. Covariates BASE, SITEID; treatment TRTP as categorical.", "documentRefs": [{"referenceDocumentId": "RD_SAP"}], "orderedGroupings": [{"order": 1, "groupingId": "GF_TRT", "resultsByGroup": false}] } ], "outputs": [ { "id": "OUT_T5_WK24", "name": "ADAS Cog (11) - Change from Baseline to Week 24 - LOCF", "description": "SAP Template 5 (p.23) for Week 24, Efficacy population.", "documentRefs": [{"referenceDocumentId": "RD_SAP"}], "displays": [ { "order": 1, "display": { "id": "DISP_T5_WK24", "name": "Table: ADAS Cog (11) CFB Week 24 LOCF", "displayTitle": "ADAS Cog (11) - Change from Baseline to Week 24 - LOCF", "displaySections": [ { "sectionType": "Title", "orderedSubSections": [ {"order": 1, "subSection": {"id": "SS_TITLE", "text": "ADAS Cog (11) - Change from Baseline to Week 24 - LOCF"}}, {"order": 2, "subSection": {"id": "SS_POP", "text": "Population: Efficacy"}} ] }, { "sectionType": "Footnote", "orderedSubSections": [ {"order": 1, "subSection": {"id": "SS_FN1", "text": "[1] Based on Analysis of covariance (ANCOVA) model with treatment and site as factors, and baseline ADAS Cog (11) value as a covariate."}}, {"order": 2, "subSection": {"id": "SS_FN2", "text": "[2] Test for a non-zero coefficient for treatment (dose) as a continuous variable."}}, {"order": 3, "subSection": {"id": "SS_FN3", "text": "[3] Pairwise comparison with treatment as a categorical variable: p-values without adjustment for multiple comparisons."}} ] } ] } } ] } ], "mainListOfContents": { "name": "Table of analyses", "contentsList": { "listItems": [ { "name": "ADAS Cog (11) - Change from Baseline to Week 24 - LOCF", "level": 1, "order": 1, "outputId": "OUT_T5_WK24", "sublist": { "listItems": [ {"name": "Baseline summary", "level": 2, "order": 1, "analysisId": "AN_BASE"}, {"name": "Week 24 summary", "level": 2, "order": 2, "analysisId": "AN_WK24"}, {"name": "Change from baseline summary", "level": 2, "order": 3, "analysisId": "AN_CHG"}, {"name": "Dose response", "level": 2, "order": 4, "analysisId": "AN_DR"}, {"name": "Xanomeline Low Dose - Placebo", "level": 2, "order": 5, "analysisId": "AN_PW_XLOW_PBO"}, {"name": "Xanomeline High Dose - Placebo", "level": 2, "order": 6, "analysisId": "AN_PW_XHIGH_PBO"}, {"name": "Xanomeline High Dose - Xanomeline Low Dose", "level": 2, "order": 7, "analysisId": "AN_PW_XHIGH_XLOW"} ] } } ] } } } ``` Nothing was added from habit beyond what the excerpts support. The purpose value on the summary analyses is a labeling choice (see below). **Could not determine from the excerpts** 1. The WhereClause object (its `level`, `order`, `condition` fields) is not in the schema extract. I used those fields from memory of ARS in the compound expression, so check them. 2. The AVISIT / AVISITN value for Week 24 is not given. "Week 24" is a guess, and the AVISITN number is unknown. 3. Whether EFFFL = Y exactly matches the SAP efficacy definition. The define.xml extract gives only the label "Efficacy Population Flag". 4. How LOCF records are flagged. I did not use ANL01FL or DTYPE in the subset, because the excerpts do not say whether the analysis records are ANL01FL = Y or DTYPE = LOCF. The SAP itself imputes at Week 24 only. 5. The ANCOVA response variable. I assumed CHG, based on the template title. The SAP says only "baseline score, site, treatment". 6. The dose scale for the continuous treatment term. I assumed TRTPN (0, 54, 81). The SAP does not say. 7. Whether each pairwise ANCOVA is fit on all three groups or only the two compared. Pairwise contrasts are encoded in analysis names and descriptions only, because the schema extract has no structured contrast field. 8. How to encode the SAP rule that pairwise comparisons are done only if the dose-response test is significant. ARS has no gating field in the extract, so it is stated only in the method description. 9. The method code templates, the `programmingCode`, and the results. These are not in the excerpts, so I left them out. 10. The `pageRefs` structure, and the locations of the SAP and define.xml. I put page numbers in descriptions instead. 11. The output file name, type and location (`fileSpecifications`), and any analysis output categories. 12. How the column header "N=xxx" is derived. I did not add an analysis for it. The excerpts do not give a separate N-count analysis. 13. Whether the purpose for the summary analyses should be PRIMARY OUTCOME MEASURE. I used it because SAP 10.1.1 calls the Week 24 ADAS-Cog analysis primary. 14. The result patterns, which I inferred from the template's "xx.x" strings. The Min/Max pattern and the SE pattern are guesses. 15. Rounding conventions, and the CIBIC+ analyses. CIBIC+ is outside this display.