Dear Sir/Madam,
I met a problem when I used GWR4.0 software. I chose Logistic (binary) 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,
Ella
The output result is listed below:
*****************************************************************************
Program began at 23/02/2015 5:21:33 PM
*****************************************************************************
Session: 2
Session control file: D:\New folder (2)\b.ctl
*****************************************************************************
Data filename: D:\New folder (2)\try2.csv
Number of areas/points: 200
Model settings---------------------------------
Model type: Logistic
Geographic kernel: adaptive bi-square
Method for optimal bandwidth search: Golden section search
Criterion for optimal bandwidth: AICc
Number of varying coefficients: 10
Number of fixed coefficients: 0
Modelling options---------------------------------
Standardisation of independent variables: On
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---------------------------------
Areal key is not specified
Easting (x-coord): field14 : X
Northing (y-coord): field15: Y
Cartesian coordinates: Euclidean distance
Dependent variable: field2: rural
Offset variable is not specified
Intercept: varying (Local) intercept
Independent variable with varying (Local) coefficient: field3: elevation
Independent variable with varying (Local) coefficient: field4: slope
Independent variable with varying (Local) coefficient: field5: precipitaion
Independent variable with varying (Local) coefficient: field6: dis_railway
Independent variable with varying (Local) coefficient: field7: dis_cbd
Independent variable with varying (Local) coefficient: field8: dis_coast
Independent variable with varying (Local) coefficient: field9: dis_road
Independent variable with varying (Local) coefficient: field10: popdensity
Independent variable with varying (Local) coefficient: field11: income
*****************************************************************************
*****************************************************************************
Global regression result
*****************************************************************************
< Diagnostic information >
Number of parameters: 10
Deviance: NaN
Classic AIC: NaN
AICc: NaN
BIC/MDL: NaN
Percent deviance explained NaN
Variable Estimate Standard Error z(Est/SE) Exp(Est)
-------------------- --------------- --------------- --------------- ---------------
Intercept NaN NaN NaN NaN
elevation NaN NaN NaN NaN
slope NaN NaN NaN NaN
precipitaion NaN NaN NaN NaN
dis_railway NaN NaN NaN NaN
dis_cbd NaN NaN NaN NaN
dis_coast NaN NaN NaN NaN
dis_road NaN NaN NaN NaN
popdensity NaN NaN NaN NaN
income NaN NaN NaN NaN
*****************************************************************************
GWR (Geographically weighted regression) bandwidth selection
*****************************************************************************
Bandwidth search <golden section search>
Limits: 70, 200
Golden section search begins...
Initial values
pL Bandwidth: 104.073 Criterion: NaN
p1 Bandwidth: 140.714 Criterion: NaN
p2 Bandwidth: 163.359 Criterion: NaN
pU Bandwidth: 200.000 Criterion: NaN
Error in the initial weight calculation loop
Index was outside the bounds of the array.Best bandwidth size 0.000
Minimum AICc NaN
Error: GWR computation was failed: optional tests and/or model selection are cancelled.
*****************************************************************************
Program terminated at 23/02/2015 5:21:34 PM
Dear Sir/Madam,
I met a problem when I used GWR4.0 software. I chose Logistic (binary) model. I cannot understand why the results showed “Error: GWR computation was failed: optional tests and/or model selection are cancelled.”. Please find attached the data I used. It would be greatly appreciated if you could help me.
Best wishes,
Syahrul
The output result is listed below: