Re: [R] define a new family (and a new link function) for gam in gam package

2009-09-21 Thread Corrado
Dear Simon, I want a simple generalised additive model for regression which I can customise (force /define a certain basis, certain order for the splines, knots vector, generating new link functions, and force the regression through 0,0). What do you suggest? On Friday 18 September 2009

Re: [R] define a new family (and a new link function) for gam in gam package

2009-09-18 Thread Corrado
Dear David, I am using gam in gam package (not in mgcv) it is possible to force gam in mgcv to behave like gam in gam package? On Thursday 17 September 2009 23:00:17 David Winsemius wrote: On Sep 17, 2009, at 1:39 PM, Topi, Corrado wrote: Dear R list, is it possible to define a new

Re: [R] define a new family (and a new link function) for gam in gam package

2009-09-18 Thread Simon Wood
I am using gam in gam package (not in mgcv) it is possible to force gam in mgcv to behave like gam in gam package? -- not *exactly*, no. But what do you want to do? (i.e. what feature of `gam' do you need?) -- Simon Wood, Mathematical Sciences, University of Bath, Bath, BA2 7AY UK +44

[R] define a new family (and a new link function) for gam in gam package

2009-09-17 Thread Topi, Corrado
Dear R list, is it possible to define a new family (and a new link function) for gam in gam package? How? I read the help for gam, family, gam.model, make.link but I did not find a solution. Regards -- Corrado Topi Area 18,Department of Biology University of York, York, YO10 5YW, UK

Re: [R] define a new family (and a new link function) for gam in gam package

2009-09-17 Thread David Winsemius
On Sep 17, 2009, at 1:39 PM, Topi, Corrado wrote: Dear R list, is it possible to define a new family (and a new link function) for gam in gam package? How? I read the help for gam, family, gam.model, make.link but I did not find a solution. Wood provides an example for negbin with