Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Reordered description and label attributes (GitHub #217) and added order for operations (GitHub #200)

...

Code Block
titleYAML Example
linenumberstrue
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 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
  ...
...