[GRASS-SVN] r70668 - grass/branches/releasebranch_7_2/raster/r.kappa

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Feb 23 04:56:22 PST 2017


Author: neteler
Date: 2017-02-23 04:56:22 -0800 (Thu, 23 Feb 2017)
New Revision: 70668

Modified:
   grass/branches/releasebranch_7_2/raster/r.kappa/r.kappa.html
Log:
r.kappa manual: explained 'Estimated kappa value' (contributed by mlennert)

Modified: grass/branches/releasebranch_7_2/raster/r.kappa/r.kappa.html
===================================================================
--- grass/branches/releasebranch_7_2/raster/r.kappa/r.kappa.html	2017-02-23 12:55:46 UTC (rev 70667)
+++ grass/branches/releasebranch_7_2/raster/r.kappa/r.kappa.html	2017-02-23 12:56:22 UTC (rev 70668)
@@ -33,7 +33,6 @@
 panel.  There is a total at the bottom of each column
 representing the sum of all the rows in that column.
 
-
 <h2>NOTES</h2>
 
 It is recommended to reclassify categories of classified
@@ -46,6 +45,24 @@
 <em>NA</em>'s in output file mean non-applicable in case
 <em>MASK</em> exists.
 
+<p>
+The <b>Estimated kappa value</b> in <em>r.kappa</em> is the value
+only for one class, i.e. the observed agreement between the
+classifications for those observations that have been classified by
+classifier 1 into the class i. In other words, here the choice of
+reference is important.
+<p>
+It is calculated as:
+<p>
+kpp[i] = (pii[i] - pi[i] * pj[i]) / (pi[i] - pi[i] * pj[i]);
+<p>
+where=
+<ul>
+<li>pii[i] is the probability of agreeement (i.e. number of pixels for which there is agreement divided by total number of assessed pixels)</li>
+<li>Pi[i] is the probability of classification i having classified the point as i</li>
+<li>Pj[i] is the probability of classification j having classified the point as i.</li>
+</ul>
+
 <H2>EXAMPLE</H2>
 
 Example for North Carolina sample dataset:



More information about the grass-commit mailing list