# 统计聚合函数

使用每个函数的下拉列表可查看每个函数的简短描述和语法。单击语法描述中的函数名称可了解更多信息。

## 数据加载脚本中的统计聚合函数

以下统计聚合函数可用于脚本中。

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/Scripting/StatisticalAggregationFunctions/statistical-aggregation-functions.htm)

#### Avg

Avg() 用于查找迭代于 group by 子句定义的大量记录的表达式中聚合数据的平均值。

[**avg**](https://help.qlik.com/zh-CN/sense/May2026/Subsystems/Hub/Content/Sense_Hub/Scripting/StatisticalAggregationFunctions/avg.htm) ([distinct] expression)

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/Scripting/StatisticalAggregationFunctions/statistical-aggregation-functions.htm)

#### Correl

Correl() 用于返回聚合相关系数，以揭示迭代于 group by 子句定义的大量记录上的 x-expression 和 y-expression 的成对数值表示的现金流明细表（不必为周期性的）。

[**correl**](https://help.qlik.com/zh-CN/sense/May2026/Subsystems/Hub/Content/Sense_Hub/Scripting/StatisticalAggregationFunctions/correl.htm)(x-expression, y-expression)

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/Scripting/StatisticalAggregationFunctions/statistical-aggregation-functions.htm)

#### Fractile

Fractile() 用于查找与迭代于 group by 子句定义的大量记录的表达式中聚合数据的包含性分位数（位数）对应的值。

[**fractile**](https://help.qlik.com/zh-CN/sense/May2026/Subsystems/Hub/Content/Sense_Hub/Scripting/StatisticalAggregationFunctions/fractile.htm)(expression, fractile)

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/Scripting/StatisticalAggregationFunctions/statistical-aggregation-functions.htm)

#### FractileExc

FractileExc() 用于查找与迭代于 group by 子句定义的大量记录的表达式中聚合数据的排除性分位数（位数）对应的值。

[**fractileexc**](https://help.qlik.com/zh-CN/sense/May2026/Subsystems/Hub/Content/Sense_Hub/Scripting/StatisticalAggregationFunctions/fractileexc.htm)(expression, fractile)

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/Scripting/StatisticalAggregationFunctions/statistical-aggregation-functions.htm)

#### Kurtosis

Kurtosis() 用于返回迭代于 group by 子句定义的大量记录的表达式中的数据峰度。

[**kurtosis**](https://help.qlik.com/zh-CN/sense/May2026/Subsystems/Hub/Content/Sense_Hub/Scripting/StatisticalAggregationFunctions/kurtosis.htm) ([distinct ] expression )

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/Scripting/StatisticalAggregationFunctions/statistical-aggregation-functions.htm)

#### LINEST\_B

LINEST\_B() 用于返回由方程式 y=mx+b 定义的线性回归的聚合 b 值（y 截距），以获得通过由 group by 子句定义的许多记录迭代 x-expression 和 y-expression 的成对数值呈现的一系列坐标。

[**linest_b**](https://help.qlik.com/zh-CN/sense/May2026/Subsystems/Hub/Content/Sense_Hub/Scripting/StatisticalAggregationFunctions/linest_b.htm)(y-expression, x-expression [, y0 [, x0 ]])

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/Scripting/StatisticalAggregationFunctions/statistical-aggregation-functions.htm)

#### LINEST\_df

LINEST\_DF() 用于返回由方程式 y=mx+b 定义的线性回归的聚合自由度，以获得通过由 group by 子句定义的许多记录迭代 x-expression 和 y-expression 的成对数值呈现的一系列坐标。

[**linest_df**](https://help.qlik.com/zh-CN/sense/May2026/Subsystems/Hub/Content/Sense_Hub/Scripting/StatisticalAggregationFunctions/linest_df.htm) (y-expression, x-expression [, y0 [, x0 ]])

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/Scripting/StatisticalAggregationFunctions/statistical-aggregation-functions.htm)

#### LINEST\_f

此脚本函数用于返回由方程式 y=mx+b 定义的线性回归的聚合 F 统计量 (r2/(1-r2))，以获得通过由 group by 子句定义的许多记录迭代 x-expression 和 y-expression 的成对数值呈现的一系列坐标。

[**linest_f**](https://help.qlik.com/zh-CN/sense/May2026/Subsystems/Hub/Content/Sense_Hub/Scripting/StatisticalAggregationFunctions/linest_f.htm)(y-expression, x-expression [, y0 [, x0 ]])

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/Scripting/StatisticalAggregationFunctions/statistical-aggregation-functions.htm)

#### LINEST\_m

