Calculate Rates (Spatial Statistics Tools)
Summary
Calculates crude or smoothed rates. The global empirical Bayes rate method smooths the rates toward a global reference rate. The local empirical Bayes, locally weighted average, and locally weighted median rate methods use local neighbors to spatially smooth rates.
Usage
If the Input Table or Features parameter value is a table, the options for the Rate Method parameter will be limited to Crude Rate and Global Empirical Bayes. The Local Empirical Bayes, Locally Weighted Average, and Locally Weighted Median options are only valid for spatial data.
The tool provides several Neighborhood Type parameter options. However, to customize the neighborhoods further, use Neighborhood Explorer to configure the neighborhoods and to export a
.swmfile. Use the.swmfile as the Spatial Weights Matrix parameter value.If the rate values are small, they may be difficult to interpret. Use the Rate Multiplier parameter to scale the rates or to report the rates per specific unit of population. For example, if the Rate Multiplier value is 10,000, the rates will be reported as a number per 10,000 people.
If a spatial smoothing rate method is selected, each focal feature will be included in its own neighborhood. For example, if the Neighborhood Type parameter value is K Nearest Neighbors and the Number of Neighbors parameter value is 7, each feature will have a neighborhood with 8 features. The entire neighborhood is used to calculate the rate of a focal feature.
If the Rate Method parameter is set to Local Empirical Bayes, Locally Weighted Average, or Locally Weighted Median, the output will include a
Number of Non-Null Neighborsfield. This field contains the number of neighbors, including the focal feature, that did not have a negative or null value in the Population Field and Count Field parameter values.Features with a value of 0 in the Population Field value will receive a null crude rate value.
If the Rate Method parameter is set to Locally Weighted Average or Locally Weighted Median, the output will include a
Fill Missing Valuefield. This field indicates whether a rate was imputed for a feature with a negative or null Count Field or Population Field value.
Parameters
| Label | Explanation | Data type |
|---|---|---|
|
Input Table or Features |
The table or features containing count fields and population fields to calculate rates. |
Table View |
|
Rate Fields |
The count and population fields that will be used to calculate rates. Value table columns:
|
Value Table |
|
Append Fields to Input (Optional) |
Specifies whether fields will be appended to the input dataset or saved to an output table or feature class.
|
Boolean |
|
Output Table or Features (Optional) |
The output table or feature class containing the rates and additional fields to help evaluate the rates. |
Feature Class; Table |
|
Rate Method (Optional) |
Specifies the method that will be used to calculate rates.
|
String |
|
Probability Distribution |
Specifies the probability distribution of the count field.
|
String |
|
Neighborhood Type (Optional) |
Specifies the method that will be used to identify the neighbors of each feature.
|
String |
|
Distance Band (Optional) |
The distance from each feature that will be used to search for neighbors. All features within this distance will be included as neighbors. |
Linear Unit |
|
Number of Neighbors (Optional) |
The number of neighbors that will be included in a feature's neighborhood. |
Long |
|
Spatial Weights Matrix (Optional) |
The path and file name of the spatial weights matrix file that defines the spatial relationships among features. |
File |
|
Local Weighting Scheme (Optional) |
Specifies the weighting scheme that will be applied to neighbors when calculating local statistics.
|
String |
|
Kernel Bandwidth (Optional) |
The bandwidth of the bisquare or Gaussian local weighting schemes. If no value is provided, one will be estimated during processing and included as a geoprocessing message. |
Linear Unit |
|
Rate Multiplier |
A constant value that will be multiplied by the rates. This parameter can be used to scale the rates or to report the rates per specific unit of population. For example, when the value is set to 10,000, the rates will be reported as a number per 10,000 people. |
Long |
Derived output
| Label | Explanation | Data type |
|---|---|---|
|
Updated Input Table |
The updated input table. |
Table View |
|
Output Layer Group |
If a feature class is specified for the Input Table or Features parameter, a group layer is output with a layer for each rate specified in the Rate Fields parameter. |
Group Layer |
Environments
Licensing information
- Basic: Yes
- Standard: Yes
- Advanced: Yes



