`fitmargBMA`

takes a list of marginal distributions and weights
(presumably, based on some marginal likelihoods) and computes a
final distribution by weighting.

`fitmargBMA2`

takes a list of INLA models and computes Bayesian
Model Averaging on some of their components.

`fitmatrixBMA`

performs averaging on a list of matrices.

`fitlistBMA`

performs averaging of elements in lists.

1 2 3 4 | ```
fitmargBMA(margs, ws, len = 100)
fitmargBMA2(models, ws, item)
fitmatrixBMA(models, ws, item)
fitlistBMA(models, ws, item)
``` |

`margs` |
List of 2-column matrices with the values of the (marginal) distributions. |

`models` |
List of INLA models to be averaged. |

`ws` |
Vector of weights. They do not need to sum up to one. |

`len` |
Length of the x-vector to compute the weighted distribution. |

`item` |
Name of the elements of an INLA object to be used in the Model Averaging. |

For `fitmargBMA`

, distributions provided are averaging according to the
weights provided. A new probability distribution is obtained.

`fitmargBMA2`

uses a list of INLA models to compute Model Averaging
on some of their components (for example, the fitted values).

`fitmatrixBMA`

performs averaging on a list of matrices.

`fitlistBMA`

performs averaging of a list of a list of matrices.

`fitmargBMA`

returns a 2-column matrix with the weighted marginal
distribution.

`fitmargBMA2`

returns a list of weighted components.

`fitmatrixBMA`

returns a matrix.

`fitlistBMA`

returns a list.

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

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.

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.