estimate.ESS: Estimation of effective sample size

View source: R/VB_FCtemplateICA.R

estimate.ESSR Documentation

Estimation of effective sample size

Description

Estimation of effective sample size

Usage

estimate.ESS(mesh, Y, ind = NULL, trace = FALSE)

Arguments

mesh

INLA mesh

Y

data

ind

index of the data locations in the mesh

trace

If TRUE, a formula based on the trace is used, otherwise the inverse correlation is used

Details

The functions computes the effective sample size as trace(Q^{-1})/trace(Q*Q) as in Bretherton et al. (1999), Journal of Climate.

Value

Estimate of the effective sample size


templateICAr documentation built on Oct. 14, 2024, 5:08 p.m.