
Analytics Toolbox for Redshift
statistics
This module contains functions to perform spatial statistics calculations.
MORANS_I_QUADBIN
Description
This function computes the Moran’s I spatial autocorrelation from the input array of quadkey indexes.
input
:SUPER
input data with the indexes and values of the cells.size
:INT8
size of the quadkey kring (distance from the origin). This defines the area around each index cell where the distance decay will be applied.decay
:VARCHAR
decay function to compute the distance decay. Available functions are: uniform, inverse, inverse_square and exponential.
Return type
FLOAT8
Example
|
|