Linear regression in Raster Calculator

582
0
05-31-2013 02:09 AM
AnnaReye
New Contributor
Hi all,

I would like to use a linear regression equation to compute a grid of estimated values in ArcView 9.3.1.
The coefficients have already been obtained and I only need to put them into Raster Calculator. However, I am having troubles with the syntax.

For example, the data table of my layer "soil type" contains the fields "values", "count" and "wrbuf", the latter field containing the variables of the linear regression. The variables are called for example "HSeu" or "CMcr".
I have another layer with data on vegetation structure containing fields "values" and "count". Here, the field "values" contains the variables which are called e.g. "1" or "2". These numbers encode for a type of vegetation.

The regression should look like this:

output = 293.1 + (-15.3 * "HSeu") + (-0.6 * "CMcr") + (-1.5 * "1") + (-2.7 * "2")

What is the correct syntax for this in the Raster Calculator?

Thank you very much for your help,

Anna
Tags (2)
0 Kudos
0 Replies