LINEST\_M() 用于返回由方程式 y=mx+b 定义的线性回归的聚合 m 值（斜率），以获得通过由 group by 子句定义的许多记录迭代 x-expression 和 y-expression 的成对数值呈现的一系列坐标。

[**linest_m**](https://help.qlik.com/zh-CN/sense/May2026/Subsystems/Hub/Content/Sense_Hub/Scripting/StatisticalAggregationFunctions/linest_m.htm) (y-expression, x-expression [, y0 [, x0 ]])

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/Scripting/StatisticalAggregationFunctions/statistical-aggregation-functions.htm)

#### LINEST\_r2

LINEST\_R2() 用于返回由方程式 y=mx+b 定义的线性回归的聚合 r2 值（确定系数），以获得通过由 group by 子句定义的许多记录迭代 x-expression 和 y-expression 的成对数值呈现的一系列坐标。

[**linest_r2**](https://help.qlik.com/zh-CN/sense/May2026/Subsystems/Hub/Content/Sense_Hub/Scripting/StatisticalAggregationFunctions/linest_r2.htm)(y-expression, x-expression [, y0 [, x0 ]])

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/Scripting/StatisticalAggregationFunctions/statistical-aggregation-functions.htm)

#### LINEST\_seb

LINEST\_SEB() 用于返回由方程式 y=mx+b 定义的线性回归的 b 值标准误差，以获得通过由 group by 子句定义的许多记录迭代 x-expression 和 y-expression 的成对数值呈现的一系列坐标。

[**linest_seb**](https://help.qlik.com/zh-CN/sense/May2026/Subsystems/Hub/Content/Sense_Hub/Scripting/StatisticalAggregationFunctions/linest_seb.htm) (y-expression, x-expression [, y0 [, x0 ]])

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/Scripting/StatisticalAggregationFunctions/statistical-aggregation-functions.htm)

#### LINEST\_sem

LINEST\_SEM() 用于返回由方程式 y=mx+b 定义的线性回归的 m 值标准误差，以获得通过由 group by 子句定义的许多记录迭代 x-expression 和 y-expression 的成对数值呈现的一系列坐标。

[**linest_sem**](https://help.qlik.com/zh-CN/sense/May2026/Subsystems/Hub/Content/Sense_Hub/Scripting/StatisticalAggregationFunctions/linest_sem.htm) (y-expression, x-expression [, y0 [, x0 ]])

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/Scripting/StatisticalAggregationFunctions/statistical-aggregation-functions.htm)

#### LINEST\_sey

LINEST\_SEY() 用于返回由方程式 y=mx+b 定义的线性回归的 y 估计的标准误差，以获得通过由 group by 子句定义的许多记录迭代 x-expression 和 y-expression 的成对数值呈现的一系列坐标。

[**linest_sey**](https://help.qlik.com/zh-CN/sense/May2026/Subsystems/Hub/Content/Sense_Hub/Scripting/StatisticalAggregationFunctions/linest_sey.htm) (y-expression, x-expression [, y0 [, x0 ]])

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/Scripting/StatisticalAggregationFunctions/statistical-aggregation-functions.htm)

#### LINEST\_ssreg

LINEST\_SSREG() 用于返回由方程式 y=mx+b 定义的线性回归的聚合回归平方和，以获得通过由 group by 子句定义的许多记录迭代 x-expression 和 y-expression 的成对数值呈现的一系列坐标。

[**linest_ssreg**](https://help.qlik.com/zh-CN/sense/May2026/Subsystems/Hub/Content/Sense_Hub/Scripting/StatisticalAggregationFunctions/linest_ssreg.htm) (y-expression, x-expression [, y0 [, x0 ]])

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/Scripting/StatisticalAggregationFunctions/statistical-aggregation-functions.htm)

#### Linest\_ssresid

LINEST\_SSRESID() 用于返回由方程式 y=mx+b 定义的线性回归的聚合剩余平方和，以获得通过由 group by 子句定义的许多记录迭代 x-expression 和 y-expression 的成对数值呈现的一系列坐标。

[**linest_ssresid**](https://help.qlik.com/zh-CN/sense/May2026/Subsystems/Hub/Content/Sense_Hub/Scripting/StatisticalAggregationFunctions/linest_ssresid.htm) (y-expression, x-expression [, y0 [, x0 ]])

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/Scripting/StatisticalAggregationFunctions/statistical-aggregation-functions.htm)

#### Median

Median() 用于返回迭代于 group by 子句定义的大量记录的表达式中的聚合中间值。

