statistics
Last updated
Was this helpful?
Last updated
Was this helpful?
This module contains functions to perform spatial statistics calculations.
Description
This function computes the Getis-Ord Gi* statistic for each Quadbin index in the input array.
input
: SUPER
input data with the indexes and values of the cells.
size
: INT8
size of the Quadbin k-ring (distance from the origin). This defines the area around each index cell that will be taken into account to compute its Gi* statistic.
kernel
: VARCHAR
to compute the spatial weights across the kring. Available functions are: uniform, triangular, quadratic, quartic and gaussian.
Return type
SUPER
Example
Description
input
: SUPER
input data with the indexes and values of the cells.
size
: INT8
size of the quadkey k-ring (distance from the origin). This defines the area around each index cell where the distance decay will be applied.
Return type
FLOAT8
Example
Description
z_score
: FLOAT8
input data with the indexes and values of the cells.
Return type
FLOAT8
Example
This function computes the from the input array of quadkey indexes.
decay
: VARCHAR
decay function to compute the . Available functions are: uniform, inverse, inverse_square and exponential.
This function computes the p-value (two-tails test) of a given assuming the population follows a normal distribution where the mean is 0 and the standard deviation is 1. The z-score is a measure of how many standard deviations below or above the population mean a value is. It gives you an idea of how far from the mean a data point is. The is the probability that a randomly sampled point has a value at least as extreme as the point whose z-score is being tested.