Re: [R] predict.glm and predict.gam output

2009-06-19 Thread sw283
Anke, mgcv:predict.gam certainly didn't produce `something like a negative log-likelihood of occurrence', but is it possible that one of your maps is on the probability scale and the other on the linear predictor scale? If you used predict.glm(model1,type="response"), but predict.gam(model2

Re: [R] predict.glm and predict.gam output

2009-06-19 Thread Gavin Simpson
On Thu, 2009-06-18 at 13:23 -0600, Anke Konrad wrote: > Hi all, > > I am currently trying to compare different plant occurrence prediction > maps generated in R and exported into GRASS. One of these maps was > generated from a glm fitted to some data, and subsequently applying this > glm model

Re: [R] predict.glm and predict.gam output

2009-06-18 Thread David Winsemius
On Jun 18, 2009, at 3:23 PM, Anke Konrad wrote: Hi all, I am currently trying to compare different plant occurrence prediction maps generated in R and exported into GRASS. One of these maps was generated from a glm fitted to some data, and subsequently applying this glm model to a wider

[R] predict.glm and predict.gam output

2009-06-18 Thread Anke Konrad
Hi all, I am currently trying to compare different plant occurrence prediction maps generated in R and exported into GRASS. One of these maps was generated from a glm fitted to some data, and subsequently applying this glm model to a wider region using predict.glm. The outcome here was a prob