<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Calculating statistical error of two DEMs in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/calculating-statistical-error-of-two-dems/m-p/677864#M38411</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;*Please excuse my &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;ignorance&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;*I'm&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Apr 2013 01:39:38 GMT</pubDate>
    <dc:creator>KendallJoseph</dc:creator>
    <dc:date>2013-04-04T01:39:38Z</dc:date>
    <item>
      <title>Calculating statistical error of two DEMs</title>
      <link>https://community.esri.com/t5/data-management-questions/calculating-statistical-error-of-two-dems/m-p/677861#M38408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have two DEMs here with different elevations and I want to determine the statistical error of the outdated one.&amp;nbsp; How would I go about doing this?&amp;nbsp; Is there a calibration process?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Dec 2012 14:21:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/calculating-statistical-error-of-two-dems/m-p/677861#M38408</guid>
      <dc:creator>CindyChu2</dc:creator>
      <dc:date>2012-12-10T14:21:32Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating statistical error of two DEMs</title>
      <link>https://community.esri.com/t5/data-management-questions/calculating-statistical-error-of-two-dems/m-p/677862#M38409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Given that you wish to call your second "more recent" DEM the "truth" the Root Mean Squared Error (RMSE) will give you want you want and allow you to map the error on a cell-by cell basis given a specified window. The equation is quite simple: RMSE=sqrt(mean((obs - pred)^2))&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You will need to deiced on an appropriate window size where error is relevant to your question. The raster algebra would look something like this (version dependent):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;sdiff = Square("obs" - "pred")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;rmse = SquareRoot( FocalStatistics(sdiff, NbrRectangle(3,3,CELL), "MEAN", "") )&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This will give you the RMSE given a 3x3 window.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2012 21:55:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/calculating-statistical-error-of-two-dems/m-p/677862#M38409</guid>
      <dc:creator>JeffreyEvans</dc:creator>
      <dc:date>2012-12-11T21:55:46Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating statistical error of two DEMs</title>
      <link>https://community.esri.com/t5/data-management-questions/calculating-statistical-error-of-two-dems/m-p/677863#M38410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Prof. Evans,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am interested in doing a similar analysis. Only, I don't think I am as advanced as your response assumes. Please excuse my response in this regard. So, just to clarify: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. "obs" - would be the DEM I want to compare against "pred" - which is the DEM I'm using as my reference....right?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Focal Statistics would be for my "obs" DEM...right?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;3. "NbrRectangle(3,3,CELL), "MEAN", "") )"....I lost regarding these terms. Have no idea what "NbrRectangle" is about. I'm guessing &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"CELL" could be the raster derived from the Cell Statistics Tool within Spatial Analyst...? "MEAN" ...I don't know. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would appreciated any help in this regard! &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance! &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;KenJ&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Apr 2013 01:36:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/calculating-statistical-error-of-two-dems/m-p/677863#M38410</guid>
      <dc:creator>KendallJoseph</dc:creator>
      <dc:date>2013-04-04T01:36:28Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating statistical error of two DEMs</title>
      <link>https://community.esri.com/t5/data-management-questions/calculating-statistical-error-of-two-dems/m-p/677864#M38411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;*Please excuse my &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;ignorance&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;*I'm&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Apr 2013 01:39:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/calculating-statistical-error-of-two-dems/m-p/677864#M38411</guid>
      <dc:creator>KendallJoseph</dc:creator>
      <dc:date>2013-04-04T01:39:38Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating statistical error of two DEMs</title>
      <link>https://community.esri.com/t5/data-management-questions/calculating-statistical-error-of-two-dems/m-p/677865#M38412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;@KendallJoseph, this is quite literal syntax in ArcGIS 10 and later. Take a look at the help for &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//009z000000qs000000.htm"&gt;FocalStatistics&lt;/A&gt;&lt;SPAN&gt;. Focal functions are nothing more than a moving window of NxN dimensions where some function is applied (i.e., mean)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The "obs" raster would be considered the observed or "true" data and "pred" would be the predicted or test data. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The first step is calculating the squared difference of observed and predicted and creating a raster ("sdiff"). &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;sdiff = Square("obs" - "pred")&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then you calculate the focal mean of the squared difference raster and take the square-root. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;rmse = SquareRoot( FocalStatistics(sdiff, NbrRectangle(3,3,CELL), "MEAN", "") )&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As the FocalStatistics help indicates, the NbrRectangle argument refers to the definition of the window used in the focal function and the next argument "MEAN" is the statistic that will be used in the focal function. For efficiency, in not having to create an extra raster, I nested the focal function in SquareRoot. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hopefully this clarifies things.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Apr 2013 16:48:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/calculating-statistical-error-of-two-dems/m-p/677865#M38412</guid>
      <dc:creator>JeffreyEvans</dc:creator>
      <dc:date>2013-04-04T16:48:51Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating statistical error of two DEMs</title>
      <link>https://community.esri.com/t5/data-management-questions/calculating-statistical-error-of-two-dems/m-p/677866#M38413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Jeff (as you've referred to yourself),&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I GOT THROUGH!! Thanks so much! I couldn't believe it was that simple! I feel dumb! I read that same help for FocalStatistics you sent, only for 10.1, and that's where I got confused. I was trying to figure out initially how to build that equation you suggested within Raster Calculator, when those terms other than "Focal Statistics" in the equation&amp;nbsp; are already functions of "Focal Statistics".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm getting some really huge values for my comparisons though. Up to 2020.31! Does that sound realistic? I got that particular value when I compared a 15m resolution DEM derived from a Topographic map re-sampled to 30m, (as my "true"), and an ASTER derived DEM of 30m resolution (as my test dataset). This comparison was done for the entire land mass of Trinidad though.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you think, considering difference in currency of the datasets and development that would have taken place over the years, and perhaps errors in georeferencing etc, that a value for RMSE could be so high?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance (again)! &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kendall&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Apr 2013 22:53:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/calculating-statistical-error-of-two-dems/m-p/677866#M38413</guid>
      <dc:creator>KendallJoseph</dc:creator>
      <dc:date>2013-04-04T22:53:57Z</dc:date>
    </item>
  </channel>
</rss>

