# StdDev

The **StdDev** function computes the standard deviation of a column or group. It measures the spread of a set of observations (numbers) around the mean and is calculated as the square root of the variance. A low standard deviation suggests data points are clustered near the mean, whereas a high standard deviation suggests data points are generally far from the mean.

Standard deviation is a useful measure of spread for symmetrical distributions with no outliers. It is expressed in the same units of measurement as the data and can help determine the statistical distribution of a dataset.

### Syntax

`StdDev(column)`

Function arguments:

* **column** (required) - The column of numbers to be measured.

The underlying formula is as follows:

```
√(x_i-x)^2/n-1
```

where `x_i` is the value of one observation, x is the mean value of all observations, and n is the number of observations (sample size).&#x20;

### Example

```
StdDev([x])
```

* Return the sample standard deviation of non-null records in the *x* column for each group *K*.

<figure><img src="https://files.readme.io/bfd8078-k.png" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://support.meetuma.ai/uma-knowledgebase/data-and-reporting/analytics-pro/functions/aggregate-functions/stddev.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
