Learn R Programming

spTimer (version 0.02)

spT.initials: Initial values for the spatio-temporal models.

Description

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

Usage

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$.

See Also

spT.Gibbs, spT.prediction, spT.forecast, spT.priors.

Examples

Run this code
## 

initials<-spT.initials(model="GPP", sig2eps=0.01, 
        sig2eta=0.5, beta=NULL, phi=0.001)
initials

##

Run the code above in your browser using DataLab