[**median**](https://help.qlik.com/zh-CN/sense/May2026/Subsystems/Hub/Content/Sense_Hub/Scripting/StatisticalAggregationFunctions/median.htm)(expression)

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/Scripting/StatisticalAggregationFunctions/statistical-aggregation-functions.htm)

#### Skew

Skew() 用于返回迭代于 group by 子句定义的许多记录的表达式的偏度。

[**skew**](https://help.qlik.com/zh-CN/sense/May2026/Subsystems/Hub/Content/Sense_Hub/Scripting/StatisticalAggregationFunctions/skew.htm)([ distinct] expression)

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/Scripting/StatisticalAggregationFunctions/statistical-aggregation-functions.htm)

#### Stdev

Stdev() 用于返回迭代于 group by 子句定义的大量记录的表达式中的标准偏差值。

[**stdev**](https://help.qlik.com/zh-CN/sense/May2026/Subsystems/Hub/Content/Sense_Hub/Scripting/StatisticalAggregationFunctions/stdev.htm)([distinct] expression)

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/Scripting/StatisticalAggregationFunctions/statistical-aggregation-functions.htm)

#### Sterr

Sterr() 用于返回聚合标准误差 (stdev/sqrt(n))，以获得表达式通过由 group by 子句定义的许多记录迭代表示的一系列值。

[**sterr**](https://help.qlik.com/zh-CN/sense/May2026/Subsystems/Hub/Content/Sense_Hub/Scripting/StatisticalAggregationFunctions/sterr.htm) ([distinct] expression)

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/Scripting/StatisticalAggregationFunctions/statistical-aggregation-functions.htm)

#### STEYX

STEYX() 用于返回回归中每个 x 值的估算 y 值的聚合标准误差，以获得通过由 group by 子句定义的许多记录迭代的 x-expression 和 y-expression 的成对数值呈现的一系列坐标。

[**steyx**](https://help.qlik.com/zh-CN/sense/May2026/Subsystems/Hub/Content/Sense_Hub/Scripting/StatisticalAggregationFunctions/steyx.htm) (y-expression, x-expression)

## 图表表达式中的统计聚合函数

以下统计聚合函数可用于图表中。

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/Scripting/StatisticalAggregationFunctions/statistical-aggregation-functions.htm)

#### Avg

Avg() 用于返回在图表维度上迭代的表达式或字段的聚合平均值。

[**avg**](https://help.qlik.com/zh-CN/sense/May2026/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalAggregationFunctionsinCharts/avg.htm)({[SetExpression] [DISTINCT] [TOTAL [&lt;fld{, fld}&gt;]]} expr)

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/Scripting/StatisticalAggregationFunctions/statistical-aggregation-functions.htm)

#### Correl

Correl() 用于返回两个数据集的聚合相关系数。相关函数是数据集之间关系的度量，用于聚合通过图表维度迭代的值对 (x,y)。

[**correl**](https://help.qlik.com/zh-CN/sense/May2026/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalAggregationFunctionsinCharts/correl.htm)({[SetExpression] [TOTAL [&lt;fld {, fld}&gt;]]} value1, value2 )

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/Scripting/StatisticalAggregationFunctions/statistical-aggregation-functions.htm)

#### Fractile

Fractile() 用于查找与通过图表维度迭代的表达式指定的范围中聚合数据的包容性分位数（位数）对应的值。

[**fractile**](https://help.qlik.com/zh-CN/sense/May2026/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalAggregationFunctionsinCharts/fractile.htm)({[SetExpression] [TOTAL [&lt;fld {, fld}&gt;]]} expr, fraction)

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/Scripting/StatisticalAggregationFunctions/statistical-aggregation-functions.htm)

#### FractileExc

FractileExc() 用于查找与通过图表维度迭代的表达式指定的范围中聚合数据的排除性分位数（位数）对应的值。

[**fractileexc**](https://help.qlik.com/zh-CN/sense/May2026/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalAggregationFunctionsinCharts/fractileexc.htm)({[SetExpression] [TOTAL [&lt;fld {, fld}&gt;]]} expr, fraction)

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/Scripting/StatisticalAggregationFunctions/statistical-aggregation-functions.htm)

#### Kurtosis

Kurtosis() 用于查找通过图表维度迭代的表达式或字段的数据聚合范围的峰度。

[**kurtosis**](https://help.qlik.com/zh-CN/sense/May2026/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalAggregationFunctionsinCharts/kurtosis.htm)({[SetExpression] [DISTINCT] [TOTAL [&lt;fld{, fld}&gt;]]} expr)

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/Scripting/StatisticalAggregationFunctions/statistical-aggregation-functions.htm)

#### LINEST\_b

