make_global_loglik1: Constructor functions for global parameter estimation.

Description Usage Arguments Value Examples

View source: R/convoSPAT_paramEst.R

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

1
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 variance of the second nugget term.

Value

This function returns another function for use in optim.

Examples

1
2
3
4
## Not run: 
make_global_loglik1( data, Xmat, Dmat, Vmat )

## End(Not run)


convoSPAT documentation built on May 19, 2017, 10:36 p.m.
Search within the convoSPAT package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.