HBSTM-class: Class '"HBSTM"'

HBSTM-classR Documentation

Class "HBSTM"

Description

"HBSTM" contains all the information of the fitted Hierarchical Bayesian Space-Time model.

Slots

Parameters:

An object of "Parameters" containing all the parameters of the fitted model.

Hyperpriors:

An object of class "Hyperpriors" containing all the hyperpiors used in the fitted model.

seed:

The seed used to fit the model.

mse:

A vector containing the MSE of each iteration of the algorithm.

iterations:

The total number of iterations that the algorithm has executed.

newGrid:

An Sx2 "matrix" (S is the number of spatial points of the predicted grid) containing the Longitude (1rst col.) and the Latitudes (2nd col.) of the new grid.

K:

An MxS "matrix" (M = observed spatial points) that relates the observations to the new grid.

Zt:

A MxT "matrix" (T is the temporal points) containing the data.

fitted:

An "array" which contains the estimation of the fitted values of 'Yt'. The dimension of the array is SxTx2 when the algorithm estimates the mean and the standard deviation and is SxTx3 when the algorithm estimates the median and its 95 percent credibility intervals.

residuals:

A MxT "matrix" with the obtained model residuals.

MCMCsamp:

A "list" of length: the number of executed iterations containing the MCMC samples of the objects of class "Parameters", "Mu", "Mt" or "Xt", for each iteration.

MCMCclass:

A "character" that specifies which type of object is stored in MCMCsamp. The options are "Parameters", "Mu", "Mt" or "Xt"

Methods

[

signature(x = "HBSTM", i = "character", j = "missing", drop = "missing"): extract the components of the model.

[<-

signature(x = "HBSTM", i = "character", j = "missing"): assign values to the components of the model.

hbstm.fit

signature(HBSTM = "HBSTM", niter = "numeric"): ...

hbstm.save

signature(HBSTM = "HBSTM", name = "character"): ...

Author(s)

Pilar Munyoz and Alberto Lopez Moreno

See Also

Overview: HBSTM-package
Classes : HBSTM,Parameters,Mu,Mt,Xt,Autoregressive,Seas,SpatParam,VectSubdiag, Hyperpriors,Mu0,Mt0,Xt0,Seas0,Autoregressive0,SpatParam0,VectSubdiag0
Methods : hbstm,hbstm.fit,results,estimation,resid,mse
Plot : plotRes,plotFit
Data: hirlam,coordinates


HBSTM documentation built on May 28, 2022, 5:05 p.m.