Last chance! 50% off unlimited learning
Sale ends in
gam
object, provided the fit was with a method
that evaluated the required Hessian.sp.vcov(x)
gam
as produced by gam()
.NULL
. If the scale parameter has been (RE)ML estimated (i.e. if the method was
"ML"
or "REML"
and the scale parameter was unknown) then the
last row and column relate to the log scale parameter.gam
n <- 100
x <- runif(n);z <- runif(n)
y <- sin(x*2*pi) + rnorm(n)*.2
mod <- gam(y~s(x,bs="cc",k=10)+s(z),knots=list(x=seq(0,1,length=10)),
method="REML")
sp.vcov(mod)
Run the code above in your browser using DataLab