var_fun: Function to compute analytical variance sigma_L^2 of Linked...

View source: R/var_fun.R

var_funR Documentation

Function to compute analytical variance σ_L^2 of Linked Emulator under squared exponential correlation function.

Description

Function to compute analytical variance σ_L^2 of Linked Emulator under squared exponential correlation function.

Usage

var_fun(
  w,
  z = NULL,
  y,
  mu,
  Sigma,
  z_design = NULL,
  params,
  FastParts,
  ind = "TRUE"
)

Arguments

w

w an m (number of design points) by d (dimensions) matrix of design points

z

a vector of length d1 of exogenous inputs.

y

a vector length m (number of design points) responses.

mu

a vector of length d of predictive mean.

Sigma

a d by d variance-covariance matrix.

z_design

a design matrix of exogenous inputs.

params

a list with parameter values.

FastParts

a list of precomputed objects.

ind

logical argument indicating if we adopt independence assumption for W.

Value

a value of the analytical variance.


vicvolodina93/linkedEmulation documentation built on July 7, 2022, 1:25 a.m.