log_profile_lik_deriv: Derivative of natural logarithm of the profile likelihood

View source: R/RcppExports.R

log_profile_lik_derivR Documentation

Derivative of natural logarithm of the profile likelihood

Description

The derivative of natural logarithm of profile likelihood of the Robust GaSP model with regard to inverse range parameters and nugget-variance ratio parameter after plugging in the maximum likelihood estimator of the mean (trend) and variance parameters. When the nugget parameter is fixed, it only computes the derivative with regard to the inverse range parameter; otherwise it produces derivative with regard to inverse range parameter and nugget-variance ratio parameter.

Usage

log_profile_lik_deriv(param, nugget, nugget_est, R0, X, zero_mean, 
output, kernel_type, alpha)

Arguments

param

A vector of natural logarithm of inverse-range parameters and natural logarithm of the nugget-variance ratio parameter.

nugget

The nugget-variance ratio parameter if this parameter is fixed.

nugget_est

Boolean value of whether the nugget is estimated or fixed.

R0

A list of matrix where the j-th matrix is an absolute difference matrix of the j-th input vector.

X

The mean basis function i.e. the trend function.

zero_mean

The mean basis function is zero or not.

output

The output vector.

kernel_type

A vector of integer specifying the type of kernels of each coordinate of the input. In each coordinate of the vector, 1 means the pow_exp kernel with roughness parameter specified in alpha; 2 means matern_3_2 kernel; 3 means matern_5_2 kernel; 5 means periodic_gauss kernel; 5 means periodic_exp kernel.

alpha

Roughness parameters in the kernel functions.

Value

The numerical value of the derivative of natural logarithm of marginal likelihood with regard to range and nugget-variance ratio parameter (if not fixed). When the nugget is fixed, the derivative is on inverse-range parameters.

Author(s)

Mengyang Gu [aut, cre], Jesus Palomo [aut], James Berger [aut]

Maintainer: Mengyang Gu <mengyang@pstat.ucsb.edu>

References

M. Gu. (2016). Robust uncertainty quantification and scalable computation for computer models with massive output. Ph.D. thesis. Duke University.

See Also

log_profile_lik.


RobustGaSP documentation built on June 1, 2022, 9:08 a.m.