# T 檢定函數

t 檢定函數用於兩個母體平均數的統計檢查。雙樣本 t 檢定會檢查兩個樣本是否不同，以及是否通常在兩個常態分佈都具有未知變異數且試驗使用小型樣本時使用。

在以下章節中，T 檢定統計檢定函數會根據適用於各類函數的樣本學生檢定加以分組。

使用每個函數中的下拉式功能表，以查看每個函數的簡要描述及語法。按一下語法描述中的函數名稱，以取得進一步詳細資料。

[建立一般 t-test 報表](https://help.qlik.com/zh-TW/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ttest/ttest_t_example.htm)

### 兩組獨立的樣本 T 檢定

下列函數適用於兩組獨立樣本學生 T 檢定。

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

#### ttest\_conf

TTest\_conf 針對兩組獨立樣本傳回彙總 t 檢定信賴區間值。

[**ttest_conf**](https://help.qlik.com/zh-TW/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ttest/ttest_conf.htm) ( grp, value [, sig[, eq\_var]])

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

#### ttest\_df

TTest\_df() 會針對兩組獨立值，傳回彙總的學生 t 檢定值 (自由度)。

[**ttest_df**](https://help.qlik.com/zh-TW/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ttest/ttest_df.htm) (grp, value [, eq\_var)

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

#### ttest\_dif

TTest\_dif() 是一個數值函數，針對兩組獨立值傳回彙總的學生 t 檢定平均差。

[**ttest_dif**](https://help.qlik.com/zh-TW/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ttest/ttest_dif.htm) (grp, value)

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

#### ttest\_lower

TTest\_lower() 會針對兩組獨立值，傳回信賴區間下端的彙總值。

[**ttest_lower**](https://help.qlik.com/zh-TW/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ttest/ttest_lower.htm) (grp, value [, sig[, eq\_var]])

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

#### ttest\_sig

TTest\_sig() 會針對兩組獨立值，傳回彙總的學生 t 檢定雙尾顯著性水平。

[**ttest_sig**](https://help.qlik.com/zh-TW/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ttest/ttest_sig.htm) (grp, value [, eq\_var])

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

#### ttest\_sterr

TTest\_sterr() 會針對兩組獨立值，傳回彙總的學生 t 檢定平均差的標準誤差。

[**ttest_sterr**](https://help.qlik.com/zh-TW/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ttest/ttest_sterr.htm) (grp, value [, eq\_var])

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

#### ttest\_t

TTest\_t() 會針對兩組獨立值傳回彙總 t 值。

[**ttest_t**](https://help.qlik.com/zh-TW/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ttest/ttest_t.htm) (grp, value [, eq\_var])

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

#### ttest\_upper

TTest\_upper() 會針對兩組獨立值，傳回信賴區間上端的彙總值。

[**ttest_upper**](https://help.qlik.com/zh-TW/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ttest/ttest_upper.htm) (grp, value [, sig [, eq\_var]])

### 兩組獨立的加權樣本 T 檢定

下列函數適用於兩組獨立樣本學生 T 檢定，其中輸入資料序列已指定為雙資料行加權的格式。

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

#### ttestw\_conf

TTestw\_conf() 會針對兩組獨立值傳回彙總 t 值。

[**ttestw_conf**](https://help.qlik.com/zh-TW/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ttest/ttestw_conf.htm) (weight, grp, value [, sig[, eq\_var]])

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

#### ttestw\_df

TTestw\_df() 會針對兩組獨立值，傳回彙總的學生 t 檢定 df 值 (自由度)。

[**ttestw_df**](https://help.qlik.com/zh-TW/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ttest/ttestw_df.htm) (weight, grp, value [, eq\_var])

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

#### ttestw\_dif

TTestw\_dif() 會針對兩組獨立值，傳回彙總的學生 t 檢定平均差。

[**ttestw_dif**](https://help.qlik.com/zh-TW/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ttest/ttestw_dif.htm) ( weight, grp, value)

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

#### ttestw\_lower

TTestw\_lower() 會針對兩組獨立值，傳回信賴區間下端的彙總值。

[**ttestw_lower**](https://help.qlik.com/zh-TW/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ttest/ttestw_lower.htm) (weight, grp, value [, sig[, eq\_var]])

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

#### ttestw\_sig

TTestw\_sig() 會針對兩組獨立值，傳回彙總的學生 t 檢定雙尾顯著性水平。

[**ttestw_sig**](https://help.qlik.com/zh-TW/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ttest/ttestw_sig.htm) ( weight, grp, value [, eq\_var])

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

#### ttestw\_sterr

TTestw\_sterr() 會針對兩組獨立值，傳回彙總的學生 t 檢定平均差的標準誤差。

[**ttestw_sterr**](https://help.qlik.com/zh-TW/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ttest/ttestw_sterr.htm) (weight, grp, value [, eq\_var])

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

#### ttestw\_t

TTestw\_t() 會針對兩組獨立值傳回彙總 t 值。

[**ttestw_t**](https://help.qlik.com/zh-TW/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ttest/ttestw_t.htm) (weight, grp, value [, eq\_var])

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

#### ttestw\_upper

TTestw\_upper() 會針對兩組獨立值，傳回信賴區間上端的彙總值。

[**ttestw_upper**](https://help.qlik.com/zh-TW/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ttest/ttestw_upper.htm) (weight, grp, value [, sig [, eq\_var]])

### 單一樣本 T 檢定

下列函數適用於單一樣本學生 T 檢定。

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

#### ttest1\_conf

TTest1\_conf() 針對一組值傳回彙總信賴區間值。

[**ttest1_conf**](https://help.qlik.com/zh-TW/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ttest/ttest1_conf.htm) (value [, sig])

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

#### ttest1\_df

TTest1\_df() 會針對一組值，傳回彙總的學生 t 檢定 df 值 (自由度)。

[**ttest1_df**](https://help.qlik.com/zh-TW/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ttest/ttest1_df.htm) (value)

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

#### ttest1\_dif

TTest1\_dif() 會針對一組值，傳回彙總的學生 t 檢定平均差。

[**ttest1_dif**](https://help.qlik.com/zh-TW/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ttest/ttest1_dif.htm) (value)

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

#### ttest1\_lower

TTest1\_lower() 會針對一組值，傳回信賴區間下端的彙總值。

[**ttest1_lower**](https://help.qlik.com/zh-TW/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ttest/ttest1_lower.htm) (value [, sig])

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

#### ttest1\_sig

TTest1\_sig() 會針對一組值，傳回彙總的學生 t 檢定雙尾顯著性水平。

[**ttest1_sig**](https://help.qlik.com/zh-TW/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ttest/ttest1_sig.htm) (value)

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

#### ttest1\_sterr

TTest1\_sterr() 會針對一組值，傳回彙總的學生 t 檢定平均差的標準誤差。

[**ttest1_sterr**](https://help.qlik.com/zh-TW/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ttest/ttest1_sterr.htm) (value)

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

#### ttest1\_t

TTest1\_t() 會針對一組值傳回彙總 t 值。

[**ttest1_t**](https://help.qlik.com/zh-TW/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ttest/ttest1_t.htm) (value)

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

#### ttest1\_upper

TTest1\_upper() 會針對一組值，傳回信賴區間上端的彙總值。

[**ttest1_upper**](https://help.qlik.com/zh-TW/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ttest/ttest1_upper.htm) (value [, sig])

### 單一加權樣本 T 檢定

下列函數適用於單一樣本學生 T 檢定，其中輸入資料序列已指定為雙資料行加權的格式。

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

#### ttest1w\_conf

TTest1w\_conf() 是一個 numeric 函數，會針對一組值傳回彙總信賴區間值。

[**ttest1w_conf**](https://help.qlik.com/zh-TW/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ttest/ttest1w_conf.htm) (weight, value [, sig])

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

#### ttest1w\_df

TTest1w\_df() 會針對一組值，傳回彙總的學生 t 檢定 df 值 (自由度)。

[**ttest1w_df**](https://help.qlik.com/zh-TW/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ttest/ttest1w_df.htm) (weight, value)

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

#### ttest1w\_dif

TTest1w\_dif() 會針對一組值，傳回彙總的學生 t 檢定平均差。

[**ttest1w_dif**](https://help.qlik.com/zh-TW/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ttest/ttest1w_dif.htm) (weight, value)

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

#### ttest1w\_lower

TTest1w\_lower() 會針對一組值，傳回信賴區間下端的彙總值。

[**ttest1w_lower**](https://help.qlik.com/zh-TW/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ttest/ttest1w_lower.htm) (weight, value [, sig])

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

#### ttest1w\_sig

TTest1w\_sig() 會針對一組值，傳回彙總的學生 t 檢定雙尾顯著性水平。

[**ttest1w_sig**](https://help.qlik.com/zh-TW/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ttest/ttest1w_sig.htm) (weight, value)

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

#### ttest1w\_sterr

TTest1w\_sterr() 會針對一組值，傳回彙總的學生 t 檢定平均差的標準誤差。

[**ttest1w_sterr**](https://help.qlik.com/zh-TW/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ttest/ttest1w_sterr.htm) (weight, value)

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

#### ttest1w\_t

TTest1w\_t() 會針對一組值傳回彙總 t 值。

[**ttest1w_t**](https://help.qlik.com/zh-TW/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ttest/ttest1w_t.htm) ( weight, value)

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

#### ttest1w\_upper

TTest1w\_upper() 會針對一組值，傳回信賴區間上端的彙總值。

[**ttest1w_upper**](https://help.qlik.com/zh-TW/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ttest/ttest1w_upper.htm) (weight, value [, sig])