Constructor functions for local parameter estimation.

Description

This function generates another function to be used within optim to obtain maximum likelihood estimates of local variance parameters lam1, lam2, eta, tausq, sigmasq, and nu (smoothness) using a Gaussian likelihood with an anisotropic covariance structure.

Usage

1
make_aniso_loglik_kappa(locations, cov.model, data, Xmat)

Arguments

locations

A matrix of locations.

cov.model

String; the covariance model.

data

A vector or matrix of data to use in the likelihood calculation.

Xmat

The design matrix for the mean model.

Value

This function returns another function for use in optim.

Examples

1
2
3
4
## Not run: 
make_aniso_loglik_kappa( locations, cov.model, data, Xmat )

## End(Not run)

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

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

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