Learn R Programming

PrevMap (version 1.5.4)

control.profile: Auxliary function for controlling profile log-likelihood in the linear Gaussian model

Description

Auxiliary function used by loglik.linear.model. This function defines whether the profile-loglikelihood should be computed or evaluation of the likelihood is required by keeping the other parameters fixed.

Usage

control.profile(
  phi = NULL,
  rel.nugget = NULL,
  fixed.beta = NULL,
  fixed.sigma2 = NULL,
  fixed.phi = NULL,
  fixed.rel.nugget = NULL
)

Arguments

phi

a vector of the different values that should be used in the likelihood evalutation for the scale parameter phi, or NULL if a single value is provided either as first argument in start.par (for profile likelihood maximization) or as fixed value in fixed.phi; default is NULL.

rel.nugget

a vector of the different values that should be used in the likelihood evalutation for the relative variance of the nugget effect nu2, or NULL if a single value is provided either in start.par (for profile likelihood maximization) or as fixed value in fixed.nu2; default is NULL.

fixed.beta

a vector for the fixed values of the regression coefficients beta, or NULL if profile log-likelihood is to be performed; default is NULL.

fixed.sigma2

value for the fixed variance of the Gaussian process sigma2, or NULL if profile log-likelihood is to be performed; default is NULL.

fixed.phi

value for the fixed scale parameter phi in the Matern function, or NULL if profile log-likelihood is to be performed; default is NULL.

fixed.rel.nugget

value for the fixed relative variance of the nugget effect; fixed.rel.nugget=NULL if profile log-likelihood is to be performed; default is NULL.

Value

A list with components named as the arguments.

See Also

loglik.linear.model