```json { "id": "RE_CDISCPILOT01_T5_ADAS_WK24", "name": "CDISCPILOT01 Template 5, ADAS-Cog (11) change from baseline to Week 24, LOCF", "version": "1", "label": "SAP Template 5 run for Week 24", "description": "Reporting event for one display only: SAP 13.2 Template 5 with xx = 24. Source: SAP sections 1.2, 6, 7, 8.1, 10.1.1, 13.2 and the ADQSADAS define.xml extract.", "referenceDocuments": [ {"id": "RD_SAP", "name": "Statistical Analysis Plan", "location": "not given in excerpts"} ], "analysisSets": [ { "id": "AS_EFF", "name": "Efficacy population", "label": "Efficacy", "level": 1, "order": 1, "condition": {"dataset": "ADQSADAS", "variable": "EFFFL", "comparator": "EQ", "value": ["Y"]} } ], "analysisGroupings": [ { "id": "AnlsGrouping_TRTP", "name": "Planned treatment", "label": "Treatment group", "groupingDataset": "ADQSADAS", "groupingVariable": "TRTP", "dataDriven": false, "groups": [ {"id": "Grp_Pbo", "name": "Placebo", "label": "Placebo", "level": 1, "order": 1, "condition": {"dataset": "ADQSADAS", "variable": "TRTP", "comparator": "EQ", "value": ["Placebo"]}}, {"id": "Grp_XanLow", "name": "Xanomeline Low Dose", "label": "Xanomeline Low Dose", "level": 1, "order": 2, "condition": {"dataset": "ADQSADAS", "variable": "TRTP", "comparator": "EQ", "value": ["Xanomeline Low Dose"]}}, {"id": "Grp_XanHigh", "name": "Xanomeline High Dose", "label": "Xanomeline High Dose", "level": 1, "order": 3, "condition": {"dataset": "ADQSADAS", "variable": "TRTP", "comparator": "EQ", "value": ["Xanomeline High Dose"]}} ] } ], "dataSubsets": [ { "id": "DS_ACTOT_WK24", "name": "ADAS-Cog (11) total score at Week 24", "label": "ACTOT, Week 24", "level": 1, "order": 1, "compoundExpression": { "logicalOperator": "AND", "whereClauses": [ {"condition": {"dataset": "ADQSADAS", "variable": "PARAMCD", "comparator": "EQ", "value": ["ACTOT"]}}, {"condition": {"dataset": "ADQSADAS", "variable": "AVISITN", "comparator": "EQ", "value": ["24"]}} ] } }, { "id": "DS_PW_LOW_PBO", "name": "Comparison: Xanomeline Low Dose vs Placebo", "label": "Low vs Placebo", "level": 1, "order": 2, "condition": {"dataset": "ADQSADAS", "variable": "TRTP", "comparator": "IN", "value": ["Placebo", "Xanomeline Low Dose"]} }, { "id": "DS_PW_HIGH_PBO", "name": "Comparison: Xanomeline High Dose vs Placebo", "label": "High vs Placebo", "level": 1, "order": 3, "condition": {"dataset": "ADQSADAS", "variable": "TRTP", "comparator": "IN", "value": ["Placebo", "Xanomeline High Dose"]} }, { "id": "DS_PW_HIGH_LOW", "name": "Comparison: Xanomeline High Dose vs Xanomeline Low Dose", "label": "High vs Low", "level": 1, "order": 4, "condition": {"dataset": "ADQSADAS", "variable": "TRTP", "comparator": "IN", "value": ["Xanomeline Low Dose", "Xanomeline High Dose"]} } ], "methods": [ { "id": "MTH_SUMM", "name": "Summary statistics for a continuous variable", "label": "Continuous summary", "description": "SAP 7: number of observations, mean, SD, median, minimum, maximum. Template 5 shows N; Mean (SD); Median (Range).", "operations": [ {"id": "MTH_SUMM_1_n", "name": "n", "label": "n", "order": 1, "resultPattern": "XXX"}, {"id": "MTH_SUMM_2_mean", "name": "Mean", "label": "Mean", "order": 2, "resultPattern": "XX.X"}, {"id": "MTH_SUMM_3_sd", "name": "Standard deviation", "label": "SD", "order": 3, "resultPattern": "XX.XX"}, {"id": "MTH_SUMM_4_median", "name": "Median", "label": "Median", "order": 4, "resultPattern": "XX.X"}, {"id": "MTH_SUMM_5_min", "name": "Minimum", "label": "Min", "order": 5, "resultPattern": "XX"}, {"id": "MTH_SUMM_6_max", "name": "Maximum", "label": "Max", "order": 6, "resultPattern": "XXX"} ] }, { "id": "MTH_ANCOVA_DOSERESP", "name": "ANCOVA dose-response test", "label": "ANCOVA, treatment as continuous", "description": "ANCOVA with baseline ADAS-Cog (11) (BASE) as covariate, SITEID as factor, and treatment (dose, continuous; TRTPN assumed) as the term of interest. Test of a non-zero coefficient for dose. 2-sided, alpha 0.05. No interaction terms (SAP 10.1.1).", "operations": [ {"id": "MTH_ANCOVA_DOSERESP_1_pval", "name": "p-value (dose response)", "label": "P-value (Dose Response)", "order": 1, "resultPattern": "X.XXX"} ] }, { "id": "MTH_ANCOVA_PAIRWISE", "name": "ANCOVA pairwise comparison", "label": "ANCOVA, treatment as categorical", "description": "ANCOVA with baseline ADAS-Cog (11) (BASE) as covariate, SITEID and treatment (categorical) as factors. Pairwise difference of LS means, 2-sided, alpha 0.05, no multiplicity adjustment. SAP 10.1.1 says pairwise tests are done only if the dose-response test is significant; that gating is not encoded as an operation.", "operations": [ {"id": "MTH_ANCOVA_PAIRWISE_1_pval", "name": "p-value (pairwise)", "label": "P-value", "order": 1, "resultPattern": "X.XXX"}, {"id": "MTH_ANCOVA_PAIRWISE_2_diff", "name": "Difference of LS means", "label": "Diff. of LS Means", "order": 2, "resultPattern": "XX.X"}, {"id": "MTH_ANCOVA_PAIRWISE_3_se", "name": "Standard error of difference", "label": "SE", "order": 3, "resultPattern": "X.XX"}, {"id": "MTH_ANCOVA_PAIRWISE_4_lcl", "name": "95% CI lower limit", "label": "95% CI lower", "order": 4, "resultPattern": "XX.XX"}, {"id": "MTH_ANCOVA_PAIRWISE_5_ucl", "name": "95% CI upper limit", "label": "95% CI upper", "order": 5, "resultPattern": "XX.XX"} ] } ], "analyses": [ { "id": "AN_N_EFF", "name": "Number of subjects per group (column header N)", "version": 1, "description": "Supports the (N=xxx) column headers. Added because the template shows N in headers; the excerpts do not say how N is counted. No variable is bound because the subject identifier is not in the define.xml extract.", "dataset": "ADQSADAS", "analysisSetId": "AS_EFF", "dataSubsetId": "DS_ACTOT_WK24", "orderedGroupings": [{"order": 1, "resultsByGroup": true, "groupingId": "AnlsGrouping_TRTP"}], "methodId": "MTH_SUMM", "referencedAnalysisOperations": [{"referencedOperationRelationshipId": "n_only", "analysisId": "AN_N_EFF"}] }, { "id": "AN_BASE_SUMM", "name": "Baseline ADAS-Cog (11) summary", "version": 1, "description": "Baseline summary: N; Mean (SD); Median (Range). Uses BASE on the Week 24 records.", "reason": {"controlledTerm": "SPECIFIED IN SAP"}, "purpose": {"controlledTerm": "PRIMARY OUTCOME MEASURE"}, "dataset": "ADQSADAS", "variable": "BASE", "analysisSetId": "AS_EFF", "dataSubsetId": "DS_ACTOT_WK24", "orderedGroupings": [{"order": 1, "resultsByGroup": true, "groupingId": "AnlsGrouping_TRTP"}], "methodId": "MTH_SUMM" }, { "id": "AN_WK24_SUMM", "name": "Week 24 ADAS-Cog (11) summary (LOCF)", "version": 1, "description": "Week 24 value summary: N; Mean (SD); Median (Range). LOCF per SAP 8.1 and 10.1.1.", "reason": {"controlledTerm": "SPECIFIED IN SAP"}, "purpose": {"controlledTerm": "PRIMARY OUTCOME MEASURE"}, "dataset": "ADQSADAS", "variable": "AVAL", "analysisSetId": "AS_EFF", "dataSubsetId": "DS_ACTOT_WK24", "orderedGroupings": [{"order": 1, "resultsByGroup": true, "groupingId": "AnlsGrouping_TRTP"}], "methodId": "MTH_SUMM" }, { "id": "AN_CHG_SUMM", "name": "Change from baseline to Week 24 summary (LOCF)", "version": 1, "description": "Change from baseline summary: N; Mean (SD); Median (Range).", "reason": {"controlledTerm": "SPECIFIED IN SAP"}, "purpose": {"controlledTerm": "PRIMARY OUTCOME MEASURE"}, "dataset": "ADQSADAS", "variable": "CHG", "analysisSetId": "AS_EFF", "dataSubsetId": "DS_ACTOT_WK24", "orderedGroupings": [{"order": 1, "resultsByGroup": true, "groupingId": "AnlsGrouping_TRTP"}], "methodId": "MTH_SUMM" }, { "id": "AN_DOSERESP", "name": "Dose-response test, change from baseline at Week 24", "version": 1, "description": "Test of non-zero coefficient for treatment (dose) as a continuous variable (footnote [2]). Response variable CHG is an assumption (see list below).", "reason": {"controlledTerm": "SPECIFIED IN SAP"}, "purpose": {"controlledTerm": "PRIMARY OUTCOME MEASURE"}, "dataset": "ADQSADAS", "variable": "CHG", "analysisSetId": "AS_EFF", "dataSubsetId": "DS_ACTOT_WK24", "methodId": "MTH_ANCOVA_DOSERESP" }, { "id": "AN_PW_LOW_PBO", "name": "Pairwise: Xanomeline Low Dose - Placebo", "version": 1, "description": "P-value, difference of LS means (SE) and 95% CI (footnote [3]).", "reason": {"controlledTerm": "SPECIFIED IN SAP"}, "purpose": {"controlledTerm": "PRIMARY OUTCOME MEASURE"}, "dataset": "ADQSADAS", "variable": "CHG", "analysisSetId": "AS_EFF", "dataSubsetId": "DS_PW_LOW_PBO", "methodId": "MTH_ANCOVA_PAIRWISE" }, { "id": "AN_PW_HIGH_PBO", "name": "Pairwise: Xanomeline High Dose - Placebo", "version": 1, "description": "P-value, difference of LS means (SE) and 95% CI (footnote [3]).", "reason": {"controlledTerm": "SPECIFIED IN SAP"}, "purpose": {"controlledTerm": "PRIMARY OUTCOME MEASURE"}, "dataset": "ADQSADAS", "variable": "CHG", "analysisSetId": "AS_EFF", "dataSubsetId": "DS_PW_HIGH_PBO", "methodId": "MTH_ANCOVA_PAIRWISE" }, { "id": "AN_PW_HIGH_LOW", "name": "Pairwise: Xanomeline High Dose - Xanomeline Low Dose", "version": 1, "description": "P-value, difference of LS means (SE) and 95% CI (footnote [3]).", "reason": {"controlledTerm": "SPECIFIED IN SAP"}, "purpose": {"controlledTerm": "PRIMARY OUTCOME MEASURE"}, "dataset": "ADQSADAS", "variable": "CHG", "analysisSetId": "AS_EFF", "dataSubsetId": "DS_PW_HIGH_LOW", "methodId": "MTH_ANCOVA_PAIRWISE" } ], "outputs": [ { "id": "OUT_T5_ADAS_WK24", "name": "ADAS Cog (11) - Change from Baseline to Week 24 - LOCF", "version": "1", "fileSpecifications": [{"name": "Output file", "fileType": {"controlledTerm": "rtf"}, "location": "not given in excerpts"}], "displays": [ { "order": 1, "display": { "id": "DISP_T5_ADAS_WK24", "name": "Template 5, Week 24", "version": "1", "displayTitle": "ADAS Cog (11) - Change from Baseline to Week 24 - LOCF", "displaySections": [ {"sectionType": "Title", "orderedSubSections": [ {"order": 1, "subSection": {"id": "SS_T1", "text": "Population: Efficacy"}}, {"order": 2, "subSection": {"id": "SS_T2", "text": "ADAS Cog (11) - Change from Baseline to Week 24 - LOCF"}} ]}, {"sectionType": "Header", "orderedSubSections": [ {"order": 1, "subSection": {"id": "SS_H1", "text": "Columns: Placebo (N=xxx) | Xanomeline Low Dose (N=xxx) | Xanomeline High Dose (N=xxx)"}} ]}, {"sectionType": "Footnote", "orderedSubSections": [ {"order": 1, "subSection": {"id": "SS_F1", "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_F2", "text": "[2] Test for a non-zero coefficient for treatment (dose) as a continuous variable."}}, {"order": 3, "subSection": {"id": "SS_F3", "text": "[3] Pairwise comparison with treatment as a categorical variable: p-values without adjustment for multiple comparisons."}} ]} ] } } ] } ], "mainListOfContents": { "name": "Main list of contents", "label": "Efficacy tables", "contentsList": { "listItems": [ { "name": "ADAS Cog (11) - Change from Baseline to Week 24 - LOCF", "level": 1, "order": 1, "outputId": "OUT_T5_ADAS_WK24", "sublist": { "listItems": [ {"name": "Column header N", "level": 2, "order": 1, "analysisId": "AN_N_EFF"}, {"name": "Baseline", "level": 2, "order": 2, "analysisId": "AN_BASE_SUMM"}, {"name": "Week 24", "level": 2, "order": 3, "analysisId": "AN_WK24_SUMM"}, {"name": "Change from Baseline", "level": 2, "order": 4, "analysisId": "AN_CHG_SUMM"}, {"name": "P-value (Dose Response)", "level": 2, "order": 5, "analysisId": "AN_DOSERESP"}, {"name": "P-value (Xan Low - Placebo)", "level": 2, "order": 6, "analysisId": "AN_PW_LOW_PBO"}, {"name": "P-value (Xan High - Placebo)", "level": 2, "order": 7, "analysisId": "AN_PW_HIGH_PBO"}, {"name": "P-value (Xan High - Xan Low)", "level": 2, "order": 8, "analysisId": "AN_PW_HIGH_LOW"} ] } } ] } } } ``` **Could not determine from the excerpts** 1. Baseline visit: the define.xml extract does not give the AVISIT/AVISITN value for baseline. I summarised baseline from BASE on the Week 24 records. That means baseline N equals the number of subjects with a Week 24 record, which may differ from the true baseline N. 2. Week 24 coding: AVISITN = 24 is inferred from "Week 24". The AVISIT text value is not given. The excerpts don't say whether LOCF records (DTYPE = LOCF) are already carried at AVISITN 24. 3. ANL01FL: I left it out of the subsets. The excerpts don't say the table uses it. Adding `ANL01FL EQ Y` would have been from habit. 4. Continuous treatment variable: SAP says "continuous" but does not name the variable. I assumed TRTPN (0, 54, 81). The dose-response method names it only in its description. It is not bound to an analysis variable or grouping. 5. Response variable: the SAP says ANCOVA but not whether the response is CHG or AVAL with baseline as covariate. I assumed CHG because of the table title. 6. N counts: the (N=xxx) headers need a subject identifier. USUBJID is not in the extract, so AN_N_EFF has no variable. I added this analysis because the template shows N. The excerpts don't define the counting rule. The `referencedAnalysisOperations` on it is a placeholder and needs a proper operation relationship. 7. Pairwise model: the excerpts don't say whether pairwise differences come from the 3-group model or from separate 2-group fits. I used data subsets to identify each pair. In ARS terms that restricts the data and so implies 2-group fits. This may not match the intent. 8. Gating: SAP 10.1.1 says pairwise tests are done only if the dose-response test is significant. Template 5 prints all p-values. ARS has no clean way to encode the gate, so I left it out. I also don't know whether the table shows pairwise results when the gate fails. 9. Not stated: how the table shows LS means, rounding rules, the output file name and type, and the program or code references. Dataset-level LOCF imputation (SAP 8.1) is not modelled as a method. 10. Median (Range) and Min/Max: the template pattern "xx;xxx" is taken as min;max. The operations are present, but the exact format is not specified beyond the template. **Unsure of ARS v1.0 property names** - Unsure: `analysisGroupings` vs `dataGroupings` at the top level, and `groupingDataset`. - Unsure: `compoundExpression` / `whereClauses` / `logicalOperator` for combined conditions. I'm fairly sure of the `condition` fields (dataset, variable, comparator, value). - Unsure: `reason` and `purpose` as controlled-term objects. The term strings "SPECIFIED IN SAP" and "PRIMARY OUTCOME MEASURE" are from memory. - Unsure: `orderedGroupings` entries with `order`, `resultsByGroup` and `groupingId`. - Unsure: the display structure `displays` → `display` → `displaySections` → `orderedSubSections` → `subSection`, and the `sectionType` terms (Title, Header, Footnote). - Unsure: `fileSpecifications` and `fileType`. - Unsure: `mainListOfContents` → `contentsList` → `listItems`, with `sublist`, `outputId` and `analysisId`. I'm not certain how analyses attach to a display beyond the list of contents. - Unsure: `referenceDocuments`. - Not in ARS from my knowledge: nothing here sets significance level 0.05 or the 95% CI level as a formal parameter. They appear only in method descriptions.