Priors for the spatio-temporal models.

Description

This command is useful to assign the hyper-parameters of the prior distributions.

Usage

1
2
priors(inv.var.prior=Gamm(a=2,b=1),beta.prior=Norm(0,10^10), 
  rho.prior=Norm(0,10^10))

Arguments

inv.var.prior

The hyper-parameter for the Gamma prior distribution (with mean = a/b) of the precision (inverse variance) model parameters (e.g., 1/σ2_ε, 1/σ2_η).

beta.prior

The hyper-parameter for the Normal prior distribution of the β model parameters.

rho.prior

The hyper-parameter for the Normal prior distribution of the ρ model parameter.

Note

If no prior information are given (assigned as NULL), then it use flat prior values of the corresponding distributions.
Gam and Nor refers to Gamma and Normal distributions respectively.

See Also

GibbsDyn, initials.

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
## 

priors<-priors(var.prior=Gam(2,1), beta.prior=Nor(0,10^4))
priors

##

## End(Not run)