<?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: How do I normalize raster data? in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/how-do-i-normalize-raster-data/m-p/477750#M27211</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sorry, I should have been clear that the toolbox was only compatible with ArcGIS 10. You are on the right track with calculate statistics. Make sure you set the skip value to 1, then add the raster to ArcMap (or navigate to it in ArcCatalog) and right click on it and select properties. In the layer properties box select the source tab and scroll down to the bottom and you will see the statistics section and can retrieve the min, max, mean and stdv (can copy and paste the values). You can then use the values to perform a normalization on your raster in the raster calculator (Arctoolbox &amp;gt; Spatial Analyst Tools &amp;gt; Map Algebra &amp;gt; Raster Calculator) with the following syntax.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(x - mean) / stdv&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; where; x is your raster, mean and stdv are the real values of the respective statistical moments.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The above formula from your original post does not transform to a standard variable space. This transformation is intended to scale the mean to 0 and stdv to 1 while maintaining the shape of the original distribution. The resulting data range is dictated by the range in your original data. This formula, in effect, makes the negative and positive bounds symmetrical (e.g., -1 to 1). If the original data distribution is non-normal the results can be unexpected. If you just want your data in the same scale and it is all positive, you could just perform a "row standardization" by dividing your raster by its max value to (mostly) return a range of 0-1. Here is a method that accounts for negative values and also reliably returns a range of 0-1. ( x - min(x) ) / ( max(x) - min(x) ) &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you have access to R, the behavior of these three transformations can be readily observed given a normal and skewed distribution. Note that you can plot the distribution of any of the resulting transformations and it does not change shape, just range. Here is the code (just copy and paste).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;############################&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#&amp;nbsp; Based on a non-normal distribution&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;############################&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;x &amp;lt;-runif(100,1,100)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; summary(x)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; plot(density(x))&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;x1 &amp;lt;- ( x - mean(x) ) / sd(x)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; summary(x1)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;x2 &amp;lt;- x / max(x)&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; summary(x2)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;x3 &amp;lt;- ( x - min(x) ) / ( max(x) - min(x) ) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; summary(x3)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# When distribution has negative values (note that the regular row standardization [x/max(x)] does not scale correctly) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;x[1] &amp;lt;- -10&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;x2 &amp;lt;- x / max(x)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;x3 &amp;lt;- ( x - min(x) ) / ( max(x) - min(x) ) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; summary(x2);summary(x3)&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;############################&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# Based on a non-normal distribution&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;############################&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;x &amp;lt;- rweibull(1e5,1.5,33)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; summary(x)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; plot(density(x))&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;x1 &amp;lt;- ( x - mean(x)) / sd(x)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; summary(x1)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;x2 &amp;lt;- x / max(x)&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; summary(x2)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;x3 &amp;lt;- ( x - min(x) ) / ( max(x) - min(x) ) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; summary(x3)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Mar 2012 16:04:03 GMT</pubDate>
    <dc:creator>JeffreyEvans</dc:creator>
    <dc:date>2012-03-20T16:04:03Z</dc:date>
    <item>
      <title>How do I normalize raster data?</title>
      <link>https://community.esri.com/t5/data-management-questions/how-do-i-normalize-raster-data/m-p/477746#M27207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I want to combine different raster layers, but need the data to be measured at the same numerical scale. Therefore, I would like to normalize all of the different layers so I can add them together, and then renormalize them.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am not very good with statistics in general, and am unsure of how to even normalize a data set. I know there are multiple equations to do this, but don't know which one is right for me.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But if we were to use the equation:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Z = X - &lt;/SPAN&gt;&lt;SPAN style="text-decoration:underline;"&gt;u&lt;/SPAN&gt;&lt;SPAN&gt; / std&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Where, Z - the normalized value;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-style:italic;"&gt;u&lt;/SPAN&gt;&lt;SPAN&gt; - mean; and,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;std - standard deviation;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How would I calculate this in a raster?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have tried using "Calculate Statistics" (Data Management Tools) because I assumed it would calculate mean and standard deviation for me, but I don't know where the output goes, as I can't choose that in the window. Also, the information on what this tool actually calculates is pretty limited in desktop help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have thought about using Focal Statistics to calculate mean and standard deviation individually, but I run into the problem of what scale to use - I want it to include the entire raster in the calculation. This tool would give me different outputs for mean and standard deviation, which I could then put into the raster calculator to solve the normalization equation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can someone please let me know if using Focal Statistics is the best way to go about this? Am I even using the right equation to normalize my data?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any input is GREATLY appreciated!!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jan 2012 21:30:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-do-i-normalize-raster-data/m-p/477746#M27207</guid>
      <dc:creator>TaylerHamilton</dc:creator>
      <dc:date>2012-01-26T21:30:03Z</dc:date>
    </item>
    <item>
      <title>Re: How do I normalize raster data?</title>
      <link>https://community.esri.com/t5/data-management-questions/how-do-i-normalize-raster-data/m-p/477747#M27208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a toolbox available that has a normalize options in the Statistics &amp;gt; transformations tool.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://conserveonline.org/workspaces/emt/documents/arcgis-geomorphometrics-toolbox/view.html"&gt;http://conserveonline.org/workspaces/emt/documents/arcgis-geomorphometrics-toolbox/view.html&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2012 13:14:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-do-i-normalize-raster-data/m-p/477747#M27208</guid>
      <dc:creator>JeffreyEvans</dc:creator>
      <dc:date>2012-01-27T13:14:12Z</dc:date>
    </item>
    <item>
      <title>Re: How do I normalize raster data?</title>
      <link>https://community.esri.com/t5/data-management-questions/how-do-i-normalize-raster-data/m-p/477748#M27209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks! I will give it a shot and let you know if its what I am looking for!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2012 20:25:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-do-i-normalize-raster-data/m-p/477748#M27209</guid>
      <dc:creator>TaylerHamilton</dc:creator>
      <dc:date>2012-01-27T20:25:52Z</dc:date>
    </item>
    <item>
      <title>Re: How do I normalize raster data?</title>
      <link>https://community.esri.com/t5/data-management-questions/how-do-i-normalize-raster-data/m-p/477749#M27210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I have a toolbox available that has a normalize options in the Statistics &amp;gt; transformations tool.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://conserveonline.org/workspaces/emt/documents/arcgis-geomorphometrics-toolbox/view.html"&gt;http://conserveonline.org/workspaces/emt/documents/arcgis-geomorphometrics-toolbox/view.html&lt;/A&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Jeffrey,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This tool sounds great.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is the tool only available for v10?&amp;nbsp; Unfortunately I'm still on v9.3.1 and won't be moved to v10 for a while.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Wendy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Mar 2012 17:13:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-do-i-normalize-raster-data/m-p/477749#M27210</guid>
      <dc:creator>WendyProudfoot</dc:creator>
      <dc:date>2012-03-16T17:13:06Z</dc:date>
    </item>
    <item>
      <title>Re: How do I normalize raster data?</title>
      <link>https://community.esri.com/t5/data-management-questions/how-do-i-normalize-raster-data/m-p/477750#M27211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sorry, I should have been clear that the toolbox was only compatible with ArcGIS 10. You are on the right track with calculate statistics. Make sure you set the skip value to 1, then add the raster to ArcMap (or navigate to it in ArcCatalog) and right click on it and select properties. In the layer properties box select the source tab and scroll down to the bottom and you will see the statistics section and can retrieve the min, max, mean and stdv (can copy and paste the values). You can then use the values to perform a normalization on your raster in the raster calculator (Arctoolbox &amp;gt; Spatial Analyst Tools &amp;gt; Map Algebra &amp;gt; Raster Calculator) with the following syntax.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(x - mean) / stdv&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; where; x is your raster, mean and stdv are the real values of the respective statistical moments.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The above formula from your original post does not transform to a standard variable space. This transformation is intended to scale the mean to 0 and stdv to 1 while maintaining the shape of the original distribution. The resulting data range is dictated by the range in your original data. This formula, in effect, makes the negative and positive bounds symmetrical (e.g., -1 to 1). If the original data distribution is non-normal the results can be unexpected. If you just want your data in the same scale and it is all positive, you could just perform a "row standardization" by dividing your raster by its max value to (mostly) return a range of 0-1. Here is a method that accounts for negative values and also reliably returns a range of 0-1. ( x - min(x) ) / ( max(x) - min(x) ) &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you have access to R, the behavior of these three transformations can be readily observed given a normal and skewed distribution. Note that you can plot the distribution of any of the resulting transformations and it does not change shape, just range. Here is the code (just copy and paste).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;############################&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#&amp;nbsp; Based on a non-normal distribution&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;############################&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;x &amp;lt;-runif(100,1,100)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; summary(x)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; plot(density(x))&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;x1 &amp;lt;- ( x - mean(x) ) / sd(x)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; summary(x1)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;x2 &amp;lt;- x / max(x)&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; summary(x2)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;x3 &amp;lt;- ( x - min(x) ) / ( max(x) - min(x) ) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; summary(x3)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# When distribution has negative values (note that the regular row standardization [x/max(x)] does not scale correctly) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;x[1] &amp;lt;- -10&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;x2 &amp;lt;- x / max(x)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;x3 &amp;lt;- ( x - min(x) ) / ( max(x) - min(x) ) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; summary(x2);summary(x3)&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;############################&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# Based on a non-normal distribution&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;############################&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;x &amp;lt;- rweibull(1e5,1.5,33)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; summary(x)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; plot(density(x))&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;x1 &amp;lt;- ( x - mean(x)) / sd(x)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; summary(x1)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;x2 &amp;lt;- x / max(x)&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; summary(x2)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;x3 &amp;lt;- ( x - min(x) ) / ( max(x) - min(x) ) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; summary(x3)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2012 16:04:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-do-i-normalize-raster-data/m-p/477750#M27211</guid>
      <dc:creator>JeffreyEvans</dc:creator>
      <dc:date>2012-03-20T16:04:03Z</dc:date>
    </item>
    <item>
      <title>Re: How do I normalize raster data?</title>
      <link>https://community.esri.com/t5/data-management-questions/how-do-i-normalize-raster-data/m-p/477751#M27212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Dear all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Geomorphometry and Gradient Metrics Toolbox (GGMT) is a powerful tool.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for Jeffrey�??s works!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For to normalize raster data, I tried three ways:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1) Using raster calculator in ArcGIS, (x - mean) / stdv --&amp;gt; ( x - min(x) ) / ( max(x) - min(x) )&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) Using GGMT, Statistics --&amp;gt; transformations --&amp;gt; normalize&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3) Using GGMT, Statistics --&amp;gt; transformations --&amp;gt; standardize --&amp;gt; stretch 0~1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The new layers transformed through the three different ways are the same results.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My question is following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Before running Species Distribution Models such as MaxEnt, I don't know whether to normalize, standardize, and rescale (0~1) the environmental raster layers is a necessary step.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If that is necessary! &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;How should I do that in GGMT?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you in advance for your assistance!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jan 2013 08:25:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-do-i-normalize-raster-data/m-p/477751#M27212</guid>
      <dc:creator>Ching-AnChiu</dc:creator>
      <dc:date>2013-01-04T08:25:49Z</dc:date>
    </item>
    <item>
      <title>Re: How do I normalize raster data?</title>
      <link>https://community.esri.com/t5/data-management-questions/how-do-i-normalize-raster-data/m-p/477752#M27213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The decision to transform your data is dependent on the type of model that you are using and the results of an exploratory analysis of your data. If you were using a parametric method such as OLS (Ordinary Least Square Regression) or ENFA (Ecological Niche Factor Analysis), I would certainly transform my covariates. However, the most powerful models for species distribution modeling (MaxEnt, Random Forests, etc...) are nonparametric and, as such, do not have IID or distributional assumptions. Because of this no data transformations are necessary.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jan 2013 16:55:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-do-i-normalize-raster-data/m-p/477752#M27213</guid>
      <dc:creator>JeffreyEvans</dc:creator>
      <dc:date>2013-01-07T16:55:54Z</dc:date>
    </item>
    <item>
      <title>Re: How do I normalize raster data?</title>
      <link>https://community.esri.com/t5/data-management-questions/how-do-i-normalize-raster-data/m-p/477753#M27214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Jeffrey,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the reply!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I want to compare different methods (including MaxEnt and ENFA)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;whether it is a good idea to calculate raster&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;using (x - mean) / stdv --&amp;gt; (x - min(x)) / (max(x) - min(x))&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;for all environmental variables before running species distribution models.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What is the difference between �??normalize�?� and �??standardize�?� in Geomorphometry and Gradient Metrics Toolbox.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Their algorithms are�?�&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2013 13:04:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-do-i-normalize-raster-data/m-p/477753#M27214</guid>
      <dc:creator>Ching-AnChiu</dc:creator>
      <dc:date>2013-01-09T13:04:20Z</dc:date>
    </item>
    <item>
      <title>Re: How do I normalize raster data?</title>
      <link>https://community.esri.com/t5/data-management-questions/how-do-i-normalize-raster-data/m-p/477754#M27215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Once again, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks superman jeff evans!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;jen hooper&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Mar 2013 17:24:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-do-i-normalize-raster-data/m-p/477754#M27215</guid>
      <dc:creator>JenHooper</dc:creator>
      <dc:date>2013-03-20T17:24:54Z</dc:date>
    </item>
    <item>
      <title>Re: How do I normalize raster data?</title>
      <link>https://community.esri.com/t5/data-management-questions/how-do-i-normalize-raster-data/m-p/477755#M27216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello, friend.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Remember that, for standardizing data, you assume that this data is in a normal distribution. If the data is not in a normal distribution, it is advisable to use percentile rank instead of normalization. A good explanation about the theory and about how to do it in SPSS are in these links: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.psychstat.missouristate.edu/introbook/sbk14m.htm"&gt;http://www.psychstat.missouristate.edu/introbook/sbk14m.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://blogs.perficient.com/businessintelligence/2012/03/21/ranking-your-cases-ibm-spss-statistics/"&gt;http://blogs.perficient.com/businessintelligence/2012/03/21/ranking-your-cases-ibm-spss-statistics/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Anyway, if you are using ArcGIS, a good option is to stretch your raster using "Equalize Histogram", than export the raster ("Data" -&amp;gt; "Export data") using the option "use renderer" and setting the "No Data Value" to 0. This will give you a percentile rank from 1 to 255 and you can re-scale it dividing your raster values by 2.5.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Have fun!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Dec 2013 20:39:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-do-i-normalize-raster-data/m-p/477755#M27216</guid>
      <dc:creator>VitorVasconcelos</dc:creator>
      <dc:date>2013-12-03T20:39:58Z</dc:date>
    </item>
    <item>
      <title>Re: How do I normalize raster data?</title>
      <link>https://community.esri.com/t5/data-management-questions/how-do-i-normalize-raster-data/m-p/477756#M27217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am in a similar situation but I would like to reclassify my raster data into a correlation range of -1 to 1. I know I can classify my original raster and use the re-class tool, but I would prefer to use the raster calculator to do this so I can preserve the "Shape" of my raster. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried the (x-min(x))/(max(x)-min(x)) and it normalized to 0-1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;&lt;P&gt;Dan &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2014 14:50:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-do-i-normalize-raster-data/m-p/477756#M27217</guid>
      <dc:creator>DanielAmrine</dc:creator>
      <dc:date>2014-07-23T14:50:42Z</dc:date>
    </item>
    <item>
      <title>Re: How do I normalize raster data?</title>
      <link>https://community.esri.com/t5/data-management-questions/how-do-i-normalize-raster-data/m-p/477757#M27218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: arial, sans-serif;"&gt;You could use the ndvi as an example. Its arithmetics are explained in the arcgis help or the www. Sorry my mobile i low on battery and i can not provide links currently.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what gives this?;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;( max(x) - min(x) ) / ( max(x) + min(x) )&amp;nbsp; // this is stupid sorry &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/grin.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;this is not tested though.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: arial, sans-serif;"&gt;beware the spelling &amp;gt;&amp;gt; send from my mobile &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2014 15:51:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-do-i-normalize-raster-data/m-p/477757#M27218</guid>
      <dc:creator>FlorianHoedt2</dc:creator>
      <dc:date>2014-07-23T15:51:49Z</dc:date>
    </item>
    <item>
      <title>Re: How do I normalize raster data?</title>
      <link>https://community.esri.com/t5/data-management-questions/how-do-i-normalize-raster-data/m-p/477758#M27219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have done some test in excel to get it working:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;( x - min(x) ) / (max(x) - min(x) ) -- your code to create 0 - 1 normalized raster --&amp;gt; let us call it raster1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;( raster1 + 1) * -1 -- reverse the values 1-&amp;gt; 0 ; 0-&amp;gt; -1 ; call it raster2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;( raster1 + raster2) -- -1 to 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am not a math or statistics guy though!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2014 16:14:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-do-i-normalize-raster-data/m-p/477758#M27219</guid>
      <dc:creator>FlorianHoedt2</dc:creator>
      <dc:date>2014-07-23T16:14:21Z</dc:date>
    </item>
    <item>
      <title>Re: How do I normalize raster data?</title>
      <link>https://community.esri.com/t5/data-management-questions/how-do-i-normalize-raster-data/m-p/477759#M27220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you sure that you want to do this? You are, in effect, creating a two-tailed distribution where the negative tail is indicating a proportional negative response equal to the positive. If this is what you are after then you need to identify a "hinge point" that defines the inflection point, in the original distribution, indicating where the distribution will be centered on 0. This will provide relevant information on where the distribution changes to a negative influence. If the distribution is not centered then the result will be arbitrary. The equations for normalizing are not applicable here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will not necessarily provide a bounded -1 to 1 range but the equation for standardizing a distribution to a standard deviation of 1 and a mean of 0 thus, providing a Z-score, is: [(x - mean(x)) / standard deviation(x)].&amp;nbsp; You can play with the math to center on a different value. There is a good reason that we normally scale distributions to a 0-1 range.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem here is that a Z-score standardization assumes a Gaussian distribution, which you likely do not have. Overall I do not believe that this is a good idea. Perhaps if you provided some context I will be able to provide a relevant alternative.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you data represents a known fixed range (e.g., correlations coefficients) and for some reason exhibit erroneous values, I would recommend just truncating them using a con statement (eg., con(raster &amp;lt; -1, -1, raster)&amp;nbsp; ).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2014 17:24:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-do-i-normalize-raster-data/m-p/477759#M27220</guid>
      <dc:creator>JeffreyEvans</dc:creator>
      <dc:date>2014-07-23T17:24:48Z</dc:date>
    </item>
    <item>
      <title>Re: How do I normalize raster data?</title>
      <link>https://community.esri.com/t5/data-management-questions/how-do-i-normalize-raster-data/m-p/477760#M27221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;NDVI is a ratio between two bands. The equation to calculate the ratio on a single vector will result in all zero values. The equation you provide is a ratio in the upper and lower tails of the distribution and will result in a single value. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2014 17:28:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-do-i-normalize-raster-data/m-p/477760#M27221</guid>
      <dc:creator>JeffreyEvans</dc:creator>
      <dc:date>2014-07-23T17:28:26Z</dc:date>
    </item>
    <item>
      <title>Re: How do I normalize raster data?</title>
      <link>https://community.esri.com/t5/data-management-questions/how-do-i-normalize-raster-data/m-p/477761#M27222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My challenge is correlating magnetic (total magnetic intensity, rated to pole, and several passes),gravity (bouguer anomaly, several passes) and depth to oil and gas production data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used a "Statistics for Dummy" book to find the correlation equation and then used a combination of excel and arcmap to map and correlate values for 652 wells.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem i'm having is the correlation coefficient is supposed to fall within -1.0 to 1.0&amp;nbsp; but each grid ranges from -8.5 to 8.5 or so, i can see the trend but I want it to fit within -1 to 1. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i hope that provides some good context!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Dan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2014 18:08:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-do-i-normalize-raster-data/m-p/477761#M27222</guid>
      <dc:creator>DanielAmrine</dc:creator>
      <dc:date>2014-07-23T18:08:00Z</dc:date>
    </item>
    <item>
      <title>Re: How do I normalize raster data?</title>
      <link>https://community.esri.com/t5/data-management-questions/how-do-i-normalize-raster-data/m-p/477762#M27223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, the problem sounds like your correlation approach is not working and forcing the range will not correct the problem. Also the type of correlation (Person, Kendall, Spearman) is important given the data. I would revisit your methodology to figure out why your correlation coefficients are off rather than trying to fix the issue post hoc. Any approach for deriving correlation coefficients at the raster cell level using a combination of ArcMAP and Excel are opaque at best and some details would be required to evaluate the approach.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not clear on why you want these correlations as a raster. If you have well locations, with associated depth, you could just assign the gravitational anomaly raster values using the "Extract Multi Values to Points" tool, export the resulting attribute table to a flatfile (eg., csv) and calculate the correlation coefficient in Excel (not that Excel is good for statistical analysis).&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is interesting that you mention this particular correlative relationship. I just published a paper in PLoS One (Evans &amp;amp; Kiesecker 2014) using gravitational anomaly data, along with other covariates, in a probabilistic model of non-conventional oil/gas. I used a nonparametric model and found that this particular relationship is highly nonlinear in nature. Because of this, any correlations are likely to be erroneous. I would imagine that it is time to move your analysis into a statistical software and it may also be a good point to consult a statistician.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-left: .25in; text-indent: -.25in;"&gt;Evans, J.S., J.M. Kiesecker (2014) Shale Gas, Wind and Water: Assessing the Potential Cumulative Impacts of Energy Development on Ecosystem Services within the Marcellus Play. PLoS ONE 9(2): e89210. doi:10.1371/journal.pone.0089210&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you were to produce a surface of depth, using Kriging or any such interpolation method, you could easily calculate a moving window correlation surface in R. Here is an example, that includes a Kriging estimate, for calculating a moving window correlation surface.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# Moving window correlation function&lt;/P&gt;&lt;P&gt;# x&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; raster of x&lt;/P&gt;&lt;P&gt;# y&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; raster of y&lt;/P&gt;&lt;P&gt;# dist&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; distance (radius) of correlation window, the default AUTO calculates a window size&lt;/P&gt;&lt;P&gt;# ...&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; additional arguments passed to the cor function&lt;/P&gt;&lt;P&gt;mwcor &amp;lt;- function(x, y, dist="AUTO", ...) {&lt;/P&gt;&lt;P&gt;require(sp)&lt;/P&gt;&lt;P&gt;require(spdep)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; if ( (dist == "AUTO") == TRUE){&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; cs &amp;lt;- x@grid@cellsize[1]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; dist = sqrt(2*((cs*3)^2))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; } else {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (!is.numeric (dist)) stop("DISTANCE MUST BE NUMERIC")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp; nb &amp;lt;- dnearneigh(coordinates(x),0, dist)&lt;/P&gt;&lt;P&gt;&amp;nbsp; v=sapply(nb, function(i) cor(x@data[i,], y@data[i,], ...))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if( (class(v)=="numeric") == TRUE) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; v = as.data.frame(v)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; } else {&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; v = as.data.frame(t(v))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; coordinates(v) = coordinates(x)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; gridded(v) = TRUE&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; ( v )&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# Example&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;require(gstat)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;require(sp)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;require(spdep)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;data(meuse)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;data(meuse.grid)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;coordinates(meuse) &amp;lt;- ~x + y&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;coordinates(meuse.grid) &amp;lt;- ~x + y&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;# GRID-1 log(copper):&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;v1 &amp;lt;- variogram(log(copper) ~ 1, meuse)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;x1 &amp;lt;- fit.variogram(v1, vgm(1, "Sph", 800, 1))&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;G1 &amp;lt;- krige(zinc ~ 1, meuse, meuse.grid, x1, nmax = 30)&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp; gridded(G1) &amp;lt;- TRUE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; G1@data = as.data.frame(G1@data[,-2])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;# GRID-2 log(lead):&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;v2 &amp;lt;- variogram(log(lead) ~ 1, meuse)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;x2 &amp;lt;- fit.variogram(v2, vgm(.1, "Sph", 1000, .6))&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;G2 &amp;lt;- krige(zinc ~ 1, meuse, meuse.grid, x2, nmax = 30)&lt;/P&gt;&lt;P&gt;&amp;nbsp; gridded(G2) &amp;lt;- TRUE&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; G2@data &amp;lt;- as.data.frame(G2@data[,-2])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# Moving window correlation surface&lt;/P&gt;&lt;P&gt;gcorr &amp;lt;- mwcor(G1, G2, 500, method="spearman")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# Plot results&lt;/P&gt;&lt;P&gt;colr=colorRampPalette(c("blue", "yellow", "red"))&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;spplot(gcorr, col.regions=colr(100))&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2014 19:18:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-do-i-normalize-raster-data/m-p/477762#M27223</guid>
      <dc:creator>JeffreyEvans</dc:creator>
      <dc:date>2014-07-23T19:18:17Z</dc:date>
    </item>
    <item>
      <title>Re: How do I normalize raster data?</title>
      <link>https://community.esri.com/t5/data-management-questions/how-do-i-normalize-raster-data/m-p/477763#M27224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jeffery,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just downloaded your paper and i'm looking forward to reading it!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've spent the last six years working as a mapping and geoscience technician in the Marcellus field. However my company had to go through some cuts and now i'm working on projects all over the country in terms of exploration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The difficulty comes in correlating the data on a one to one relationship rather than subtracting the means from X and Y, multiplying them together, summing them and then dividing by the product of the X and Y standard deviations. Then dividing the result by the total number of values and subtracting by 1. That is the core of the process I used I just didn't Sum them since there where only 2 values (an X and Y) for each well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the grids I tried leaving out the sum but obviously it didn't work. My goal is to derive a correlation coefficient for each well in terms of the correlated data sets.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My main goal is to see if there are any spatial relationships to the correlation of these different values. Essentially we want to find out what kind of data will determine the success of an oil and gas reservoir by using any means possible!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also tried copying and pasting your code into R and, I'm such a noob, I have no idea on how to fix the code so it will run. I will work on that!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for taking the time to reply!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2014 19:44:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-do-i-normalize-raster-data/m-p/477763#M27224</guid>
      <dc:creator>DanielAmrine</dc:creator>
      <dc:date>2014-07-23T19:44:35Z</dc:date>
    </item>
    <item>
      <title>Re: How do I normalize raster data?</title>
      <link>https://community.esri.com/t5/data-management-questions/how-do-i-normalize-raster-data/m-p/477764#M27225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I applied the same equation in raster calculator of arcgis but give me the error while running. I thing there are some abnormal values in it. How can i remove such abnormalities first and then i would apply this formula to derive the ndvi. &lt;BR /&gt;Also comment about the formula NDVI - NDVImin / NDVImax - NDVImax called Green vegetation fraction (GVF). Hu and Jia 2010 used this same equation in his study to derive the green vegetation fraction and gives the ranges 0.20 and 0.70 as minimum and maximum respectively that have been taken from AVHRR data for the same region&amp;nbsp; &lt;A href="http://onlinelibrary.wiley.com/enhanced/doi/10.1002/joc.1984"&gt;http://onlinelibrary.wiley.com/enhanced/doi/10.1002/joc.1984&lt;/A&gt; but how can i use these values for the area where AVHRR data is not available as in the case of mine. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Nov 2014 14:42:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-do-i-normalize-raster-data/m-p/477764#M27225</guid>
      <dc:creator>WaseemAli</dc:creator>
      <dc:date>2014-11-02T14:42:55Z</dc:date>
    </item>
  </channel>
</rss>

