<?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: Zonal statistics mean VS Field statistics mean, which is correct? in Spatial Data Science Questions</title>
    <link>https://community.esri.com/t5/spatial-data-science-questions/zonal-statistics-mean-vs-field-statistics-mean/m-p/416761#M901</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thought I'd just point out: If it's just a single polygon the value is also available in the raster properties (arcpy.sa.Raster(myraster).mean) or from the &lt;A href="https://pro.arcgis.com/en/pro-app/tool-reference/data-management/get-raster-properties.htm"&gt;Get Raster Properties &lt;/A&gt;tool. Either of those methods are likely to give you more precision because Zonal Statistics is limited to 32-bit float results, not Double -- for historical reasons.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 Nov 2016 02:29:07 GMT</pubDate>
    <dc:creator>curtvprice</dc:creator>
    <dc:date>2016-11-25T02:29:07Z</dc:date>
    <item>
      <title>Zonal statistics mean VS Field statistics mean, which is correct?</title>
      <link>https://community.esri.com/t5/spatial-data-science-questions/zonal-statistics-mean-vs-field-statistics-mean/m-p/416758#M898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #242729; background-color: rgba(248, 248, 248, 0.6);"&gt;I calculated mean from a raster for a single polygon using zonal statistics as table tool and got the mean as 440000. The raster is the exact same shape as the polygon (used extract by mask tool for this). When I open the attribute table of this raster and do field statistics on the value field, I see that the mean is 330000. How is this possible? Shouldnt the two means be same if not exactly same? Any ideas why this is happening? This is big problem because I want to know which one is correct.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Nov 2016 16:12:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/spatial-data-science-questions/zonal-statistics-mean-vs-field-statistics-mean/m-p/416758#M898</guid>
      <dc:creator>SalmanAhmed3</dc:creator>
      <dc:date>2016-11-24T16:12:03Z</dc:date>
    </item>
    <item>
      <title>Re: Zonal statistics mean VS Field statistics mean, which is correct?</title>
      <link>https://community.esri.com/t5/spatial-data-science-questions/zonal-statistics-mean-vs-field-statistics-mean/m-p/416759#M899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What field in the raster table? the count field? value field?&amp;nbsp; what is the cell area?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Nov 2016 16:53:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/spatial-data-science-questions/zonal-statistics-mean-vs-field-statistics-mean/m-p/416759#M899</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2016-11-24T16:53:29Z</dc:date>
    </item>
    <item>
      <title>Re: Zonal statistics mean VS Field statistics mean, which is correct?</title>
      <link>https://community.esri.com/t5/spatial-data-science-questions/zonal-statistics-mean-vs-field-statistics-mean/m-p/416760#M900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I wrote 'value field' in the question already.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I just realised that its wrong to do a field statistic for mean on this value field because this value field in the raster attribute table does not show the values of all the cells in that raster. It shows only all the unique values with the cell count being shown in the 'count field'. So cannot expect to calculate mean from here by just doing field statistics. So I guess my question is answered. Using the zonal statistics tool is the right way. Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Nov 2016 19:08:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/spatial-data-science-questions/zonal-statistics-mean-vs-field-statistics-mean/m-p/416760#M900</guid>
      <dc:creator>SalmanAhmed3</dc:creator>
      <dc:date>2016-11-24T19:08:54Z</dc:date>
    </item>
    <item>
      <title>Re: Zonal statistics mean VS Field statistics mean, which is correct?</title>
      <link>https://community.esri.com/t5/spatial-data-science-questions/zonal-statistics-mean-vs-field-statistics-mean/m-p/416761#M901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thought I'd just point out: If it's just a single polygon the value is also available in the raster properties (arcpy.sa.Raster(myraster).mean) or from the &lt;A href="https://pro.arcgis.com/en/pro-app/tool-reference/data-management/get-raster-properties.htm"&gt;Get Raster Properties &lt;/A&gt;tool. Either of those methods are likely to give you more precision because Zonal Statistics is limited to 32-bit float results, not Double -- for historical reasons.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Nov 2016 02:29:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/spatial-data-science-questions/zonal-statistics-mean-vs-field-statistics-mean/m-p/416761#M901</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2016-11-25T02:29:07Z</dc:date>
    </item>
  </channel>
</rss>

