make_global_loglik3 {convoSPAT} | R Documentation |
This function generates another function to be used within optim
to
obtain maximum likelihood estimates of
global variance parameter tausq with a fixed correlation
matrix (smoothness is fixed). The process variance is taken
to be spatially-varing.
make_global_loglik3(data, Xmat, Corr, obs.variance, nugg2.var)
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 matrix. |
obs.variance |
A vector containing the spatially-varying variance corresponding to each data location. |
nugg2.var |
Fixed values for the covariance of the second nugget term. |
This function returns another function for use in optim
.
## Not run:
make_global_loglik3( data, Xmat, Corr, obs.variance, nugg2.var )
## End(Not run)