LAE

Welcome to the LAE community!  Please feel free to start a discussion in the discussion tab or join in a conversation.

Discussions

Members

Resources

Events

 View Only

Migrating Dimensional Analysis to Dimensional Aggregator

  • 1.  Migrating Dimensional Analysis to Dimensional Aggregator

    Employee
    Posted 03-16-2011 10:18

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: rboccuzzi

    There is a new Dimensional Aggregator node in LAE 4.5.0. This node performs many of the actions of the deprecated Dimensional Analysis node, but is more flexible:
    • The new Dimensional Aggregator node replaces the two-source Dimensional Analysis node with a single-source interface and allows users to define any tally set comparison functions using the full set of LAE nodes and BRAINscript.
    • Thus, the user is not limited to two-source tally comparisons, and�when performing two-source comparisons�is not limited to the ratio calculations provided by the Dimensional Analysis node.
    If you have a graph containing a Dimensional Analysis node and you want to convert the graph to use the new Dimensional Aggregator node instead, follow these instructions:
    1. Replace the existing node with a two-input Composite node containing:
      • Two Dimensional Aggregator nodes,
      • One Join node to compile the two sets of tallies,
      • One Filter node that implements the comparisons.
    2. Pass the parameters on the composite node to the internal Dimensional Aggregator nodes (which have different names from the Dimensional Analysis node).
    3. Set the Join node to use the DIM1_NAME, DIM1_VALUE, DIM2_NAME, and DIM2_VALUE fields from each Dimensional Aggregator node as a match key, and to output each of the <FIELD>_TOTAL fields and the OCCURRENCE_COUNT field from each node with a new prefix of TEST_ or CTRL_, depending on the source aggregation.
    4. Set the Filter node to use these TEST_<FIELD>_TOTAL and CTRL_<FIELD>_TOTAL as arguments to new RATIO calculations, using the formula (CTRL_<FIELD>_TOTAL - TEST_<FIELD>_TOTAL) / (CTRL_<FIELD>_TOTAL + TEST_<FIELD>_TOTAL).
    5. The resulting output from this new Composite node now contains each of the tally key fields and calculations produced by the original, deprecated Dimensional Analysis node.

    Attachments:
    DimensionalAnalysisReplacementExample.brg