Using Raster Calculator in Model Builder

Discussion created by grastafaram on Mar 16, 2012
Latest reply on Mar 18, 2012 by curtvprice
Hello, I have constructed a model that uses an OLS regression towards the end.  I would like the values for two of the coefficients to be used as part of a raster calculator equation that rebuilds the regression and outputs to a raster.  I have entered the equation that I want to use in the Raster Calculator tool, but cannot figure out how to make the two coefficients from the OLS regression become part of the equation (they are not listed as options under the Layers and Variables section of Raster Calculator).  Part of the problem is that the model is designed to have those two coefficients be different every time the model is run.  Is there any way that I can have the two coefficients become part of the equation?  I have attached a screen shot of the model for clarity.  Any help is greatly appreciated...