Get some question about the function gam.
Suppose I have a semiparametric model,
Y~x1+x2+s(z1).
Using gam, how could I get the estimates for the parametric part and
nonparametric part respectively?
And another question: we could find the coefficients for both
parametric term and nonparametric
Please read the posting guide and do give sufficient details for your
questions to be answered.
On Tue, 12 Oct 2004, Liu Song wrote:
Get some question about the function gam.
There are at least two functions gam() available for R, but none in
standard R. Which package are you talking about?
Prof Brian Ripley ripley at stats.ox.ac.uk writes:
: And another question: we could find the coefficients for both
: parametric term and nonparametric term, what do these coefficients
: for the nonparametric term stand for, the coefficients for the base
: functions?
:
: By definition,
Get some question about the function gam.
Suppose I have a semiparametric model,
Y~x1+x2+s(z1).
Using gam, how could I get the estimates for the parametric part and
nonparametric part respectively?
For a gam object (called, b,say) fitted using the mgcv `gam' then coef(b)
will extract the