pysal / mgwr

Multiscale Geographically Weighted Regression (MGWR)
https://mgwr.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
368 stars 126 forks source link

How to calculate the significance of variables in MGWR? #113

Open dickwxyz opened 2 years ago

dickwxyz commented 2 years ago

Is mgwr_results.params[:,i].mean()/mgwr_results.bse[:,i].mean() right?

ljwolf commented 2 years ago

You should be able to use mgwr_results.filter_tvalues() to compute & then separate the significant values!

karinadyahpermatasari commented 2 years ago

Why mgwr_results.filter_tvalues() show nan?

TaylorOshan commented 2 years ago

We would need a reproducible example with the data in order to help diagnose this issue, but it could be because there is an inappropriate input or the design matrix of the regression is ill-conditioned.