Geographically Weighted Regression

GeographicallyWeightedRegression workflow diagram


Performs Geographically Weighted Regression (GWR), which is a local form of linear regression used to model spatially varying relationships.

Choose a layer to analyze


The layer containing point features that contain the dependent and explanatory variables.

In addition to choosing a layer from your map, you can choose Choose Analysis Layer at the bottom of the drop-down list to browse to your contents for a big data file share dataset or feature layer. You may optionally apply a filter on your input layer or apply a selection on hosted layers added to your map. Filters and selections are only applied for analysis.

Choose the field to model


The numeric field containing the observed values to be modeled and the type of value you are modeling.

Choose the explanatory fields


One or more fields representing the explanatory variables (fields) that help predict the value. Only numeric fields will be visible.

Choose how the neighborhood will be determined


Specifies whether the neighborhood used is constructed as a fixed distance or allowed to vary in spatial extent depending on the density of the features.

  • Number of Neigbors—The neighborhood size is a function of a specified number of neighbors included in calculations for each feature. Where features are dense, the spatial extent of the neighborhood is smaller; where features are sparse, the spatial extent of the neighborhood is larger. When you pick this option, select the number of neighbors you want to include. The number should be an integer between 2 and 5000.
  • Distance Band—The neighborhood size is a constant or fixed distance for each feature. When you pick this option, select the distance band to represent the spatial extent of the neighborhood.

Choose how neighboring features are weighted


Specifies the kernel type that will be used to provide the spatial weighting in the model. The kernel defines how each feature is related to other features within its neighborhood.

  • Bisquare—A weight of 0 will be assigned to any feature outside the neighborhood specified. This is the default.
  • Gaussian—All features will receive weights, but weights become exponentially smaller the farther away from the target feature.

Result layer name


The name of the layer that will be created. If you are writing to an ArcGIS Data Store, your results will be saved in My Content and added to the map. If you are writing to a big data file share, your results will be stored in the big data file share and added to its manifest. They will not be added to the map. The default name is based on the tool name and the input layer name. If the layer already exists, the tool will fail.

When writing to ArcGIS Data Store (relational or spatiotemporal big data store) using the Save result in drop-down box, you can specify the name of a folder in My Content where the result will be saved.