This example shows the definition of a simple analysis method that contains only 1 operation. This method could be used to calculate the number of subjects in each treatment group for any analysis set. The results of the analyses that use this method could then by referenced as the denominator by other defined "percent of subjects" operations.
YAML Example
methods: - id: Mth01_CatVar_Count_ByGrp name: Count by group for a categorical variable description: Count across groups for a categorical variable, based on subject occurrence label: Grouped count for categorical variable operations: - id: Mth01_CatVar_Count_ByGrp_1_n name: Count of subjects label: n order: 1 resultPattern: (N=XX) ...
This analysis method could be represented in tabular form as shown in the following table where the column names for attributes of the Operation class include the prefix, "operation_":
$titleHtml
$warningHtml
id | name | description | label | operation_id | operation_name | operation_label | operation_order | operation_resultPattern |
---|---|---|---|---|---|---|---|---|
Mth01_CatVar_Count_ByGrp | Count by group for a categorical variable | Count across groups for a categorical variable, based on subject occurrence | Grouped count for categorical variable | Mth01_CatVar_Count_ByGrp_1_n | Count of subjects | n | 1 | (N=XX) |