spTimer (version 3.3)

spT.priors: Priors for the spatio-temporal models.

Description

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

Usage

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

Arguments

model

The spatio-temporal models, current input: "GP", "AR", and "GPP".

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/\(\sigma\)2_\(\epsilon\), 1/\(\sigma\)2_\(\eta\)).

beta.prior

The hyper-parameter for the Normal prior distribution of the \(\beta\) model parameters.

rho.prior

The hyper-parameter for the Normal prior distribution of the \(\rho\) model parameter.

See Also

spT.Gibbs, predict.spT, spT.initials.

Examples

Run this code
# NOT RUN {
<!-- %\dontrun{ -->
# }
# NOT RUN {
## 

priors<-spT.priors(model="GPP",inv.var.prior=Gamm(2,1),
      beta.prior=Norm(0,10^4))
priors

##
# }
# NOT RUN {
<!-- %} -->
# }

Run the code above in your browser using DataLab