Skip to content
Prev 18257 / 29559 Next

Raster comparrison

p m <stagis0 at gmail.com> writes:
Hi

Based on my understanding, you *can not* get a p value for the
difference between two entities - to ask if the two maps are
significantly different, is like asking if the two numbers 1 and two are
significantly different.

You can only answer that question if you know the underlying
distributions and can compare these.

What you can do is quantifying the difference between the two maps. One
approach I used is the Earth Movers Distance, implemented in two
packages:

http://www.rforge.net/doc/packages/emdist/emd.html 
(implemented by myself and Dirk Eddelbuettel and used in some projects) and

http://cran.r-project.org/web/packages/emdist/emdist.pdf

by Simon Urbanek (haven't used it).

But there are many other distance measures to quantify the difference
between two raster maps. Which one you choose, depends on your question.

Cheers,

Rainer

  
    
Message-ID: <8738trnwqj.fsf@krugs.de>
In-Reply-To: <CAD-8SiMZLYKdJir0ZAR0d19_WV1Qfb-z4o_KKuZ3XCNTKC2YmQ@mail.gmail.com> (p. m.'s message of "Thu, 9 May 2013 21:52:55 +0200")