Based on its neighbourhood this tool calculates for each grid cell various statistical measures. According to Wilson & Gallant (2000) this tool was named 'Residual Analysis (Grid)' in earlier versions.
| | Name | Type | Identifier | Description | Constraints |
| Input | Grid | Grid (input) | GRID | - | - |
| Output | Mean Value (*) | Grid (optional output) | MEAN | - | - |
| Minimum Value (*) | Grid (optional output) | MIN | - | - |
| Maximum Value (*) | Grid (optional output) | MAX | - | - |
| Value Range (*) | Grid (optional output) | RANGE | - | - |
| Standard Deviation (*) | Grid (optional output) | STDDEV | - | - |
| Variance (*) | Grid (optional output) | VARIANCE | - | - |
| Sum (*) | Grid (optional output) | SUM | - | - |
| Difference from Mean Value (*) | Grid (optional output) | DIFF | - | - |
| Deviation from Mean Value (*) | Grid (optional output) | DEVMEAN | - | - |
| Percentile (*) | Grid (optional output) | PERCENT | - | - |
| Median (*) | Grid (optional output) | MEDIAN | - | - |
| Minority (*) | Grid (optional output) | MINORITY | - | - |
| Majority (*) | Grid (optional output) | MAJORITY | - | - |
| Options | Grid system | Grid system | PARAMETERS_GRID_SYSTEM | - | - |
| Include Center Cell | Boolean | BCENTER | - | Default: 1 |
| Kernel Type | Choice | KERNEL_TYPE | The kernel's shape. | Available Choices: [0] Square [1] Circle [2] Annulus [3] Sector Default: 1 |
| Inner Radius | Integer | KERNEL_INNER | cells | Minimum: 0 Default: 0 |
| Radius | Integer | KERNEL_RADIUS | cells | Minimum: 0 Default: 2 |
| Direction | Floating point | KERNEL_DIRECTION | degree | Minimum: -360.000000 Maximum: 360.000000 Default: 0.000000 |
| Tolerance | Floating point | KERNEL_TOLERANCE | degree | Minimum: 0.000000 Maximum: 180.000000 Default: 5.000000 |
| Weighting Function | Choice | DW_WEIGHTING | - | Available Choices: [0] no distance weighting [1] inverse distance to a power [2] exponential [3] gaussian weighting Default: 0 |
| Inverse Distance Weighting Power | Floating point | DW_IDW_POWER | - | Minimum: 0.000000 Default: 1.000000 |
| Inverse Distance Offset | Boolean | DW_IDW_OFFSET | Calculates weights for distance plus one, avoiding division by zero for zero distances | Default: 1 |
| Gaussian and Exponential Weighting Bandwidth | Floating point | DW_BANDWIDTH | - | Minimum: 0.000000 Default: 1.000000 |
| (*) optional |