Skip to content
Prev 3952 / 7420 Next

mgcv:gam predicted class?

On Thu, 2013-07-18 at 16:13 +0200, Per Bergstr?m wrote:
The binomial would presume two classes (0,1) and there is no `type`
argument in `mgcv::gam()`, so the model you are fitting seems ill-fitted
(sorry) to the problem.

What you describe could be a multinomial model, but I don't know how
that can be fitted with splines.

It seems *you* has discretised the response. Why not fit the model on on
the non-discrete response and then apply the classification to those
values rather than the other way round which is what you have done.

HTH

G