| summarypvgam | R Documentation |
These functions are all methods for class "pvgam" or
summary.pvgam objects.
summarypvgam(object, dispersion = NULL, digits = options()$digits - 2,
presid = TRUE)
## S3 method for class 'summary.pvgam'
show(x, quote = TRUE, prefix = "", digits = options()$digits -
2, signif.stars = getOption("show.signif.stars"))
object |
an object of class |
x |
an object of class |
dispersion, digits, presid |
See |
quote, prefix, signif.stars |
See |
This methods function reports a summary more similar to
summary.gam from mgcv than
summary.gam() from gam.
It applies to G2-VGAMs using
sm.os and O-splines, else
sm.ps and P-splines.
In particular, the hypothesis test for whether each
sm.os or
sm.ps
term can be deleted follows quite closely to
summary.gam.
The p-values from this type of test tend to be biased downwards (too
small)
and corresponds to p.type = 5.
It is hoped in the short future that improved p-values be implemented,
somewhat like the default of
summary.gam.
This methods function was adapted from
summary.gam.
summarypvgam returns an object of class "summary.pvgam";
see summary.pvgam-class.
See sm.os.
vgam,
summaryvgam,
summary.pvgam-class,
sm.os,
sm.ps,
summary.glm,
summary.lm,
summary.gam from mgcv,
summaryvgam for G1-VGAMs.
## Not run:
hfit2 <- vgam(agaaus ~ sm.os(altitude), binomialff, data = hunua)
coef(hfit2, matrix = TRUE)
summary(hfit2)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.