summary.bcgam {bcgam}R Documentation

Summarizing bcgam fits

Description

summary method for class "bcgam".

Usage

## S3 method for class 'bcgam'
summary(object, ...)

Arguments

object

an object of class "bcgam".

...

further arguments passed to or from other methods.

Details

All summary statistics are based on the posterior distribution in the bcgam object.

Value

The function summary.bcgam computes and return a list of summary statistics (estimated mean, standard error, 95% bounds, estimated median) of the fitted bcgam given in object.

Author(s)

Cristian Oliva-Aviles and Mary C. Meyer

Examples

## Not run: 
n<-50
x<-(1:n)^{1/3}
z<-as.factor(rbinom(n, 1, 0.6))
y<-x+7*as.numeric(z)+rnorm(n,sd=2) 
bcgam.fit <- bcgam(y~sm.incr(x)+z, nloop=100)
summary(bcgam.fit)

## End(Not run)

[Package bcgam version 1.0 Index]