Description Usage Arguments Details Value Author(s) References See Also

This function performs Bayesian Model Averaging on a list of
different Spatial Econometrics models. These models have been computed
under different values of the spatial autocorrelation parameter `rho`

.

1 2 |

`models` |
List of INLA models, computed for different values of |

`rho` |
A vector with the values of |

`logrhoprior` |
Vector with the values of the log-prior density of |

`impacts` |
Logical. Whether impacts should be computed. |

`usenormal` |
Logical. Whether the posterior marginal of |

This functions perfomrs BMA on most of the compponents of an INLA model
using the marginal likelihoods of the models and the provided
log-prior density of `rho`

.

A list with the averaged components. Another component called
`rho`

is added, with its posterior marginal and some other
summary information.

Virgilio G<f3>mez-Rubio <virgilio.gomez@uclm.es>

Roger S. Bivand, Virgilio G<f3>mez-Rubio, H<e5>vard Rue (2014). Approximate Bayesian inference for spatial econometrics models. Spatial Statistics, Volume 9, 146-165.

Roger S. Bivand, Virgilio G<f3>mez-Rubio, H<e5>vard Rue (2015). Spatial Data Analysis with R-INLA with Some Extensions. Journal of Statistical Software, 63(20), 1-31. URL http://www.jstatsoft.org/v63/i20/.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.