Skip to main content

Logistic Regression Calculation using Raster Surfacesexp() function in raster calculator of QGIS fails

Became Hot Network Question
deleted 13 characters in body
Source Link
Taras
  • 34k
  • 4
  • 73
  • 148

I have been trying to use this expression in the QGIS raster calculator:

1 / (1 + exp(-(β0 + β1 * RasterX1 + β2 * RasterX2 + ... + βn * RasterXn)))

1 / (1 + exp(-(β0 + β1 * RasterX1 + β2 * RasterX2 + ... + βn * RasterXn)))

The above expression has been replaced with the relevant coefficients and raster surfaces. However, the expression seems to be invalid. After testing different parts of the expression, it seems that the problematic part of the expression is the "exp", i.e. exponential.

Any solutions? Is there any variation to how the exponential is calculated using the QGIS Raster Calculator?

Thanks

A

I have been trying to use this expression in the QGIS raster calculator:

1 / (1 + exp(-(β0 + β1 * RasterX1 + β2 * RasterX2 + ... + βn * RasterXn)))

The above expression has been replaced with the relevant coefficients and raster surfaces. However, the expression seems to be invalid. After testing different parts of the expression, it seems that the problematic part of the expression is the "exp", i.e. exponential.

Any solutions? Is there any variation to how the exponential is calculated using the QGIS Raster Calculator?

Thanks

A

I have been trying to use this expression in the QGIS raster calculator:

1 / (1 + exp(-(β0 + β1 * RasterX1 + β2 * RasterX2 + ... + βn * RasterXn)))

The above expression has been replaced with the relevant coefficients and raster surfaces. However, the expression seems to be invalid. After testing different parts of the expression, it seems that the problematic part of the expression is the "exp", i.e. exponential.

Any solutions? Is there any variation to how the exponential is calculated using the QGIS Raster Calculator?

added 3 characters in body
Source Link

I have been trying to use this expression in the QGIS raster surfacecalculator:

1 / (1 + exp(-(β0 + β1 * RasterX1 + β2 * RasterX2 + ... + βn * RasterXn)))

The above expression has been replaced with the relevant coefficients and raster surfaces. However, the expression seems to be invalid. After testing different parts of the expression, it seems that the problematic part of the expression is the "exp", i.e. exponential.

Any solutions? Is there any variation to how the exponential is calculated using the QGIS Raster Calculator?

Thanks

A

I have been trying to use this expression in the QGIS raster surface:

1 / (1 + exp(-(β0 + β1 * RasterX1 + β2 * RasterX2 + ... + βn * RasterXn)))

The above expression has been replaced with the relevant coefficients and raster surfaces. However, the expression seems to be invalid. After testing different parts of the expression, it seems that the problematic part of the expression is the "exp", i.e. exponential.

Any solutions? Is there any variation to how the exponential is calculated using the QGIS Raster Calculator?

Thanks

A

I have been trying to use this expression in the QGIS raster calculator:

1 / (1 + exp(-(β0 + β1 * RasterX1 + β2 * RasterX2 + ... + βn * RasterXn)))

The above expression has been replaced with the relevant coefficients and raster surfaces. However, the expression seems to be invalid. After testing different parts of the expression, it seems that the problematic part of the expression is the "exp", i.e. exponential.

Any solutions? Is there any variation to how the exponential is calculated using the QGIS Raster Calculator?

Thanks

A

Source Link
Loading