- SERIES_SPEC
- Takes a single input source with multivariate series instances. The payload content type associated with the input is MULTIVAR_REAL. The number of payload fields depends on whether or not weighting is used. The meanings of the payload fields are as follows:
- For linear regression with no weighting:
- First field is the response variable
- Beginning with the second field are the explanatory variables
- For linear regressing with weighting:
- First field is the response variable
- Beginning with the second field are the explanatory variables
- Last field is the weighting value
- For linear regression with no weighting:
- FUNC_PARAMS
-
Name Data Type Description VARIABLES_COUNT Integer Indicator for how many parameters are present in the payload. For linear regression with no weighting, there are 2 parameters (the response variable and the explanatory variable). For linear regression with weighting there are 3 variables (the response variable, the explanatory variable, and the weights). The default is 2. WEIGHTS Integer Indicator that a third series is present in MULTIVAR series-specifications. The third series is interpreted as a series of weights that can be used to perform a weighted least-squares regression solution. A value of 0 indicates no third series. A value of 1 indicates a third series. The default is 0. FORMULA Formula The formula to apply to the input time series. The formula defines the relationship between the explanatory variable and the response variables and conforms to Formula Rules. ALGORITHM Enum, String Algorithm used for the regression. A value of 'QR' means that QR decomposition is used for the regression. A value of 'PSI' means that pseudo-inverse based on singular value decomposition (SVD) is used to solve the regression. COEFF_STATS Integer [Optional] Indicator to include coefficient statistics columns in the primary RETURN TABLE. A value of 0 means do not return the columns. A value of 1 means return the columns. Default is COEFF_STATS(0). For the column names, see TD_LINEAR_REGR Output.
CONF_INT_LEVEL FLOAT [Optional] The confidence interval level value used for coefficient statistics calculation. The value is greater than 0 and less than 1. Default value is 0.90. MODEL_STATS Integer [Optional] Indicator to generate the optional model statistics and available for retrieval using the TD_EXTRACT_RESULTS function. A value of 0 indicates to not generate the statistics. A value of 1 indicates to generate the statistics. Default is 0, do not generate the statistics. RESIDUALS Integer [Optional] Indicator to generate the tertiary (residuals) layer and available for retrieval using the TD_EXTRACT_RESULTS function. A value of 0 indicates to not generate the layer. A value of 1 indicates to generate the layer. Default is 0, do not generate the layer. - INPUT_FMT
- No INPUT_FMT options are available for this function.
- OUTPUT_FMT
- No OUTPUT_FMT options are available for this function.