.. _method-multilevel_sampling-qoi_aggregation-max: """ max """ Compute sample allocation for each response and use maximum over responses for each level in a MLMC algorithm **Specification** - *Alias:* None - *Arguments:* None - *JSON argument key:* None - *Default:* true **Description** An individual sample allocation for each response using the respective variances of the ``allocation_target`` of :math:`Y^i_\ell` over all levels is computed; the maximum over all responses for each level is taken. **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 = max .. 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": { "max": true } } } ] } uses the max rule to aggregate the variance over the qois.