I'd like to perform a regression analysis in QGIS. Let's say for example that I have 3 grids as my dependent variable and 3 single values as my predictor. That is, for a single value of the predictor I'll have as many values as dependent variable as the number of cells in a grid. For another single value as predictor, I'll have as many values as dependent variable as the number of cells of another grid and so on. I want to perform a regression analysis between the predictor and the dependent, for example with a power law such as
X is a single value and
Y all the values of a single grid. As a result, I'll have consequently two grids as output, one for
a values and one for
Is it possible to do so, maybe using Python?