ENH: add LocalCrossPlot (Westerholt) plot and ability to scale Moran scatterplot by LOSH#446
ENH: add LocalCrossPlot (Westerholt) plot and ability to scale Moran scatterplot by LOSH#446martinfleis wants to merge 9 commits intopysal:mainfrom
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #446 +/- ##
=======================================
+ Coverage 82.2% 82.5% +0.3%
=======================================
Files 27 28 +1
Lines 3969 4051 +82
=======================================
+ Hits 3264 3342 +78
- Misses 705 709 +4
🚀 New features to boost your workflow:
|
ljwolf
left a comment
There was a problem hiding this comment.
This is good! I think at minimum we need to allow a significance level set by the user. I also started down the path of implementing a multiple comparisons correction, but (reflecting on it) I think that should be done at the estimator level (through the new significance calculations prompted by #281)
|
|
|
Thank you @ljwolf and @martinfleis for implementing the plot! The main reason I don’t like the name ‘Westerholt plot’ is that the plot does not represent a statistical measure that I developed myself. The Moran scatterplot is not called ‘Moran scatterplot’ because Pat Moran proposed the plot, but because it visualises his Moran’s I statistic. I like @ljwolf’s suggestion to call the plot a 'local cross plot'. 'Cluster heterogeneity plot' would probably also be a good name, reflecting the main purpose of the plot, namely the visualisation of different dimensions of cluster heterogeneity. |
xref #445
@ljwolf before I craft some simple tests and figure out a way of getting a reasonable legend, can you give this a pass?
Happy to iterate on the name, @rwesterh does not like the Westerholt plot :).