Displaying 1 result from an estimated 1 matches for "hunua".
2008 Oct 10
0
Problems and bugs in vgam()
...models for zero-altered negative
binomial models.
1. When fitting smoothed parameters (e.g. s(X, df=2)) changing the
degrees-of-freedom has no effect on the level of smoothing (e.g. number
of knots for the spline). This appears to be the case even for the
example on the vgam help page.
data(hunua)
fit2 = vgam(agaaus ~ s(altitude, df=2), binomialff, hunua)
> coef(fit2)
(Intercept) s(altitude, df = 2)
-1.1661259280 0.0003932463
fit10 = vgam(agaaus ~ s(altitude, df=10), binomialff, hunua)
> coef(fit10)
(Intercept) s(altitude, df = 10)
-1.1661...