Skip to main content
5 events
when toggle format what by license comment
Jan 14, 2013 at 20:00 comment added N-C That makes sense. From what I have seen, FindIdentical returns a table that lists all the points, then a FEAT_SEQ value that is the same for points in the same location. If I wanted to check if all the points were identical, I would have to just iterate through this table and make sure all the FEAT_SEQ values are the same. Is there a simpler way to do this? Can I make sure the output of this function is an array, instead of a file, so I don't have to do file reading/string manipulation?
Jan 8, 2013 at 14:02 comment added whuber You are correct that the density calculation with identical points is trivial, but it can have a purpose. Its output will be a recentered version of the density kernel being used--weighted by the total weight of all the points. The output can be used for cartography and subsequent analysis and in both those cases the total weight is likely to matter.
Jan 7, 2013 at 22:25 comment added N-C Ah, this might still be useful, though. Since there is no point in calculating density for a file with all the same points (I think), I can just use FindIdentical to determine if the points are the same, then not run the KDens if they are.
Jan 7, 2013 at 18:48 comment added whuber The problem with deleting identical points is that it will (or at least should) change the kernel density estimate.
Jan 7, 2013 at 18:03 history answered artwork21 CC BY-SA 3.0