spT.priors | R Documentation |
This command is useful to assign the hyper-parameters of the prior distributions.
spT.priors(model="GP", inv.var.prior=Gamm(a=2,b=1), beta.prior=Norm(0,10^10), rho.prior=Norm(0,10^10))
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/σ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. |
If no prior information are given (assigned as NULL), then it use flat prior values of the corresponding distributions.
Gamm
and Norm
refers to Gamma and Normal distributions respectively.
spT.Gibbs, predict.spT, spT.initials
.
## priors<-spT.priors(model="GPP",inv.var.prior=Gamm(2,1), beta.prior=Norm(0,10^4)) priors ##
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.