proposalVariance_gridded: proposalVariance_gridded function

Description Usage Arguments Value

View source: R/calibratemcmc.R

Description

A function to compute an approximate scaling matrix for the MCMC algorithm. Not intended for general use.

Usage

1
2
proposalVariance_gridded(X, surv, betahat, omegahat, Yhat, priors, cov.model, u,
  control)

Arguments

X

the design matrix, containing covariate information

surv

an object of class Surv

betahat

an estimate of beta

omegahat

an estimate of omega

Yhat

an estimate of Y

priors

the priors

cov.model

the spatial covariance model

u

a vector of pairwise distances

control

a list containg various control parameters for the MCMC and post-processing routines

Value

an estimate of eta and also an approximate scaling matrix for the MCMC


spatsurv documentation built on May 29, 2017, 12:21 p.m.