---
title: "computeStandardDeviation(of:)"
framework: evaluations
role: symbol
role_heading: Instance Method
path: "evaluations/metricsaggregator/group/computestandarddeviation(of:)"
---

# computeStandardDeviation(of:)

Computes the standard deviation of a metric and adds it to the group.

## Declaration

```swift
mutating func computeStandardDeviation(of metric: Metric)
```

## Parameters

- `metric`: The metric to aggregate.
