OLS with Spatial Test

Ordinary least squares with results and diagnostics. More information can be found at here

Note: The input table should not contain missing values. You can use the Missing Value node to replace them.

Options

Geometry column

Select the geometry column to use.

ID column

Select the column which contains for each observation in the input data a unique ID, it should be an integer column. The IDs must match with the values of the Spatial Weights node ID column. If 'none' is selected, the IDs will be automatically generated from 0 to the number of rows flowing the order of the first input table.

Dependent variable

The column containing the dependent variable to use for the calculation of the spatial OLS model.

Independent variables

The columns containing the independent variables to use for the calculation of the spatial OLS model.

Spatial Diagnostics

If selected, the node computes the Anselin-Kelejian test

Robust

If ‘white’, then a White consistent estimator of the variance-covariance matrix is given. If ‘hac’, then a HAC consistent estimator of the variance-covariance matrix is given. Set to None for default.

Sig2n k

If True, then use n-k to estimate sigma^2. If False, use n. Default set to True.

Moran

If True, compute Moran’s I on the residuals. Note: requires spat_diag=True. Default set to True.

White Test

If True, compute White’s specification robust test (requires nonspat_diag=True). Default set to True.

Advanced Settings

Advanced Setting

VM

If True, include variance-covariance matrix in summary results. Default set to False.

Input Ports

Icon

Input Table with dependent and independent variables for calculation of the spatial OLS model.

Icon

Input Table with spatial weights for calculation of the spatial OLS model.

Output Ports

Icon

Description of the spatial OLS model.

Icon

Variable and Coefficient Table of the spatial OLS model.

Popular Predecessors

  • No recommendations found

Popular Successors

  • No recommendations found

Views

Model summary view
Model summary view of the spatial OLS model.

Workflows

  • No workflows found

Links

Developers

You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.