Calculate Location Quotients (Spatial Statistics Tools)
Summary
Calculates location quotients (LQ) to measure how concentrated a variable is for each feature relative to a broader reference region. LQs compare a feature's share to a benchmark share. Focal location quotients (FLQs) incorporate spatial structure by comparing a feature and its neighborhood's share to a benchmark share. The tool provides several benchmark options so local rates can be compared to a global, category-based (case field), or user-defined reference rate.
Usage
If the Input Table or Features parameter value is a table, the options for the Location Quotient Type parameter will be limited to Location Quotient. The Focal Local Quotient option is only valid for spatial data.
The tool provides several Neighborhood Type parameter options. However, to customize the neighborhoods further, use the Neighborhood Explorer or the Generate Spatial Weights Matrix tool to configure the neighborhoods and to export a
.swmfile. Use the.swmfile as the Spatial Weights Matrix parameter value.If the Focal Location Quotient option is specified as the Location Quotient Type parameter value, 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 location quotient of the focal feature.
For line and polygon features, feature centroids are used in distance computations. For multipoints, polylines, or polygons with multiple parts, the centroid is computed using the weighted mean center of all feature parts.
The tool creates an output feature class with a field for the location quotient, benchmark type, and benchmark value for each analysis variable. If the Append Fields to Input parameter is checked, then the fields will be added to the input feature class.
The tools adds the following charts to the Contents pane:
- Distribution of Location Quotients-A histogram of the location quotients. If the Benchmark Type parameter value is Stratified (case field) the chart will include a histogram for each unique case field.
- Relationship between the Location Quotient and Total Variable-A scatterplot showing the relationship between the total variable and the location quotient for each feature. If the Benchmark Type parameter value is Stratified (case field), each color represents a unique case field, otherwise the color symbolizes the location quotient value and matches the layer's color ramp.
The analysis variable value, at a location, is a subset of the total variable value. The analysis variable value can never exceed the total variable value.
When using the Case Field parameter, keep the following in mind:
- The Case Field is used to group features. Each group will have a separate reference rate calculated using the members of the group. The case field can be of integer, date, or string type. Records with null values for the case field will be excluded from the analysis.
- Use the Case Field parameter to group features for separate reference rates. For example, select a state field as the Case Field value, when you have a dataset containing US healthcare employment counts and you're interested in comparing each county's employment rate to the state's employment rate rather than the national rate.
- If you calculate a focal location quotient and use a case field to group features, neighbors will only include features with the same case field value.
Parameters
| Label | Explanation | Data type |
|---|---|---|
|
Input Table or Features |
The table or features containing the fields that will be used to calculate location quotients. |
Table View |
|
Analysis Variables |
The fields containing count values to be evaluated for relative concentration. Separate location quotients are calculated for each Analysis Variables value. Location quotients are calculated by dividing each Analysis Variables value by the Total Variable value. |
Value Table |
|
Total Variable |
The field containing the total count of which the analysis variables are a subset. This value represents the whole against which each analysis variable is compared. |
Field |
|
Append Fields to Input (Optional) |
Specifies whether the results will be appended to the input data or provided as an output feature class or table.
|
Boolean |
|
Output Table or Features (Optional) |
The output features or table that will include the results. |
Feature Class; Table |
|
Benchmark Type (Optional) |
Specifies how the reference rate will be calculated.
|
String |
|
Case Field (Optional) |
The field used to group features for separate reference rate calculations. |
Field |
|
Reference Rate (Optional) |
A value between 0 and 1 that will be used as the reference rate. |
Double |
|
Location Quotient Type (Optional) |
Specifies how location quotients are calculated for each feature.
|
String |
|
Neighborhood Type (Optional) |
Specifies how neighbors of each feature will be determined.
|
String |
|
Threshold Distance (Optional) |
The distance from the feature to search for neighbors. All features within this distance will be included as neighbors. When this parameter is unspecified, a default threshold value is computed based on the output feature class extent and the number of features. The distance from the feature to search for neighbors. All features within this distance will be included as neighbors. When this parameter is left blank, a default threshold value is computed based on the output feature class extent and the number of features. |
Linear Unit |
|
Number of Neighbors (Optional) |
The number of neighbors that each feature will have in its neighborhood. |
Long |
|
Spatial Weights Matrix File (Optional) |
A spatial weights matrix ( |
File |
Derived output
| Label | Explanation | Data type |
|---|---|---|
|
Updated Input Table |
The updated input table. |
Table View |
Environments
Licensing information
- Basic: Yes
- Standard: Yes
- Advanced: Yes