This example shows the specification of an analysis method that contains 2 operations, 1 of which is a dependent operation. The definitions 2 analyses are also included, 1 of which is an analysis that uses the example method and the other is the analysis that produces some of the results used by the dependent operation.
Lines 2-31: | Show the "Summary by group of a categorical variable" analysis method, which contains 2 operations:
|
Lines 33-43: | Show the definition of the "Summary of Subjects by Treatment" analysis, which is identified as "An01_05_SAF_Summ_ByTrt". This analysis definition is included in the example because it uses the method identified as "Mth01_CatVar_Count_ByGrp", which contains the referenced operation that provides the denominator for the calculation of the percentage, as described above and referenced as "Mth01_CatVar_Count_ByGrp_1_n" on line 27. The definition of the method identified as "Mth01_CatVar_Count_ByGrp" is shown in Example 1 in the AnalysisMethod section. |
Lines 44-63: | Show the definition of "Summary of Subjects by Treatment and Age Group" analysis, which is identified as "An03_02_AgeGrp_Summ_ByTrt" (line 44) and includes 2 referenced analysis operations:
|
methods: - id: Mth01_CatVar_Summ_ByGrp name: Summary by group of a categorical variable label: Grouped summary of categorical variable description: Descriptive summary statistics across groups for a categorical variable, based on subject occurrence 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) referencedOperationRelationships: - id: Mth01_CatVar_Summ_ByGrp_2_pct_NUM referencedOperationRole: controlledTerm: NUMERATOR operationId: Mth01_CatVar_Summ_ByGrp_1_n description: The count operation whose result provides the numerator for calculation of the percentage. The referenced analysis should be the analysis that contains this percent operation. - id: Mth01_CatVar_Summ_ByGrp_2_pct_DEN referencedOperationRole: controlledTerm: DENOMINATOR operationId: Mth01_CatVar_Count_ByGrp_1_n description: The count operation whose result provides the denominator for calculation of the percentage. The referenced analysis should have the same analysis set and subject grouping(s) as the analysis containing this percent operation. ... analyses: - id: An01_05_SAF_Summ_ByTrt version: 1 name: Summary of Subjects by Treatment methodId: Mth01_CatVar_Count_ByGrp dataset: ADSL variable: USUBJID analysisSetId: AnalysisSet_02_SAF orderedGroupings: - order: 1 resultsByGroup: true groupingId: AnlsGrouping_01_Trt - id: An03_02_AgeGrp_Summ_ByTrt version: 1 name: Summary of Subjects by Treatment and Age Group methodId: Mth01_CatVar_Summ_ByGrp dataset: ADSL variable: USUBJID analysisSetId: AnalysisSet_02_SAF orderedGroupings: - order: 1 resultsByGroup: true groupingId: AnlsGrouping_01_Trt - order: 2 resultsByGroup: true groupingId: AnlsGrouping_03_AgeGp referencedAnalysisOperations: - referencedOperationRelationshipId: Mth01_CatVar_Summ_ByGrp_2_pct_NUM analysisId: An03_02_AgeGrp_Summ_ByTrt - referencedOperationRelationshipId: Mth01_CatVar_Summ_ByGrp_2_pct_DEN analysisId: An01_05_SAF_Summ_ByTrt ... ...