This example shows the definition and results for a single analysis, "Comparison of Age by Treatment", including the definitions of the grouping factor and method referenced by the analysis. This example illustrates the use of just the groupingId attribute of the ResultGroup class to associate a result with a grouping factor that does not generate a result for each group in the grouping factor.
Lines 1-18: | Show the definition of the single subject grouping factors referenced by the analysis: the "Treatment" subject grouping factor, which has 3 groups: "Placebo", "Xanomeline Low Dose", and "Xanomeline High Dose". This grouping factor is not data-driven (dataDriven = false on lines 3). |
Lines 19-27: | Show the definition of the method referenced by the analysis, "Analysis of variance group comparison for a continuous variable", which has a single operation ("P-value"). |
Lines 29-38: | Show the definition of the analysis:
|
Lines 40-44 | Show the single result for the analysis, represented as an instance of the OperationResult class containing:
|
analysisGroupings: - id: AnlsGrouping_01_Trt dataDriven: false label: Treatment groupingVariable: TRT01A groups: - id: AnlsGrouping_01_Trt_1 label: Placebo order: 1 ... - id: AnlsGrouping_01_Trt_2 label: Xanomeline Low Dose order: 2 ... - id: AnlsGrouping_01_Trt_3 label: Xanomeline High Dose order: 3 ... methods: - id: Mth04_ContVar_Comp_Anova name: Analysis of variance group comparison for a continuous variable operations: - id: Mth04_ContVar_Comp_Anova_1_pval name: P-value label: p-value resultPattern: X.XXXX ... analyses: - id: An03_01_Age_Comp_ByTrt name: Comparison of Age by Treatment version: 1 dataset: ADSL variable: AGE methodId: Mth04_ContVar_Comp_Anova orderedGroupings: - order: 1 resultsByGroup: false groupingId: AnlsGrouping_01_Trt results: - operationId: Mth04_ContVar_Comp_Anova_1_pval resultGroups: - groupingId: AnlsGrouping_01_Trt rawValue: '0.5934357753' formattedValue: '0.5934' ... ...
The result for this analysis could be represented in tabular format as shown in the following table:
operationId | groupingId | rawValue | formattedValue |
---|---|---|---|
Mth04_ContVar_Comp_Anova_1_pval | AnlsGrouping_01_Trt | 0.5934357753 | 0.5934 |
operationId | operation_label | groupingId | grouping_label | rawValue | formattedValue |
---|---|---|---|---|---|
Mth04_ContVar_Comp_Anova_1_pval | p-value | AnlsGrouping_01_Trt | Treatment | 0.5934357753 | 0.5934 |