LINEST\_B() 用于返回由方程式 y=mx+b 定义的线性回归的聚合 b 值（y 轴截距），以获得在图表维度上迭代的 x\_value 和 y\_value 表达式指定表达式中成对数值表示的一系列坐标。

[**linest_r2**](https://help.qlik.com/zh-CN/sense/May2026/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalAggregationFunctionsinCharts/linest_r2.htm)({[SetExpression] [TOTAL [&lt;fld{ ,fld}&gt;]] }y\_value, x\_value[, y0\_const[, x0\_const]])

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/Scripting/StatisticalAggregationFunctions/statistical-aggregation-functions.htm)

#### LINEST\_df

LINEST\_DF() 用于返回由方程式 y=mx+b 定义的线性回归的聚合自由度，以获得在图表维度上迭代的 x\_value 和 y\_value 指定表达式中成对数值表示的一系列坐标。

[**linest_df**](https://help.qlik.com/zh-CN/sense/May2026/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalAggregationFunctionsinCharts/linest_df.htm)({[SetExpression] [TOTAL [&lt;fld{, fld}&gt;]]} y\_value, x\_value [, y0\_const [, x0\_const]])

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/Scripting/StatisticalAggregationFunctions/statistical-aggregation-functions.htm)

#### LINEST\_f

LINEST\_F() 用于返回由方程式 y=mx+b 定义的线性回归的聚合 F 统计量 (r2/(1-r2))，以获得在图表维度上迭代的 x\_value 和 y\_value 指定表达式中成对数值表示的一系列坐标。

[**linest_f**](https://help.qlik.com/zh-CN/sense/May2026/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalAggregationFunctionsinCharts/linest_f.htm)({[SetExpression] [TOTAL[&lt;fld{, fld}&gt;]]} y\_value, x\_value [, y0\_const [, x0\_const]])

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/Scripting/StatisticalAggregationFunctions/statistical-aggregation-functions.htm)

#### LINEST\_m

LINEST\_M() 用于返回由方程式 y=mx+b 定义的线性回归的聚合 m 值（斜率），以获得在图表维度上迭代的 x\_value 和 y\_value 表达式中成对数值表示的一系列坐标。

[**linest_m**](https://help.qlik.com/zh-CN/sense/May2026/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalAggregationFunctionsinCharts/linest_m.htm)({[SetExpression] [TOTAL[&lt;fld{, fld}&gt;]]} y\_value, x\_value [, y0\_const [, x0\_const]])

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/Scripting/StatisticalAggregationFunctions/statistical-aggregation-functions.htm)

#### LINEST\_r2

LINEST\_R2() 用于返回由方程式 y=mx+b 定义的线性回归的聚合 r2 值（确定系数），以获得在图表维度上迭代的 x\_value 和 y\_value 表达式中成对数值表示的一系列坐标。

[**linest_r2**](https://help.qlik.com/zh-CN/sense/May2026/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalAggregationFunctionsinCharts/linest_r2.htm)({[SetExpression] [TOTAL [&lt;fld{ ,fld}&gt;]] }y\_value, x\_value[, y0\_const[, x0\_const]])

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/Scripting/StatisticalAggregationFunctions/statistical-aggregation-functions.htm)

#### LINEST\_seb

LINEST\_SEB() 用于返回由方程式 y=mx+b 定义的线性回归的 b 值的聚合标准误差，以获得在图表维度上迭代的 x\_value 和 y\_value 方程式中成对数值表示的一系列坐标。

[**linest_seb**](https://help.qlik.com/zh-CN/sense/May2026/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalAggregationFunctionsinCharts/linest_seb.htm)({[SetExpression] [TOTAL [&lt;fld{ ,fld}&gt;]] }y\_value, x\_value[, y0\_const[, x0\_const]])

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/Scripting/StatisticalAggregationFunctions/statistical-aggregation-functions.htm)

#### LINEST\_sem

LINEST\_SEM() 用于返回由方程式 y=mx+b 定义的线性回归的 m 值的聚合标准误差，以获得在图表维度上迭代的 x\_value 和 y\_value 方程式中成对数值表示的一系列坐标。

[**linest_sem**](https://help.qlik.com/zh-CN/sense/May2026/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalAggregationFunctionsinCharts/linest_sem.htm)([{set\_expression}][ distinct ] [total [&lt;fld {,fld}&gt;] ] y-expression, x-expression [, y0 [, x0 ]] )

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/Scripting/StatisticalAggregationFunctions/statistical-aggregation-functions.htm)

#### LINEST\_sey

