spT.initials function

Initial values for the spatio-temporal models.

Initial values for the spatio-temporal models.

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

spT.initials(model, sig2eps=0.01, sig2eta=NULL, rho=NULL, beta=NULL, phi=NULL)

Arguments

  • model: The spatio-temporal models, current options are: "GP", "AR", and "GPP".

  • sig2eps: Initial value for the parameter σ\sigma^2_ϵ\epsilon.

  • sig2eta: Initial value for the parameter σ\sigma^2_η\eta.

  • rho: Initial value for the parameter ρ\rho.

  • beta: Initial value for the parameter β\beta.

  • phi: Initial value for the parameter ϕ\phi.

Note

Initial values are automatically given if the user does not provide these.

See Also

spT.Gibbs, predict.spT, spT.priors.

Examples

## initials<-spT.initials(model="GPP", sig2eps=0.01, sig2eta=0.5, beta=NULL, phi=0.001) initials ##
  • Maintainer: K. Shuvo Bakar
  • License: GPL (>= 2)
  • Last published: 2024-09-08

Useful links