One Sample t Test is located under Model Studio > Statistical Analysis > One sample t Test.
Use the drag-and-drop method (or double-click on the node) to use the algorithm in the canvas. Then, Click the algorithm to view and select different properties for analysis.
The table below shows the properties of one sample t-test
Field | Description | Remark |
---|---|---|
Run | It allows you to run the node. | - |
Explore | It allows you to explore the successfully executed node. | - |
Vertical Ellipses | The available options are
| - |
Task Name | It is the name of the task selected on the workbook canvas. | You can click the text field to edit or modify the task name as required. |
Features | It allows you to select the column for performing the test | Only numerical features can be selected |
Population Mean | It allows you to enter a value for the population mean | - |
Level of Significance | It allows you to enter the alpha value or a significance level |
|
Advanced | ||
Alternative | It defines the alternative hypothesis |
|
Nan Policy | It defines how to handle nan values |
|
Keepdims | It allows to broadcast the result correctly against the input array. | - |
We consider the credit card balance dataset, which includes columns such as Age, balance, cards, and so on.
A snippet of input data is shown below.
We select Age as the feature and set the population mean to 55.
The result page of one sample t-test is displayed below.
From the above result, we can conclude that the sample mean is equal to the population mean.