make_global_loglik1: Constructor functions for global parameter estimation.
Description
This function generates another function to be used within optim to
obtain maximum likelihood estimates of
global variance parameters tausq, sigmasq with a fixed correlation
matrix (smoothness is fixed).
Usage
make_global_loglik1(data, Xmat, Corr, nugg2.var)
Arguments
data
A vector or matrix of data to use in the likelihood
calculation.
Xmat
The design matrix for the mean model.
Corr
The correlation matrix.
nugg2.var
Fixed values for the covariance of the second nugget term.
Value
This function returns another function for use in optim.