StationarityTest

class hana_ai.tools.hana_ml_tools.ts_check_tools.StationarityTest(connection_context: ConnectionContext, return_direct: bool = False)

This tool calls stationarity test for the given time series data.

Parameters:
connection_contextConnectionContext

Connection context to the HANA database.

Returns:
str

The stationarity statistics of the time series data.

Note

args_schema is used to define the schema of the inputs as follows:

Field

Description

table_name

the name of the table. If not provided, ask the user. Do not guess.

key

the key of the dataset. If not provided, ask the user. Do not guess.

endog

the endog of the dataset. If not provided, ask the user. Do not guess

schema_name

the schema_name of the table, it is optional

method

the method of the stationarity test chosen from {'kpss', 'adf'}, it is optional

mode

the mode of the stationarity test chosen from {'level', 'trend', 'no'}, it is optional

lag

the lag of the stationarity test, it is optional

probability

the confidence level for confirming stationarity, it is optional

name: str

Name of the tool.

description: str

Description of the tool.

connection_context: ConnectionContext

Connection context to the HANA database.