---
title: "list_sem function in Strata | Oplema"
description: "Calculate the standard error of the mean for the values in a list. Write it as list_sem(list) in a Strata Formula or Filter."
url: "https://oplema.com/docs/strata/functions/list-sem"
updated: "2026-11-04"
---

# list\_sem

Calculate the standard error of the mean from the values in a list.

## Try an expression

In [Formula](https://oplema.com/docs/strata/prep/formula), enter the expression and set Output type to **DOUBLE**.

### Expression

```
list_sem([3,3,9])
```

### Result

```
1.6329931618554523
```

To use your own data, replace the example values with column names. Keep format strings and other options as written.

Try it live in Formula

Result
| id | result |
| --- | --- |
| 1 | 1.633 |

## Arguments and types

```
list_sem(l)
```

**l**

Any value

Supported signatures (1)

```
list_sem(l: ANY)
```

The result type can depend on the input types. See DuckDB for the full argument rules.

## Things to know

If the first argument is missing, the result is NULL.

## Related functions

[list\_avg

Calculate the arithmetic mean from the values in a list.

](https://oplema.com/docs/strata/functions/list-avg)[list\_stddev\_pop

Calculate the population standard deviation from the values in a list.

](https://oplema.com/docs/strata/functions/list-stddev-pop)[list\_stddev\_samp

Calculate the sample standard deviation from the values in a list.

](https://oplema.com/docs/strata/functions/list-stddev-samp)[list\_approx\_count\_distinct

Calculate an approximate count of distinct values from the values in a list.

](https://oplema.com/docs/strata/functions/list-approx-count-distinct)

[Browse lists & arrays](https://oplema.com/docs/strata/functions#lists-&-arrays) [DuckDB documentation](https://duckdb.org/docs/current/sql/functions/list.html#list_semlist)

Function metadata from DuckDB, used under the [MIT license](https://github.com/duckdb/duckdb/blob/v1.5.4/LICENSE).
