#### Overview of this book

Spatial statistics has the potential to provide insight that is not otherwise available through traditional GIS tools. This book is designed to introduce you to the use of spatial statistics so you can solve complex geographic analysis. The book begins by introducing you to the many spatial statistics tools available in ArcGIS. You will learn how to analyze patterns, map clusters, and model spatial relationships with these tools. Further on, you will explore how to extend the spatial statistics tools currently available in ArcGIS, and use the R programming language to create custom tools in ArcGIS through the ArcGIS Bridge using real-world examples. At the end of the book, you will be presented with two exciting case studies where you will be able to practically apply all your learning to analyze and gain insights into real estate data.
Title Page
Credits
www.PacktPub.com
Customer Feedback
Free Chapter
Introduction to Spatial Statistics in ArcGIS and R
Measuring Geographic Distributions with ArcGIS Tools
Analyzing Patterns with ArcGIS Tools
Modeling Spatial Relationships with ArcGIS Tools
Working with the Utilities Toolset
Introduction to the R Programming Language
Creating Custom ArcGIS Tools with ArcGIS Bridge and R
Application of Spatial Statistics to Crime Analysis
Application of Spatial Statistics to Real Estate Analysis

## The Calculate Distance Band from Neighbor Count tool

The `Calculate Distance Band from Neighbor Count` tool returns the minimum, maximum, and average distance to the specified nth nearest neighbor. This tool requires several inputs including an input feature class, the number of neighbors to analyze, and the distance method. If the input feature class is a polygon or polyline, it will use the centroid of the feature as the input feature. This tool is used as a support tool when using the `Hot Spot Analysis`, `Cluster and Outlier Analysis`, and `Spatial Autocorrelation` tools. The maximum distance reported by the `Calculate Distance Band from Neighbor Count` tool can be used as an input to the `Distance Band or Threshold` parameter for these tools. In this exercise, you'll learn how to use the tool to generate the distance band for the `Hot Spot Analysis` tool.

### Running the Calculate Distance Band from Neighbor Count tool

Let's see how to use the `Calculate Distance Band from Neighbor Count` tool by performing...