excursions.brinla: Excursion sets and contour credible regions for latent...

View source: R/YY.R

excursions.brinlaR Documentation

Excursion sets and contour credible regions for latent Gaussian models

Description

A wrapper function for excursions.inla() in excursions package

Usage

excursions.brinla(result.inla, name = NULL, ind = NULL, method, u,
  type, alpha = 0.05)

Arguments

result.inla

result object from INLA call

name

The name of the component for which to do the calculation

ind

the indices for the part of a component that should be used in the calculations

method

the method for handeling the latent Gaussian structure: 'EB' empirical Bayes; 'QC' quantile correction; 'NI' numerical integration; 'NIQC' numerical integration with quantile correction; 'iNIQC' improved integration with quantle correction

u

the excursion or contour level

type

the type of region: '>' positive excursions; '<' negative excursions; '!=' contour avoiding function; '=' contour credibility function

alpha

specifies the joint probability of an excursion set or contour credible region as 1-alpha

Value

a list that contains the following arguments: 'E' excursion set, contour credible region, or contour avoiding set with 1-alpha probability; 'F' the excursion function corresponding to the set E; 'G' the excursion function F thresholded at 1-alpha; 'rho' marginal excursion probabilities; 'mean' posterior mean; 'vars' marginal variances


julianfaraway/brinla documentation built on April 6, 2023, 2:33 p.m.