Dear Sir/Madam,
I met a problem when I used GWR4.0 software. I chose Poison (count) model. I cannot understand why the results showed “NaN”. Please find attached the data I used. It would be greatly appreciated if you could help me.
Best wishes,
The output result is listed below:
*****************************************************************************
* Semiparametric Geographically Weighted Regression *
* Release 1.0.90 (GWR 4.0.90) *
* 12 May 2015 *
* (Originally coded by T. Nakaya: 1 Nov 2009) *
* *
* Tomoki Nakaya(1), Martin Charlton(2), Chris Brunsdon (2) *
* Paul Lewis (2), Jing Yao (3), A Stewart Fotheringham (4) *
* (c) GWR4 development team *
* (1) Ritsumeikan University, (2) National University of Ireland, Maynooth, *
* (3) University of Glasgow, (4) Arizona State University *
*****************************************************************************
Program began at 8/24/2021 9:38:47 AM
*****************************************************************************
Session: FHD
Session control file: C:\Users\Alfahad Khan\Desktop\GWR\3ed\fhd.ctl
*****************************************************************************
Data filename: C:\Users\Alfahad Khan\Desktop\GWR\3ed\sp2.dbf
Number of areas/points: 36
Model settings---------------------------------
Model type: Poisson
Geographic kernel: adaptive bi-square
Method for optimal bandwidth search: Golden section search
Criterion for optimal bandwidth: AICc
Number of varying coefficients: 2
Number of fixed coefficients: 0
Modelling options---------------------------------
Standardisation of independent variables: OFF
Testing geographical variability of local coefficients: OFF
Local to Global Variable selection: OFF
Global to Local Variable selection: OFF
Prediction at non-regression points: OFF
Variable settings---------------------------------
Area key: field14: ID
Easting (x-coord): field16 : x
Northing (y-coord): field17: y
Lat-lon coordinates: Spherical distance
Dependent variable: field8: TOTcases
Offset variable: field15: exp
Intercept: varying (Local) intercept
Independent variable with varying (Local) coefficient: field11: median
*****************************************************************************
*****************************************************************************
Global regression result
*****************************************************************************
< Diagnostic information >
Number of parameters: 2
Deviance: 195649.765411
Classic AIC: 195653.765411
AICc: 195654.129048
BIC/MDL: 195656.932449
Percent deviance explained 0.271883
Variable Estimate Standard Error z(Est/SE) Exp(Est)
-------------------- --------------- --------------- --------------- ---------------
Intercept 0.647870 0.001868 346.822735 1.911465
median -0.457419 0.001854 -246.664190 0.632915
*****************************************************************************
GWR (Geographically weighted regression) bandwidth selection
*****************************************************************************
Bandwidth search <golden section search>
Limits: 44, 36
Golden section search begins...
Initial values
pL Bandwidth: 41.903 Criterion: NaN
p1 Bandwidth: 39.648 Criterion: NaN
p2 Bandwidth: 38.255 Criterion: NaN
pU Bandwidth: 36.000 Criterion: 188724.880
Best bandwidth size 0.000
Minimum AICc NaN
Error: GWR computation was failed: optional tests and/or model selection are cancelled.
*****************************************************************************
Program terminated at 8/24/2021 9:38:47 AM