mean_fun: Function to compute the analytical mean mu_L of the Linked...

View source: R/mean_fun.R

mean_funR Documentation

Function to compute the analytical mean mu_L of the Linked Emulator under squared exponential correlation function

Description

Function to compute the analytical mean mu_L of the Linked Emulator under squared exponential correlation function

Usage

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

Arguments

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 mean.


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