https://github.com/cran/convoSPAT
Raw File
Tip revision: 2ecb9ba15a04fd468731c269b17a2df92bbc16b3 authored by Mark D. Risser on 12 April 2017, 21:30:56 UTC
version 1.2
Tip revision: 2ecb9ba
make_aniso_loglik_kappa.Rd
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/convoSPAT_paramEst.R
\name{make_aniso_loglik_kappa}
\alias{make_aniso_loglik_kappa}
\title{Constructor functions for local parameter estimation.}
\usage{
make_aniso_loglik_kappa(locations, cov.model, data, Xmat, nugg2.var)
}
\arguments{
\item{locations}{A matrix of locations.}

\item{cov.model}{String; the covariance model.}

\item{data}{A vector or matrix of data to use in the likelihood
calculation.}

\item{Xmat}{The design matrix for the mean model.}

\item{nugg2.var}{Fixed values for the variance of the second nugget term.}
}
\value{
This function returns another function for use in \code{optim}.
}
\description{
This function generates another function to be used within \code{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.
}
\examples{
\dontrun{
make_aniso_loglik_kappa( locations, cov.model, data, Xmat )
}

}

back to top