alik_cutoff | R Documentation |
Calculate the likelihood approximation at different parameter values. This function is useful for choosing the skeleton set.
Plot likelihood approximation.
alik_cutoff(likopt, par_vals, likthreshold)
alik_plot(alikobj)
likopt |
Output from the function |
par_vals |
A named list with some of the components "linkp", "phi", "omg", "kappa". |
likthreshold |
A threshold value proportion to calculate the cutoff. The cutoff will be calculated as that proportion relative to the maximum value of the log-likelihood. |
alikobj |
Output from |
The input par_vals
is meant to contain vector of parameter
values for each parameter. For each element in par_vals
,
the other parameters are set equal to the maximisers given in
likopt
and the approximate likelihood is computed. The
cuttoff is calculated using linear interpolation provided by
approx
.
The plot can be used to visualise the Laplace approximation to the
likelihood provided by the function alik_cutoff
.
A list with the log-likelihood approximation and cutoff values.
Draws a plot.
Evangelou, E., & Roy, V. (2019). Estimation and prediction for spatial generalized linear mixed models with parametric links via reparameterized importance sampling. Spatial Statistics, 29, 289-315.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.