summarize
Distribution summary statistics of Bayesian linear regression model for predictor variable selection
Description
To obtain a summary of a standard Bayesian linear regression model, see summarize
.
summarize(
displays a tabular summary of
the random regression coefficients and disturbance variance of the Bayesian linear regression model
Mdl
)Mdl
at the command line. For each parameter, the summary includes the:
Standard deviation (square root of the variance)
95% equitailed credible intervals
Probability that the parameter is greater than 0
Description of the distributions, if known
Marginal probability that a coefficient should be included in the model, for stochastic search variable selection (SSVS) predictor-variable-selection models
returns a structure array with a table summarizing the regression coefficients and
disturbance variance, and a description of the joint distribution of the
parameters.SummaryStatistics
= summarize(Mdl
)
Examples
Input Arguments
Output Arguments
More About
Algorithms
If
Mdl
is alassoblm
model object andMdl.Probability
is a numeric vector, then the 95% credible intervals on the regression coefficients areMean + [–2 2]*Std
, whereMean
andStd
are variables in the summary table.If
Mdl
is amixconjugateblm
ormixsemiconjugateblm
model object, then the 95% credible intervals on the regression coefficients are estimated from the mixture cdf. If the estimation fails, thensummarize
returnsNaN
values instead.
Version History
Introduced in R2018b