control.prior: Priors specification

Description Usage Arguments Value Author(s) See Also

Description

This function is used to define priors for the model parameters of a Bayesian geostatistical model.

Usage

1
2
3
4
control.prior(beta.mean, beta.covar, log.prior.sigma2 = NULL,
  log.prior.phi = NULL, log.prior.nugget = NULL, uniform.sigma2 = NULL,
  log.normal.sigma2 = NULL, uniform.phi = NULL, log.normal.phi = NULL,
  uniform.nugget = NULL, log.normal.nugget = NULL)

Arguments

beta.mean

mean vector of the Gaussian prior for the regression coefficients.

beta.covar

covariance matrix of the Gaussian prior for the regression coefficients.

log.prior.sigma2

a function corresponding to the log-density of the prior distribution for the variance sigma2 of the Gaussian process. Warning: if a low-rank approximation is used, then sigma2 corresponds to the variance of the iid zero-mean Gaussian variables. Default is NULL.

log.prior.phi

a function corresponding to the log-density of the prior distribution for the scale parameter of the Matern correlation function; default is NULL.

log.prior.nugget

optional: a function corresponding to the log-density of the prior distribution for the variance of the nugget effect; default is NULL with no nugget incorporated in the model; default is NULL.

uniform.sigma2

a vector of length two, corresponding to the lower and upper limit of the uniform prior on sigma2. Default is NULL.

log.normal.sigma2

a vector of length two, corresponding to the mean and standard deviation of the distribution on the log scale for the log-normal prior on sigma2. Default is NULL.

uniform.phi

a vector of length two, corresponding to the lower and upper limit of the uniform prior on phi. Default is NULL.

log.normal.phi

a vector of length two, corresponding to the mean and standard deviation of the distribution on the log scale for the log-normal prior on phi. Default is NULL.

uniform.nugget

a vector of length two, corresponding to the lower and upper limit of the uniform prior on tau2. Default is NULL.

log.normal.nugget

a vector of length two, corresponding to the mean and standard deviation of the distribution on the log scale for the log-normal prior on tau2. Default is NULL.

Value

a list corresponding the prior distributions for each model parameter.

Author(s)

Emanuele Giorgi e.giorgi@lancaster.ac.uk

Peter J. Diggle p.diggle@lancaster.ac.uk

See Also

See "Priors definition" in the Details section of the binomial.logistic.Bayes function.


barryrowlingson/PrevMap documentation built on May 11, 2019, 6:24 p.m.