femiguez/nlraa

Prediction for GLMs and GAMs should use type = "response"

femiguez opened this issue · 1 comments

If I want to include GLMs and GAMs in the model averaging method, prediction should be type = "response" when the family is not gaussian with the identity link

It appears that this is a minor issue. It emerged when trying to use models fitted with 'glm' which I never considered. Models fitted with gam should work fine, after a minor change