I am using Geographically Weighted Regression (GWR) in ArcMap 10.2 to look at the effect of environmental and human factors on lion occurrence in Namibia.
I created a vector grid over the study area, calculated the frequency of occurrence of lion GPS points, calculated the distance to each nearest feature using the near tool from the analysis toolbox and "coded" each grid cell with the categorical values.
When I run a GWR to look at the effect of say distance to river it works fine and I have found the suitable bandwidth for the analysis.
When I run a GWR to understand the effect of land use (i.e. national park or not national park) it calculates the values along the edges of the parks boundaries but the grid cells in the park come out blank after the GWR run and in the attribute tables it says null. I coded each vector grid cell with "1" if it is inside the national park and "0" when it was outside. When I input the data into GWR, the dependent variable was the lion frequency of occurrence and the explanatory variable is landuse (which is the the 1 and 0's for park and non park). I also used the near tool to calculate the distance to the park boundary but this gave similar results when using GWR and gives everything inside the park a value of 0.
The lions do spend most of their time in the park and that is why I wanted to show that the fact that the park there is a contributing factor that lions still occur in that area.
Why would the values come out blank? If it helps to explain the situation better I can also upload an image of the results.