.. _method-multilevel_sampling-qoi_aggregation-sum: """ sum """ Aggregate the variances over all QoIs to generate a target for each level in a MLMC algorithm. **Specification** - *Alias:* None - *Arguments:* None - *JSON argument key:* None - *Default:* true **Description** The variances of the ``allocation_target`` of :math:`Y^i_\ell, i = 1,...,R` are aggregated and a single sample allocation is computed. **Examples** The following method block .. tab:: Freeform .. code-block:: dakota method, model_pointer = 'HIERARCH' multilevel_sampling pilot_samples = 20 seed = 1237 convergence_tolerance = .01 allocation_target = mean qoi_aggregation = sum .. tab:: JSON .. code-block:: json { "method": [ { "multilevel_sampling": { "model_pointer": "HIERARCH", "pilot_samples": [20], "seed_sequence": [1237], "convergence_tolerance": { "value": 0.01 }, "allocation_target": { "mean": true }, "qoi_aggregation": { "sum": true } } } ] } uses the sum rule to aggregate the variance over the qois.