AnsweredAssumed Answered

Categorical variables while using Geographically Weighted Regression (GWR)

Question asked by nnawrin29 on Mar 5, 2020
Latest reply on Mar 5, 2020 by Dan_Patterson

Hello!
I have a question regarding Geographically Weighted Regression (GWR) in ArcGIS. So, I am using ArcMap 10.2 version. I have a large dataset of different parameters of groundwater geochemical constituents and physiography. In GWR model, my dependent variable is chemical concentration (continuous variable) and one of my explanatory variables is Physiography (categorical variable). I have classified eight physiography into 8 classes by numbering them from 1 to 8 and ran GWR model. My aim was to establish relationship between groundwater quality and physiography, i.e., to measure the R2 value.
Recently I have tried the same number of classes (8) in different order and found slightly low R2 value.

I have found in literature that “Dependent and Explanatory variables should be numeric fields containing a variety of values. Linear regression methods, like GWR, are not appropriate for predicting binary outcomes (e.g., all of the values for the dependent variable are either 1 or 0).”

So, my question is – Since one of my explanatory variable, Physiography, has dummy variables i.e. 1 to 8, Can GWR model run properly for this type of variables?

And why the R2 value was changed when I randomly changed the order of class for physiography?

Outcomes