https://github.com/cran/dse
Raw File
Tip revision: bbfde2f4b8a2382769a2591a7b594943a0e5e1dd authored by Paul Gilbert on 14 March 2011, 00:00:00 UTC
version 2011.3-1
Tip revision: bbfde2f
totalForecastCov.Rd
\name{totalForecastCov}
\alias{totalForecastCov}
\title{Sum covariance of forecasts across all series}
\description{Sum covariance of forecasts across all series.}
\usage{
    totalForecastCov(obj, select=NULL)
}
\arguments{
    \item{obj}{An object  as returned by forecastCov.}
    \item{select}{
    Series to be select for summation. With the default all series are selected.}
}
\value{
An object similar to that returned by forecastCov, with the covariance
summed over all selected series.
}
\examples{
data("eg1.DSE.data.diff", package="dse")
model1 <- estVARXar(eg1.DSE.data.diff)
model2 <- estVARXls(eg1.DSE.data.diff)
z <-  totalForecastCov(forecastCov(model1, model2,
                         data=trimNA(eg1.DSE.data.diff)))
}
\concept{DSE}
\keyword{ts}

back to top