https://github.com/cran/convoSPAT
Raw File
Tip revision: 6715a4dbbb981c50804bfa4f248904a75ec81bbd authored by Mark D. Risser on 21 July 2015, 07:53:15 UTC
version 0.1
Tip revision: 6715a4d
make_global_loglik2_kappa.Rd
% Generated by roxygen2 (4.1.0): do not edit by hand
% Please edit documentation in R/convoSPAT_paramEst.R
\name{make_global_loglik2_kappa}
\alias{make_global_loglik2_kappa}
\title{Constructor functions for global parameter estimation.}
\usage{
make_global_loglik2_kappa(data, Xmat, cov.model, Scalemat, Distmat, obs.nuggets)
}
\arguments{
\item{data}{A vector or matrix of data to use in the likelihood
calculation.}

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

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

\item{Scalemat}{Matrix; contains the scaling quantities from the
covariance function.}

\item{Distmat}{Matrix; contains the scaled distances.}

\item{obs.nuggets}{A vector containing the spatially-varying nuggets
corresponding to each data location.}
}
\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
global variance parameters sigmasq and nu. The nugget variance is
taken to be spatially-varying.
}
\examples{
\dontrun{
make_global_loglik2_kappa( data, Xmat, cov.model, Scalemat, Distmat, obs.nuggets )
}
}

back to top