Learn R Programming

vagam (version 1.1)

summary.vagam: Summary of generalized additive model (GAM) fitted using variational approximations (VA).

Description

A summary of the results from applying vagam.

Usage

# S3 method for vagam
summary(object, ...)

# S3 method for vagam print(x,...)

Arguments

object

An object of class "vagam".

x

An object of class "vagam".

...

Not used.

Value

A list (some of which is printed) containing the following elements:

  • call:The matched call.

  • para.coeff:The estimated regression coefficients corresponding to the covariates in parametric component of the GAM. This includes the intercept term.

  • smooth.coeff:The estimated smoothing coefficients corresponding to the (P-spline bases set up for) covariates in the nonparametric component of the GAM. This corresponds to the mean vector of the variational distribution.

  • smooth.param:The estimated smoothing coefficients, or the fixed smoothing parameters if lambda was supplied.

  • phi:The estimated residual variance when the Gaussian distribution is assumed for the response.

  • logLik:The maximized value of the variational log-likelihood.

  • family:The assumed distribution for the response.

  • smooth.stat:A small table of summary statistics for the nonparametric component of the GAM, including an approximate Wald-type hypothesis test for the significance of each nonparametric covariate.

  • para.stat:If para.se=TRUE, then a small table containing summary statistics for the estimated parametric component of the GAM, including an approximate Wald-type hypothesis test for the significance of each parameteric covariate.

See Also

vagam for the main fitting function

Examples

Run this code
# NOT RUN {
## Please see examples in the help file for the vagam function.
# }

Run the code above in your browser using DataLab