| ccd_weights | R Documentation |
Per-point design weights for a ccd_grid() used as nested-Laplace integration
nodes. Implements the corrected R-INLA central-composite-design weights: the
formula in Rue, Martino and Chopin (2009) has a typo, corrected by the R-INLA
team to give a positive central weight. With m hyperparameters, np design
points and standardized scaling f0, every non-centre point gets
w = 1 / ((np - 1)(1 + e^{-m f0^2 / 2}(f0^2 - 1)))
and the centre point gets w_0 = 1 - (np - 1) w. Used as
\Delta_k: the integration weight of node k is
\Delta_k \exp(\log\,\mathrm{marginal}_k), renormalized. On a standardized
(whitened) hyperparameter posterior these reproduce the Gaussian moments
exactly.
ccd_weights(ccd)
ccd |
A |
Numeric vector of length ccd$n_points: the design weight for each
point (the centre weight w0 for the central point, w otherwise).
ccd_grid(), ccd_to_theta().
ccd_weights(ccd_grid(3))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.