| loglik.linear.model {PrevMap} | R Documentation |
Profile log-likelihood or fixed parameters likelihood evaluation for the covariance parameters in the geostatistical linear model
Description
Computes profile log-likelihood, or evaluatesx likelihood keeping the other paramaters fixed, for the scale parameter phi of the Matern function and the relative variance of the nugget effect nu2 in the linear Gaussian model.
Usage
loglik.linear.model(
object,
control.profile,
plot.profile = TRUE,
messages = TRUE
)
Arguments
object |
an object of class 'PrevMap', which is the fitted linear model obtained with the function |
control.profile |
control parameters obtained with |
plot.profile |
logical; if |
messages |
logical; if |
Value
an object of class "profile.PrevMap" which is a list with the following values
eval.points.phi: vector of the values used for phi in the evaluation of the likelihood.
eval.points.rel.nugget: vector of the values used for nu2 in the evaluation of the likelihood.
profile.phi: vector of the values of the likelihood function evaluated at eval.points.phi.
profile.rel.nugget: vector of the values of the likelihood function evaluated at eval.points.rel.nugget.
profile.phi.rel.nugget: matrix of the values of the likelihood function evaluated at eval.points.phi and eval.points.rel.nugget.
fixed.par: logical value; TRUE is the evaluation if the likelihood is carried out by fixing the other parameters, and FALSE if the computation of the profile-likelihood was performed instead.
Author(s)
Emanuele Giorgi e.giorgi@lancaster.ac.uk
Peter J. Diggle p.diggle@lancaster.ac.uk