This example shows the specification of an analysis method that contains 2 operations, 1 of which is a dependent operation. The definitions of 2 analyses are also included
Jira |
---|
showSummary | false |
---|
server | Issue Tracker (JIRA) |
---|
serverId | 85506ce4-3cb3-3d91-85ee-f633aaaf4a45 |
---|
key | ARSP-23 |
---|
|
, 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.
Xfancy |
---|
|
Lines 2-3132: | Show the "Summary by group of a categorical variable" analysis method, which contains 2 operations: - Lines 8-1112: Show the definition of the "Count of subjects" operation.
- Lines 1213-3032: Show the definition of the "Percent of subjects" operation, which is a dependent operation; it references the results of 2 other operations to act as the numerator and denominator in the calculation of the percentage:
- Lines 1719-2325: Show the definition of the referenced operation relationship that specifies that the results of the operation identified as "Mth01_CatVar_Summ_ByGrp_1_n" (line 2022) act as the numerator (lines 1820-1921) in the calculation of the percentage. The analysisId attribute is not included, which indicates that the referenced analysis identifier differs depending on the analysis that uses this operation (so this referenced analysis identifier must be specified in the definition of any analysis that uses this operation). The description (lines 2123-2325) indicates the type of analysis that can provide the numerator for the calculation.
- Lines 2426-3032: Show the definition of the referenced operation relationship that specifies that the results of the operation identified as "Mth01_CatVar_Count_ByGrp_1_n" (line 2729) act as the denominator (lines 2527-2628) in the calculation of the percentage. Again, the analysisId attribute is not included, which indicates that the referenced analysis identifier differs depending on the analysis that performs this operation (so this referenced analysis identifier must also be specified in the definition of any analysis that uses this operation). The description (lines 2930-3032) indicates the type of analysis that can provide the denominator for the calculation.
| Lines 3335-4345: | 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 4446-6365: | Show the definition of "Summary of Subjects by Treatment and Age Group" analysis, which is identified as "An03_02_AgeGrp_Summ_ByTrt" (line 4446) and includes 2 referenced analysis operations: - Lines 59 61-6062: Show that the analysis identified as "An03_02_AgeGrp_Summ_ByTrt" (line 6062)—i.e., this same analysis—provides the results used as the numerator in the "Percent of subjects" operation (as specified in the referenced operation relationship identified as "Mth01_CatVar_Summ_ByGrp_2_pct_NUM" (line 5961) whose definition is shown on lines 1719-2325).
- Lines 61 63-6264: Show that the analysis identified as "An01_05_SAF_Summ_ByTrt" (line 6264)—i.e., the analysis defined on lines 3335-43—provides 45—provides the results used as the denominator in the "Percent of subjects" operation (as specified in the referenced operation relationship identified as "Mth01_CatVar_Summ_ByGrp_2_pct_DEN" (line 6163) whose definition is shown on lines 2426-3032).
|
|
Code Block |
---|
title | YAML Example |
---|
linenumbers | true |
---|
|
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
label: Grouped summary of categorical variable
operations:
- id: Mth01_CatVar_Summ_ByGrp_1_n
name: Count of subjects
label: n
order: 1
resultPattern: XXX
- id: Mth01_CatVar_Summ_ByGrp_2_pct
name: Percent of subjects
label: '%'
order: 2
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
...
... |