Lag is located under Forecasting ( ) in Data Preparation, in the left task pane. Use the drag-and-drop method to use the algorithm in the canvas. Click the algorithm to view and select different properties for analysis.
Refer to Properties of Lag.
The available properties of Lag are as shown in the figures given below. Figure 2 below shows the basic configurations for Lag.
The table given below describes the different fields present on the properties of Lag.
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. |
| |
Time ID Variable | It allows you to select the time variable. | The dataset should contain at least one time variable. | |
Target Variable | It allows you to select the variable for performing the Lag. | The variable selected should be discrete. | |
Group By | It allows you to select the function for grouping identical data. |
| |
Advanced | Interval | It allows you to select the interval you want to calculate the Lag. |
|
Start Time | It allows you to select the time beginning which the data is sliced. | By default, the value is None. | |
End Time | It allows you to select the time ending in which the data is sliced. | By default, the value is None. | |
Lag | It allows you to select the number by which the data points are shifted |
| |
Node Configuration | It allows you to select the instance of the AWS server to provide control on the execution of a task in a workbook or workflow. | For more details, refer to Worker Node Configuration. |
Consider a Temperature dataset with 10 records. It contains columns for Date and corresponding daily temperature. A snippet of the input data is shown in the figure below.
We apply Lag to the input data. The selected values for Lag are given below.
Property | Value |
Time ID Variable | Date |
Target Variable | Temp |
Group By | — |
Interval | Day |
Start Time | None |
End Time | None |
Lag | 2 |
On the Data pane, you see that