proposalVariance_polygonal: proposalVariance_polygonal function

View source: R/calibratemcmc.R

proposalVariance_polygonalR Documentation

proposalVariance_polygonal function

Description

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

Usage

proposalVariance_polygonal(
  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 Oct. 19, 2023, 9:07 a.m.