| modelSpace | R Documentation |
A pre-computed model space object obtained using the
model_space function on the Trade_data_small
dataset with a maximum of 7 regressors and the Unit Information Prior.
A list of length 5 with the following components:
Character vector containing the names of the regressors.
Matrix containing the full model space. Each row corresponds to a model specification and includes:
binary inclusion indicators for regressors,
estimated coefficients (including intercept),
standard errors,
log-marginal likelihood,
R^2,
degrees of freedom,
dilution prior term.
Integer. Total number of models in the model space.
Integer. Maximum number of regressors allowed in each model.
Integer. Total number of available regressors.
The object contains all possible linear regression models constructed from the available regressors (up to 7 included simultaneously), together with their estimated coefficients, standard errors, log-marginal likelihood values, R-squared statistics, degrees of freedom, and dilution prior components.
The g-prior specification corresponds to the Unit Information Prior
(UIP), i.e. g = 1/m, where m denotes the sample size.
Generated using:
modelSpace <- model_space(Trade_data_small, M = 7, g = "UIP")
model_space
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.