> It's the gam.predict example. Instead of pred<-predict.gam(b,newd) I tried
> pred<-predict.gam(b).
- Ok, thanks - this is a bug I missed, I'll fix it. The results should be
unaffected, though. Simon
__
[EMAIL PROTECTED] mailing list
https://www.stat.m
On Tue, 3 Jun 2003, Henric Nilsson wrote:
> At 10:07 2003-06-03 +0100, Prof Brian Ripley wrote:
>
> > > 1. The prediction example on p. 38 in the mgcv manual.
> >That's not very helpful: pagination of manuals depends on the paper size,
> >for example.
>
> It's the gam.predict example. Instead of
At 10:07 2003-06-03 +0100, Prof Brian Ripley wrote:
> 1. The prediction example on p. 38 in the mgcv manual.
That's not very helpful: pagination of manuals depends on the paper size,
for example.
It's the gam.predict example. Instead of pred<-predict.gam(b,newd) I tried
pred<-predict.gam(b).
Do
> 2. I've fitted a glm y~a+x+a:x, where a is a 3 level factor and x is a
> continuous covariate. If I want to fit a similar gam model, is it correct
> to fit y~a+s(x)+s(x,by=a.1)+s(x,by=a.2)+s(x,by=a.3), where a.1--a.3 are
> dummy variables representing each level of the factor? Or is the s(x) t
On Tue, 3 Jun 2003, Henric Nilsson wrote:
> I'm a fairly new R user having two questions regarding gam:
>
> 1. The prediction example on p. 38 in the mgcv manual.
That's not very helpful: pagination of manuals depends on the paper size,
for example.
> In order to get
> predictions based on t
Dear all,
I'm a fairly new R user having two questions regarding gam:
1. The prediction example on p. 38 in the mgcv manual. In order to get
predictions based on the original data set, by leaving out the 'newdata'
argument ("newd" in the example), I get an error message
"Warning message: the c