control.profile: Auxliary function for controlling profile log-likelihood in...

Description Usage Arguments Value Author(s) See Also

View source: R/foo.R

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

1
2
3
4
5
6
7
8
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.

Author(s)

Emanuele Giorgi e.giorgi@lancaster.ac.uk

Peter J. Diggle p.diggle@lancaster.ac.uk

See Also

loglik.linear.model


PrevMap documentation built on Oct. 7, 2021, 5:07 p.m.