initials: Initial values for the spatio-temporal models.

Description Usage Arguments Note See Also Examples

View source: R/spTfnc.R

Description

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

Usage

1
2
initials(sig2eps=0.01, sig2eta=NULL, sig2beta=NULL, sig2delta=NULL,
   rhotp=NULL, rho=NULL, beta=NULL, phi=NULL)

Arguments

sig2eps

Initial value for the parameter σ^2_ε.

sig2eta

Initial value for the parameter σ^2_η.

sig2beta

Initial value for the parameter σ^2_β for spatially varying model.

sig2delta

Initial value for the parameter σ^2_δ for dynamic state-space model.

rhotp

Value for the parameter ρ for dynamic state-space model. For rhotp=1, ρ parameters are not sampled and fixed at value 1. For rhotp=0, ρ parameters are sampled from the full conditional distribution via MCMC with initial value 0.

rho

Initial value for the parameter ρ.

beta

Initial value for the parameter β.

phi

Initial value for the parameter φ.

Note

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

See Also

GibbsDyn, priors.

Examples

1
2
3
4
5
6
## 

initials<-initials(sig2eps=0.01, sig2eta=0.5, beta=NULL, phi=0.001)
initials

##

spTDyn documentation built on Nov. 17, 2017, 5:04 a.m.