This example shows the definition and results for a single analysis, "Summary of Subjects by Treatment and Sex", including the definitions of the grouping factors and method referenced by the analysis:
Lines 1-31: | Show the definitions of the 2 grouping factors referenced by the analysis, both of which are not data-driven (dataDriven = false, shown on lines 3 and 17):
|
Lines 32-44: | Show the definition of the method referenced by the analysis, "Summary by group of a categorical variable", which has 2 operations:
|
Lines 46-58: | Show the definition of the analysis:
|
Lines 59-155 | Show the list of results for the analysis. Each entry in the list (the start of which is indicated by a leading hyphen) represents an instance of the OperationResult class and contains:
|
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 ... - id: AnlsGrouping_02_Sex dataDriven: false label: Sex groupingVariable: SEX groups: - id: AnlsGrouping_02_Sex_1 label: Male order: 1 ... - id: AnlsGrouping_02_Sex_2 label: Female order: 2 ... methods: - id: Mth01_CatVar_Summ_ByGrp name: Summary by group of a categorical variable operations: - id: Mth01_CatVar_Summ_ByGrp_1_n name: Count of subjects label: n resultPattern: XXX - id: Mth01_CatVar_Summ_ByGrp_2_pct name: Percent of subjects label: '%' resultPattern: ( XX.X) ... analyses: - id: An03_03_Sex_Summ_ByTrt name: Summary of Subjects by Treatment and Sex version: 1 dataset: ADSL variable: USUBJID methodId: Mth01_CatVar_Summ_ByGrp orderedGroupings: - order: 1 resultsByGroup: true groupingId: AnlsGrouping_01_Trt - order: 2 resultsByGroup: true groupingId: AnlsGrouping_02_Sex results: - operationId: Mth01_CatVar_Summ_ByGrp_1_n resultGroups: - groupingId: AnlsGrouping_01_Trt groupId: AnlsGrouping_01_Trt_1 - groupingId: AnlsGrouping_02_Sex groupId: AnlsGrouping_02_Sex_1 rawValue: '33' formattedValue: '33' - operationId: Mth01_CatVar_Summ_ByGrp_1_n resultGroups: - groupingId: AnlsGrouping_01_Trt groupId: AnlsGrouping_01_Trt_1 - groupingId: AnlsGrouping_02_Sex groupId: AnlsGrouping_02_Sex_2 rawValue: '53' formattedValue: '53' - operationId: Mth01_CatVar_Summ_ByGrp_1_n resultGroups: - groupingId: AnlsGrouping_01_Trt groupId: AnlsGrouping_01_Trt_2 - groupingId: AnlsGrouping_02_Sex groupId: AnlsGrouping_02_Sex_1 rawValue: '34' formattedValue: '34' - operationId: Mth01_CatVar_Summ_ByGrp_1_n resultGroups: - groupingId: AnlsGrouping_01_Trt groupId: AnlsGrouping_01_Trt_2 - groupingId: AnlsGrouping_02_Sex groupId: AnlsGrouping_02_Sex_2 rawValue: '50' formattedValue: '50' - operationId: Mth01_CatVar_Summ_ByGrp_1_n resultGroups: - groupingId: AnlsGrouping_01_Trt groupId: AnlsGrouping_01_Trt_3 - groupingId: AnlsGrouping_02_Sex groupId: AnlsGrouping_02_Sex_1 rawValue: '44' formattedValue: '44' - operationId: Mth01_CatVar_Summ_ByGrp_1_n resultGroups: - groupingId: AnlsGrouping_01_Trt groupId: AnlsGrouping_01_Trt_3 - groupingId: AnlsGrouping_02_Sex groupId: AnlsGrouping_02_Sex_2 rawValue: '40' formattedValue: '40' - operationId: Mth01_CatVar_Summ_ByGrp_2_pct resultGroups: - groupingId: AnlsGrouping_01_Trt groupId: AnlsGrouping_01_Trt_1 - groupingId: AnlsGrouping_02_Sex groupId: AnlsGrouping_02_Sex_1 rawValue: '38.372093023255815' formattedValue: ( 38.4) - operationId: Mth01_CatVar_Summ_ByGrp_2_pct resultGroups: - groupingId: AnlsGrouping_01_Trt groupId: AnlsGrouping_01_Trt_1 - groupingId: AnlsGrouping_02_Sex groupId: AnlsGrouping_02_Sex_2 rawValue: '61.627906976744185' formattedValue: ( 61.6) - operationId: Mth01_CatVar_Summ_ByGrp_2_pct resultGroups: - groupingId: AnlsGrouping_01_Trt groupId: AnlsGrouping_01_Trt_2 - groupingId: AnlsGrouping_02_Sex groupId: AnlsGrouping_02_Sex_1 rawValue: '40.476190476190474' formattedValue: ( 40.5) - operationId: Mth01_CatVar_Summ_ByGrp_2_pct resultGroups: - groupingId: AnlsGrouping_01_Trt groupId: AnlsGrouping_01_Trt_2 - groupingId: AnlsGrouping_02_Sex groupId: AnlsGrouping_02_Sex_2 rawValue: '59.523809523809526' formattedValue: ( 59.5) - operationId: Mth01_CatVar_Summ_ByGrp_2_pct resultGroups: - groupingId: AnlsGrouping_01_Trt groupId: AnlsGrouping_01_Trt_3 - groupingId: AnlsGrouping_02_Sex groupId: AnlsGrouping_02_Sex_1 rawValue: '52.38095238095238' formattedValue: ( 52.4) - operationId: Mth01_CatVar_Summ_ByGrp_2_pct resultGroups: - groupingId: AnlsGrouping_01_Trt groupId: AnlsGrouping_01_Trt_3 - groupingId: AnlsGrouping_02_Sex groupId: AnlsGrouping_02_Sex_2 rawValue: '47.61904761904762' formattedValue: ( 47.6) ... ...
The results for this analysis could be represented in tabular format as shown in the following table, where the groupingId and groupId values from the 2 two instances of the ResultGroup class found in the resultGroups attribute for each each result are represented in separate pairs of columns ("resultGroup1_groupingId"/"resultGroup1_groupId" and "resultGroup2_groupingId"/"resultGroup2_groupId") so that each result is represented on a single row:
operationId | resultGroup1_groupingId | resultGroup1_groupId | resultGroup2_groupingId | resultGroup2_groupId | rawValue | formattedValue |
---|---|---|---|---|---|---|
Mth01_CatVar_Summ_ByGrp_1_n | AnlsGrouping_01_Trt | AnlsGrouping_01_Trt_1 | AnlsGrouping_02_Sex | AnlsGrouping_02_Sex_1 | 33 | 33 |
Mth01_CatVar_Summ_ByGrp_1_n | AnlsGrouping_01_Trt | AnlsGrouping_01_Trt_1 | AnlsGrouping_02_Sex | AnlsGrouping_02_Sex_2 | 53 | 53 |
Mth01_CatVar_Summ_ByGrp_1_n | AnlsGrouping_01_Trt | AnlsGrouping_01_Trt_2 | AnlsGrouping_02_Sex | AnlsGrouping_02_Sex_1 | 34 | 34 |
Mth01_CatVar_Summ_ByGrp_1_n | AnlsGrouping_01_Trt | AnlsGrouping_01_Trt_2 | AnlsGrouping_02_Sex | AnlsGrouping_02_Sex_2 | 50 | 50 |
Mth01_CatVar_Summ_ByGrp_1_n | AnlsGrouping_01_Trt | AnlsGrouping_01_Trt_3 | AnlsGrouping_02_Sex | AnlsGrouping_02_Sex_1 | 44 | 44 |
Mth01_CatVar_Summ_ByGrp_1_n | AnlsGrouping_01_Trt | AnlsGrouping_01_Trt_3 | AnlsGrouping_02_Sex | AnlsGrouping_02_Sex_2 | 40 | 40 |
Mth01_CatVar_Summ_ByGrp_2_pct | AnlsGrouping_01_Trt | AnlsGrouping_01_Trt_1 | AnlsGrouping_02_Sex | AnlsGrouping_02_Sex_1 | 38.3720930232558 | ( 38.4) |
Mth01_CatVar_Summ_ByGrp_2_pct | AnlsGrouping_01_Trt | AnlsGrouping_01_Trt_1 | AnlsGrouping_02_Sex | AnlsGrouping_02_Sex_2 | 61.6279069767442 | ( 61.6) |
Mth01_CatVar_Summ_ByGrp_2_pct | AnlsGrouping_01_Trt | AnlsGrouping_01_Trt_2 | AnlsGrouping_02_Sex | AnlsGrouping_02_Sex_1 | 40.4761904761905 | ( 40.5) |
Mth01_CatVar_Summ_ByGrp_2_pct | AnlsGrouping_01_Trt | AnlsGrouping_01_Trt_2 | AnlsGrouping_02_Sex | AnlsGrouping_02_Sex_2 | 59.5238095238095 | ( 59.5) |
Mth01_CatVar_Summ_ByGrp_2_pct | AnlsGrouping_01_Trt | AnlsGrouping_01_Trt_3 | AnlsGrouping_02_Sex | AnlsGrouping_02_Sex_1 | 52.3809523809524 | ( 52.4) |
Mth01_CatVar_Summ_ByGrp_2_pct | AnlsGrouping_01_Trt | AnlsGrouping_01_Trt_3 | AnlsGrouping_02_Sex | AnlsGrouping_02_Sex_2 | 47.6190476190476 | ( 47.6) |
operationId | operation_label | resultGroup1_groupingId | resultGroup1_grouping_label | resultGroup1_groupId | resultGroup1_group_label | resultGroup2_groupingId | resultGroup2_grouping_label | resultGroup2_groupId | resultGroup2_group_label | rawValue | formattedValue |
---|---|---|---|---|---|---|---|---|---|---|---|
Mth01_CatVar_Summ_ByGrp_1_n | n | AnlsGrouping_01_Trt | Treatment | AnlsGrouping_01_Trt_1 | Placebo | AnlsGrouping_02_Sex | Sex | AnlsGrouping_02_Sex_1 | Male | 33 | 33 |
Mth01_CatVar_Summ_ByGrp_1_n | n | AnlsGrouping_01_Trt | Treatment | AnlsGrouping_01_Trt_1 | Placebo | AnlsGrouping_02_Sex | Sex | AnlsGrouping_02_Sex_2 | Female | 53 | 53 |
Mth01_CatVar_Summ_ByGrp_1_n | n | AnlsGrouping_01_Trt | Treatment | AnlsGrouping_01_Trt_2 | Xanomeline Low Dose | AnlsGrouping_02_Sex | Sex | AnlsGrouping_02_Sex_1 | Male | 34 | 34 |
Mth01_CatVar_Summ_ByGrp_1_n | n | AnlsGrouping_01_Trt | Treatment | AnlsGrouping_01_Trt_2 | Xanomeline Low Dose | AnlsGrouping_02_Sex | Sex | AnlsGrouping_02_Sex_2 | Female | 50 | 50 |
Mth01_CatVar_Summ_ByGrp_1_n | n | AnlsGrouping_01_Trt | Treatment | AnlsGrouping_01_Trt_3 | Xanomeline High Dose | AnlsGrouping_02_Sex | Sex | AnlsGrouping_02_Sex_1 | Male | 44 | 44 |
Mth01_CatVar_Summ_ByGrp_1_n | n | AnlsGrouping_01_Trt | Treatment | AnlsGrouping_01_Trt_3 | Xanomeline High Dose | AnlsGrouping_02_Sex | Sex | AnlsGrouping_02_Sex_2 | Female | 40 | 40 |
Mth01_CatVar_Summ_ByGrp_2_pct | % | AnlsGrouping_01_Trt | Treatment | AnlsGrouping_01_Trt_1 | Placebo | AnlsGrouping_02_Sex | Sex | AnlsGrouping_02_Sex_1 | Male | 38.3720930232558 | ( 38.4) |
Mth01_CatVar_Summ_ByGrp_2_pct | % | AnlsGrouping_01_Trt | Treatment | AnlsGrouping_01_Trt_1 | Placebo | AnlsGrouping_02_Sex | Sex | AnlsGrouping_02_Sex_2 | Female | 61.6279069767442 | ( 61.6) |
Mth01_CatVar_Summ_ByGrp_2_pct | % | AnlsGrouping_01_Trt | Treatment | AnlsGrouping_01_Trt_2 | Xanomeline Low Dose | AnlsGrouping_02_Sex | Sex | AnlsGrouping_02_Sex_1 | Male | 40.4761904761905 | ( 40.5) |
Mth01_CatVar_Summ_ByGrp_2_pct | % | AnlsGrouping_01_Trt | Treatment | AnlsGrouping_01_Trt_2 | Xanomeline Low Dose | AnlsGrouping_02_Sex | Sex | AnlsGrouping_02_Sex_2 | Female | 59.5238095238095 | ( 59.5) |
Mth01_CatVar_Summ_ByGrp_2_pct | % | AnlsGrouping_01_Trt | Treatment | AnlsGrouping_01_Trt_3 | Xanomeline High Dose | AnlsGrouping_02_Sex | Sex | AnlsGrouping_02_Sex_1 | Male | 52.3809523809524 | ( 52.4) |
Mth01_CatVar_Summ_ByGrp_2_pct | % | AnlsGrouping_01_Trt | Treatment | AnlsGrouping_01_Trt_3 | Xanomeline High Dose | AnlsGrouping_02_Sex | Sex | AnlsGrouping_02_Sex_2 | Female | 47.6190476190476 | ( 47.6) |