Skip to content
Prev 21348 / 29559 Next

Logit spatial predictions outside range [0,1]

Hi Edoardo,

This happens because, as the help for predict.glm() says:

'The default [prediction]  is on the scale of the linear predictors; the 
alternative "response" is on the scale of the response variable.'

I.e., you should use

pred = predict(predictors, logit, ext=ext, type ="response")

to get your predictions on the [0,1] scale.

Hope this helps


Marcelino



El 21/07/2014 12:27, Edoardo Baldoni escribi?: