summary.bayeslm.fit {bayeslm}  R Documentation 
Summarize fitted object of bayeslm
Description
summary.bayeslm.fit
is an S3 method to summarize returned object of function bayeslm
. The input should be bayeslm.fit
object.
Usage
## S3 method for class 'bayeslm.fit'
summary(object,names,burnin=NULL,quantiles=FALSE,trailer=TRUE,...)
Arguments
object 

names 
an optional character vector of names for all the coefficients. 
burnin 
number of draws to burnin (if it is 
quantiles 
logical for should quantiles be displayed (def: 
trailer 
logical for should a trailer be displayed (def: 
... 
optional arguments for generic function 
Details
This function summarize returned object of function bayeslm
. It prints mean, std Dev, effective sample size (computed by function effectiveSize
in package coda
) coefficients posterior samples. If quantiles=TRUE
, quantiles of marginal distirbutions in the columns of X
are displayed.
The function also returns significance level, defined by whether the symmetric posterior quantilebased credible interval excludes zero. For example, a regression coefficient with one * has 0.025 quantile and 0.975 quantile with the same sign. Similarly, '***' denotes 0.0005 and 0.9995, '**' denotes 0.005 and 0.995, '*' denotes 0.025 and 0.975, '.' denotes 0.05 and 0.95 quantiles with the same sign.
Author(s)
Jingyu He
See Also
Examples
x = matrix(rnorm(1000), 100, 10)
y = x %*% rnorm(10) + rnorm(100)
fit=bayeslm(y~x)
summary(fit)