View source: R/03-summary-statistics.R
correct_marginals | R Documentation |
The default method of computation for aghq objects computes approximate marginals using an outdated algorithm with no known theoretical properties. The updated algorithm computes pointwise approximate marginals that satisfy the same rate of convergence as the original approximate marginal likelihood. This function takes a fitted aghq object and recomputes its marginals using the updated algorithm
correct_marginals(quad, ...)
quad |
An object of class |
... |
Not used |
An object of class aghq
equal to the provided object, but with its
marginals
component replaced with one calculated using method='correct'
.
See marginal_posterior
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.