# Funções de teste Z

Um exame estatístico de duas médias populacionais. Um teste z de duas amostras examina se duas amostras são diferentes. Normalmente, é usado quando duas distribuições normais têm variâncias conhecidas e quando um experimento usa um tamanho grande de amostra.

No teste Z, as funções estatísticas de teste são agrupadas de acordo com o tipo de série de dados de entrada que se aplica à função.

Se a função for usada no script de carga dos dados, os valores serão iterados com base em um número de registros que são definidos por uma cláusula group by.

Se a função for usada para expressões de gráficos, os valores serão iterados com base nas dimensões do gráfico.

[Exemplos de como usar funções z-test](https://help.qlik.com/pt-BR/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ztest/ztest-example.htm)

Use a caixa suspensa em cada função para ver uma breve descrição e a sintaxe de cada função. Clique no nome da função na descrição da sintaxe para obter detalhes.

### Funções de formato de uma coluna

As funções a seguir aplicam-se aos testes z com séries de dados de entrada simples.

[](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ztest/z_tests.htm)

#### ztest\_conf

ZTest\_conf() retorna o valor z agregado de duas séries de valores.

[**ztest_conf**](https://help.qlik.com/pt-BR/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ztest/ztest_conf.htm) (value [, sigma [, sig ])

[](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ztest/z_tests.htm)

#### ztest\_dif

ZTest\_dif() retorna a diferença média agregada do teste z referente a uma série de valores.

[**ztest_dif**](https://help.qlik.com/pt-BR/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ztest/ztest_dif.htm) (value [, sigma])

[](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ztest/z_tests.htm)

#### ztest\_sig

ZTest\_sig() retorna o nível de significância agregado do teste z bicaudal, referente a uma série de valores.

[**ztest_sig**](https://help.qlik.com/pt-BR/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ztest/ztest_sig.htm) (value [, sigma])

[](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ztest/z_tests.htm)

#### ztest\_sterr

ZTest\_sterr() retorna o erro padrão agregado da diferença média do teste z, referente a uma série de valores.

[**ztest_sterr**](https://help.qlik.com/pt-BR/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ztest/ztest_sterr.htm) (value [, sigma])

[](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ztest/z_tests.htm)

#### ztest\_z

ZTest\_z() retorna o valor z agregado de duas séries de valores.

[**ztest_z**](https://help.qlik.com/pt-BR/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ztest/ztest_z.htm) (value [, sigma])

[](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ztest/z_tests.htm)

#### ztest\_lower

ZTest\_lower() retorna o valor agregado da extremidade inferior do intervalo de confiança, referente a duas séries independentes de valores.

[**ztest_lower**](https://help.qlik.com/pt-BR/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ztest/ztest_lower.htm) (grp, value [, sig [, eq\_var]])

[](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ztest/z_tests.htm)

#### ztest\_upper

ZTest\_upper() retorna o valor agregado da extremidade superior do intervalo de confiança, referente a duas séries independentes de valores.

[**ztest_upper**](https://help.qlik.com/pt-BR/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ztest/ztest_upper.htm) (grp, value [, sig [, eq\_var]])

### Funções de formato de duas colunas ponderadas

As funções a seguir aplicam-se aos testes z, nos quais a série de dados de entrada é fornecida em um formato de duas colunas ponderadas.

[](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ztest/z_tests.htm)

#### ztestw\_conf

ZTestw\_conf() retorna o valor de intervalo de confiança z agregado referente a uma série de valores.

[**ztestw_conf**](https://help.qlik.com/pt-BR/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ztest/ztestw_conf.htm) (weight, value [, sigma [, sig]])

[](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ztest/z_tests.htm)

#### ztestw\_dif

ZTestw\_dif() retorna a diferença média agregada do teste z referente a uma série de valores.

[**ztestw_dif**](https://help.qlik.com/pt-BR/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ztest/ztestw_dif.htm) (weight, value [, sigma])

[](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ztest/z_tests.htm)

#### ztestw\_lower

ZTestw\_lower() retorna o valor agregado da extremidade inferior do intervalo de confiança, referente a duas séries independentes de valores.

[**ztestw_lower**](https://help.qlik.com/pt-BR/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ztest/ztestw_lower.htm) (weight, value [, sigma])

[](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ztest/z_tests.htm)

#### ztestw\_sig

ZTestw\_sig() retorna o nível de significância agregado do teste z bicaudal, referente a uma série de valores.

[**ztestw_sig**](https://help.qlik.com/pt-BR/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ztest/ztestw_sig.htm) (weight, value [, sigma])

[](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ztest/z_tests.htm)

#### ztestw\_sterr

ZTestw\_sterr() retorna o erro padrão agregado da diferença média do teste z, referente a uma série de valores.

[**ztestw_sterr**](https://help.qlik.com/pt-BR/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ztest/ztestw_sterr.htm) (weight, value [, sigma])

[](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ztest/z_tests.htm)

#### ztestw\_upper

ZTestw\_upper() retorna o valor agregado da extremidade superior do intervalo de confiança, referente a duas séries independentes de valores.

[**ztestw_upper**](https://help.qlik.com/pt-BR/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ztest/ztestw_upper.htm) (weight, value [, sigma])

[](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ztest/z_tests.htm)

#### ztestw\_z

ZTestw\_z() retorna o valor z agregado de duas séries de valores.

[**ztestw_z**](https://help.qlik.com/pt-BR/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ztest/ztestw_z.htm) (weight, value [, sigma])