summary.bcgam {bcgam} | R Documentation |
summary
method for class "bcgam"
.
## S3 method for class 'bcgam'
summary(object, ...)
object |
an object of class |
... |
further arguments passed to or from other methods. |
All summary statistics are based on the posterior distribution in the bcgam
object.
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
.
Cristian Oliva-Aviles and Mary C. Meyer
## 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)