Table of contents

r.regression.line calculates a linear regression from two
raster maps, according to the formula

y = a + b*x

where

x
y

represent the input raster maps.

Optionally, it saves regression coefficients as a ASCII file.
The result includes the following coefficients:
offset/intercept (a) and gain/slope (b), correlation coefficient (R),
number of elements (N), means (medX, medY), standard deviations
(sdX, sdY), and the F test for testing the significance of the
regression model as a whole (F).