| pip | R Documentation |
Returns the posterior inclusion probability of each regressor.
pip(x, ...)
## S3 method for class 'badp_bma'
pip(x, prior = c("binomial", "beta"), include_lagged = FALSE, ...)
x |
An object of class |
... |
Arguments passed to methods. |
prior |
Model prior: |
include_lagged |
Logical. Include the lagged dependent variable, whose
inclusion probability is undefined. Defaults to |
The lagged dependent variable enters every model by construction and
therefore carries no inclusion probability. It is omitted unless
include_lagged = TRUE, in which case it appears first with value
NA.
A named numeric vector of posterior inclusion probabilities.
bma_table, pmp, bma
data(full_model_space)
results <- bma(full_model_space)
pip(results)
sort(pip(results), decreasing = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.