<?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: Regression kriging in ArcGIS GeoStatistical Analyst Questions</title>
    <link>https://community.esri.com/t5/arcgis-geostatistical-analyst-questions/regression-kriging/m-p/124556#M283</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;python parser in the field calculator&lt;/P&gt;&lt;P&gt;math.log(some number, base)&amp;nbsp; if base is omitted, it is assumed to be base e&lt;/P&gt;&lt;P&gt;math.log10(some number)&amp;nbsp;&amp;nbsp;&amp;nbsp; base 10 log, usually more accurate than math.log(some number,10) according to help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Nov 2015 04:42:14 GMT</pubDate>
    <dc:creator>DanPatterson_Retired</dc:creator>
    <dc:date>2015-11-10T04:42:14Z</dc:date>
    <item>
      <title>Regression kriging</title>
      <link>https://community.esri.com/t5/arcgis-geostatistical-analyst-questions/regression-kriging/m-p/124546#M273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;I am trying to perform regression kriging in ArcMap. Is there way to do this in ArcMap? Will appreciate any input!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Mar 2015 18:59:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geostatistical-analyst-questions/regression-kriging/m-p/124546#M273</guid>
      <dc:creator>juliaDa</dc:creator>
      <dc:date>2015-03-28T18:59:04Z</dc:date>
    </item>
    <item>
      <title>Re: Regression kriging</title>
      <link>https://community.esri.com/t5/arcgis-geostatistical-analyst-questions/regression-kriging/m-p/124547#M274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is currently under development.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Mar 2015 20:15:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geostatistical-analyst-questions/regression-kriging/m-p/124547#M274</guid>
      <dc:creator>SteveLynch</dc:creator>
      <dc:date>2015-03-28T20:15:22Z</dc:date>
    </item>
    <item>
      <title>Re: Regression kriging</title>
      <link>https://community.esri.com/t5/arcgis-geostatistical-analyst-questions/regression-kriging/m-p/124548#M275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What about &lt;A href="http://desktop.arcgis.com/en/desktop/latest/guide-books/extensions/geostatistical-analyst/understanding-cokriging.htm"&gt;Cokriging&lt;/A&gt;?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2015 22:56:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geostatistical-analyst-questions/regression-kriging/m-p/124548#M275</guid>
      <dc:creator>SteveLynch</dc:creator>
      <dc:date>2015-03-31T22:56:43Z</dc:date>
    </item>
    <item>
      <title>Re: Regression kriging</title>
      <link>https://community.esri.com/t5/arcgis-geostatistical-analyst-questions/regression-kriging/m-p/124549#M276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It depends on what kind of regression kriging you want to do.&amp;nbsp; If the explanatory variables are polynomials of the (x,y) coordinates, we call that Universal Kriging, and it is available in the Geostatistical Wizard.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your covariates are not (x,y) polynomials, you can use the Ordinary Least Squares tool to create a regression equation, and then you can perform kriging on the residuals.&amp;nbsp; To get predictions, add the interpolated residuals to the prediction from the OLS model. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ideally, the kriging parameters and the coefficients from OLS will be calculated simultaneously (rather than doing OLS then doing kriging), but there is currently no way to do this in ArcGIS.&amp;nbsp; Though that will likely change in the not-so-distant future.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2015 23:24:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geostatistical-analyst-questions/regression-kriging/m-p/124549#M276</guid>
      <dc:creator>EricKrause</dc:creator>
      <dc:date>2015-03-31T23:24:22Z</dc:date>
    </item>
    <item>
      <title>Re: Regression kriging</title>
      <link>https://community.esri.com/t5/arcgis-geostatistical-analyst-questions/regression-kriging/m-p/124550#M277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Eric,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to carry out a regression kriging analysis for my groundwater project, but I am not sure if my approaches are correct and struggling to calculate RMSE and ME. Can you please give me some comments?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have groundwater level(n=124) as dependent variable, elevation, temperature, precipitation and NDVI as independent variables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.run OLS in Geoda, the Moran`s I test showed that residuals are spatially autocorrelated&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.populate predicted values and residuals back to the groundwater layer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.use ordinary kriging to interpolate the predicted values and residuals separately&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4.convert the output interpolated surfaces to raster&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5.use "Plus" tool in Raster to add the interpolated predicted values and residual raster together&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks so much in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Roni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Nov 2015 03:57:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geostatistical-analyst-questions/regression-kriging/m-p/124550#M277</guid>
      <dc:creator>RoniLuo</dc:creator>
      <dc:date>2015-11-04T03:57:51Z</dc:date>
    </item>
    <item>
      <title>Re: Regression kriging</title>
      <link>https://community.esri.com/t5/arcgis-geostatistical-analyst-questions/regression-kriging/m-p/124551#M278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is an issue in your third step.&amp;nbsp; I'm assuming that your dependent variable and independent (explanatory) variables are coming from fields in a point feature class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this setup, there is no "correct" way to produce a prediction surface.&amp;nbsp; The explanatory variables must be measured in every location where you want to make a prediction.&amp;nbsp; I understand that this is often impractical, and what is often done in this case is to interpolate the explanatory variables.&amp;nbsp; It is not a good idea to interpolate the predicted values because you know that they depend on the explanatory variables.&amp;nbsp; However, when you interpolate the explanatory variables, all subsequent analysis will assume that the interpolated values are measured values when, in fact, they are predictions and have associated error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your case, you need to calculate the OLS equation from the input points, then interpolate the independent variables and the residuals, and plug the results into the OLS equation to get the predicted values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding cross validation, only the residuals (error terms) are needed.&amp;nbsp; When you are interpolating the residuals, note the cross validation statistics.&amp;nbsp; These are what you should report as the cross validation statistics for the regression kriging model.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, as I alluded to in my first post, we are releasing "EBK Regression Prediction" in ArcGIS Pro 1.2, which does a regression kriging interpolation using Empirical Bayesian Kriging.&amp;nbsp; It will very shortly be available as a Beta through Esri's customer care website.&amp;nbsp; I am not sure exactly where to go to download it, but I can find out if you are interested.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Nov 2015 00:16:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geostatistical-analyst-questions/regression-kriging/m-p/124551#M278</guid>
      <dc:creator>EricKrause</dc:creator>
      <dc:date>2015-11-05T00:16:11Z</dc:date>
    </item>
    <item>
      <title>Re: Regression kriging</title>
      <link>https://community.esri.com/t5/arcgis-geostatistical-analyst-questions/regression-kriging/m-p/124552#M279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Eric,&lt;/P&gt;&lt;P&gt;Thanks for your reply. Yes, I have point data. Based on your suggestions, I did the followings:&lt;/P&gt;&lt;OL style="list-style-type: decimal;"&gt;&lt;LI&gt; Run OLS and the results showed elevation and precipitation are significant, and residuals are spatially autocorrelated&lt;/LI&gt;&lt;LI&gt;Interpolate significant independent variables (elevation and precipitation) and residuals separately&lt;/LI&gt;&lt;LI&gt;Convert the interpolated surfaces to raster&lt;/LI&gt;&lt;LI&gt;Use “Plus” tool to add the two rasters together&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;I am afraid I am still not quite clear what you meant by “&lt;SPAN style="font-size: 10.5pt; font-family: Arial, sans-serif; background: white;"&gt;plug the results into the OLS equation to get the predicted values&lt;/SPAN&gt;”. Is it the last step that I will get my prediction map? Can you please elaborate more? My guess was to add the interpolated independent variable and residual surfaces together, which I did, but predicted values are way too high and have negative values. &lt;/P&gt;&lt;P&gt;It would be very nice to have access to &lt;SPAN style="font-size: 10.5pt; font-family: Arial, sans-serif; background: white;"&gt;EBK Regression Prediction&lt;/SPAN&gt;. Please help me find it if it becomes available.By the way, do I have to pay this new product? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: Arial, sans-serif; background: white;"&gt;Much appreciate your help!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: Arial, sans-serif; background: white;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: Arial, sans-serif; background: white;"&gt;Roni&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Nov 2015 05:29:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geostatistical-analyst-questions/regression-kriging/m-p/124552#M279</guid>
      <dc:creator>RoniLuo</dc:creator>
      <dc:date>2015-11-05T05:29:18Z</dc:date>
    </item>
    <item>
      <title>Re: Regression kriging</title>
      <link>https://community.esri.com/t5/arcgis-geostatistical-analyst-questions/regression-kriging/m-p/124553#M280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is what I mean by plugging the the rasters into the OLS equation:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you run OLS, you will get coefficients for the explanatory variables along with an intercept value.&amp;nbsp; For example, let's say that the precipitation variable gets a coefficient of 2, elevation gets a coefficient of 3, and the intercept term is -4. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You would interpolate elevation, precipitation, and residuals to rasters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You would then apply the following formula to get your prediction surface:&lt;/P&gt;&lt;P&gt;Prediction = -4 + 2 * (precipitation) + 3 * (elevation) + (residual)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Raster Calculator tool is the easiest way to apply this formula to all raster cells.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, in a location where the precipitation is 500, elevation is 1000, and the residual is 50, the prediction would be:&lt;/P&gt;&lt;P&gt;Prediction = -4 + 2 * 500 + 3 * 1000 + 50 = 4046&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, your prediction at that location would be 4046. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will look into how you can download ArcGIS Pro 1.2 beta.&amp;nbsp; It will be available as part of the ArcGIS for Desktop 10.4 release, so if you are on a maintenance contract that has this product available, you will be able to download the beta.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Nov 2015 16:37:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geostatistical-analyst-questions/regression-kriging/m-p/124553#M280</guid>
      <dc:creator>EricKrause</dc:creator>
      <dc:date>2015-11-05T16:37:18Z</dc:date>
    </item>
    <item>
      <title>Re: Regression kriging</title>
      <link>https://community.esri.com/t5/arcgis-geostatistical-analyst-questions/regression-kriging/m-p/124554#M281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If your organization has permissions to download prerelease versions of ArcGIS, you will be able to download them through my.esri.com.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Nov 2015 21:15:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geostatistical-analyst-questions/regression-kriging/m-p/124554#M281</guid>
      <dc:creator>EricKrause</dc:creator>
      <dc:date>2015-11-05T21:15:12Z</dc:date>
    </item>
    <item>
      <title>Re: Regression kriging</title>
      <link>https://community.esri.com/t5/arcgis-geostatistical-analyst-questions/regression-kriging/m-p/124555#M282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Eric,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your example is very helpful. I was able to follow and calculate. The maximum value in my RK prediction map is 40, and the max in my cokriging prediction map is 109. Is the difference mainly due to the regression equation? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, I realize that my dependent variable, groundwater level, and independent variable, elevation are positively skewed. Should I transform them before I build OLS? However, field calculator only has "log()" function but not "ln()". For example, ln(GW) = intercept + b*ln(elevation) + residuals&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If so, I will need to back transform the results after I fit the residuals back into the trend. Is that correct?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks again!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Nov 2015 04:11:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geostatistical-analyst-questions/regression-kriging/m-p/124555#M282</guid>
      <dc:creator>RoniLuo</dc:creator>
      <dc:date>2015-11-10T04:11:54Z</dc:date>
    </item>
    <item>
      <title>Re: Regression kriging</title>
      <link>https://community.esri.com/t5/arcgis-geostatistical-analyst-questions/regression-kriging/m-p/124556#M283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;python parser in the field calculator&lt;/P&gt;&lt;P&gt;math.log(some number, base)&amp;nbsp; if base is omitted, it is assumed to be base e&lt;/P&gt;&lt;P&gt;math.log10(some number)&amp;nbsp;&amp;nbsp;&amp;nbsp; base 10 log, usually more accurate than math.log(some number,10) according to help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Nov 2015 04:42:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geostatistical-analyst-questions/regression-kriging/m-p/124556#M283</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2015-11-10T04:42:14Z</dc:date>
    </item>
    <item>
      <title>Re: Regression kriging</title>
      <link>https://community.esri.com/t5/arcgis-geostatistical-analyst-questions/regression-kriging/m-p/124557#M284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Without seeing your data, it's hard to give specific recommendations.&amp;nbsp; However, cokriging and regression kriging work in completely different ways, so you shouldn't expect their results to align perfectly.&amp;nbsp; I don't know if the difference is big enough to be worried about, but you shouldn't expect the maximums to be the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;About the log transformation, again, it's hard to recommend whether or not to transform without seeing the data.&amp;nbsp; But if you think a log transformation is needed, this is how you would proceed:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Take the log of the dependent variable at the very beginning.&lt;/LI&gt;&lt;LI&gt;Run OLS on the transformed variable, interpolate the explanatory variables and the residuals, and plug the results into the equation as before.&lt;/LI&gt;&lt;LI&gt;This will give you predictions for the log of the data value.&amp;nbsp; You would then take the anti-log (e^predictions if you used natural log) to get predictions on the original scale.&lt;/LI&gt;&lt;/OL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Nov 2015 17:07:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geostatistical-analyst-questions/regression-kriging/m-p/124557#M284</guid>
      <dc:creator>EricKrause</dc:creator>
      <dc:date>2015-11-10T17:07:44Z</dc:date>
    </item>
  </channel>
</rss>