LINEST\_SEY() 用于返回由方程式 y=mx+b 定义的线性回归的 y 估计的标准误差，以获得在图表维度上迭代的 x\_value 和 y\_value 表达式中成对数值表示的一系列坐标。

[**linest_sey**](https://help.qlik.com/zh-CN/sense/May2026/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalAggregationFunctionsinCharts/linest_sey.htm)({[SetExpression] [TOTAL [&lt;fld{ ,fld}&gt;]] }y\_value, x\_value[, y0\_const[, x0\_const]])

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/Scripting/StatisticalAggregationFunctions/statistical-aggregation-functions.htm)

#### LINEST\_ssreg

LINEST\_SSREG() 用于返回由方程式 y=mx+b 定义的线性回归的聚合回归平方和，以获得在图表维度上迭代的 x\_value 和 y\_value 表达式中成对数值表示的一系列坐标。

[**linest_ssreg**](https://help.qlik.com/zh-CN/sense/May2026/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalAggregationFunctionsinCharts/linest_ssreg.htm)({[SetExpression] [TOTAL [&lt;fld{ ,fld}&gt;]] }y\_value, x\_value[, y0\_const[, x0\_const]])

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/Scripting/StatisticalAggregationFunctions/statistical-aggregation-functions.htm)

#### LINEST\_ssresid

LINEST\_SSRESID() 用于返回由方程式 y=mx+b 定义的线性回归的聚合剩余平方和，以获得在图表维度上迭代的 x\_value 和 y\_value 指定表达式中成对数值表示的一系列坐标。

[**linest_ssresid**](https://help.qlik.com/zh-CN/sense/May2026/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalAggregationFunctionsinCharts/linest_ssresid.htm)({[SetExpression] [TOTAL [&lt;fld{ ,fld}&gt;]] }y\_value, x\_value[, y0\_const[, x0\_const]])

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/Scripting/StatisticalAggregationFunctions/statistical-aggregation-functions.htm)

#### Median

Median() 用于返回在图表维度上迭代的表达式的聚合值范围的中间值。

[**median**](https://help.qlik.com/zh-CN/sense/May2026/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalAggregationFunctionsinCharts/median.htm)({[SetExpression] [TOTAL [&lt;fld{, fld}&gt;]]} expr)

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/Scripting/StatisticalAggregationFunctions/statistical-aggregation-functions.htm)

#### MutualInfo

MutualInfo 计算 Aggr() 中两个字段之间或聚合值之间的互信息（MI）。

[**MutualInfo**](https://help.qlik.com/zh-CN/sense/May2026/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalAggregationFunctionsinCharts/MutualInfo.htm){[SetExpression] [DISTINCT] [TOTAL target, driver [, datatype [, breakdownbyvalue [, samplesize ]]])

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/Scripting/StatisticalAggregationFunctions/statistical-aggregation-functions.htm)

#### Skew

Skew() 用于返回在图表维度上迭代的表达式或字段的聚合偏度。

[**skew**](https://help.qlik.com/zh-CN/sense/May2026/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalAggregationFunctionsinCharts/skew.htm){[SetExpression] [DISTINCT] [TOTAL [&lt;fld{ ,fld}&gt;]]} expr)

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/Scripting/StatisticalAggregationFunctions/statistical-aggregation-functions.htm)

#### Stdev

Stdev() 用于查找通过图表维度迭代的表达式或字段的数据聚合范围的标准偏差。

[**stdev**](https://help.qlik.com/zh-CN/sense/May2026/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalAggregationFunctionsinCharts/stdev.htm)({[SetExpression] [DISTINCT] [TOTAL [&lt;fld{, fld}&gt;]]} expr)

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/Scripting/StatisticalAggregationFunctions/statistical-aggregation-functions.htm)

#### Sterr

Sterr() 用于查找在通过图表维度迭代的表达式中聚合的值系列的平均值的标准误差 (stdev/sqrt(n))。

[**sterr**](https://help.qlik.com/zh-CN/sense/May2026/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalAggregationFunctionsinCharts/sterr.htm)({[SetExpression] [DISTINCT] [TOTAL[&lt;fld{, fld}&gt;]]} expr)

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/Scripting/StatisticalAggregationFunctions/statistical-aggregation-functions.htm)

#### STEYX

STEYX() 用于返回聚合标准误差，当为线性回归的每个 x 值预测 y 值时，该方程式由 y\_value 和 x\_value 指定表达式中成对数值表示的一系列坐标。

[**steyx**](https://help.qlik.com/zh-CN/sense/May2026/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalAggregationFunctionsinCharts/steyx.htm){[SetExpression] [TOTAL [&lt;fld{, fld}&gt;]]} y\_value, x\_value)