Title: | Imputation of Financial Time Series with Missing Values and/or Outliers |
Version: | 0.1.2 |
Date: | 2021-02-19 |
Description: | Missing values often occur in financial data due to a variety of reasons (errors in the collection process or in the processing stage, lack of asset liquidity, lack of reporting of funds, etc.). However, most data analysis methods expect complete data and cannot be employed with missing values. One convenient way to deal with this issue without having to redesign the data analysis method is to impute the missing values. This package provides an efficient way to impute the missing values based on modeling the time series with a random walk or an autoregressive (AR) model, convenient to model log-prices and log-volumes in financial data. In the current version, the imputation is univariate-based (so no asset correlation is used). In addition, outliers can be detected and removed. The package is based on the paper: J. Liu, S. Kumar, and D. P. Palomar (2019). Parameter Estimation of Heavy-Tailed AR Model With Missing Data Via Stochastic EM. IEEE Trans. on Signal Processing, vol. 67, no. 8, pp. 2159-2172. <doi:10.1109/TSP.2019.2899816>. |
Maintainer: | Daniel P. Palomar <daniel.p.palomar@gmail.com> |
URL: | https://CRAN.R-project.org/package=imputeFin, https://github.com/dppalomar/imputeFin, https://www.danielppalomar.com, https://doi.org/10.1109/TSP.2019.2899816, https://doi.org/10.1109/TSP.2020.3033378 |
BugReports: | https://github.com/dppalomar/imputeFin/issues |
License: | GPL-3 |
Encoding: | UTF-8 |
LazyData: | true |
RoxygenNote: | 7.1.1 |
Depends: | R (≥ 2.10) |
Imports: | MASS, zoo, mvtnorm, magrittr, parallel |
Suggests: | knitr, ggplot2, prettydoc, rmarkdown, R.rsp, testthat, xts |
VignetteBuilder: | knitr, rmarkdown, R.rsp |
NeedsCompilation: | no |
Packaged: | 2021-02-20 01:21:56 UTC; palomar |
Author: | Daniel P. Palomar [cre, aut], Junyan Liu [aut], Rui Zhou [aut] |
Repository: | CRAN |
Date/Publication: | 2021-02-20 05:30:02 UTC |
imputeFin: Imputation of Financial Time Series with Missing Values.
Description
Missing values often occur in financial data due to a variety of reasons (errors in the collection process or in the processing stage, lack of asset liquidity, lack of reporting of funds, etc.). However, most data analysis methods expect complete data and cannot be employed with missing values. One convenient way to deal with this issue without having to redesign the data analysis method is to impute the missing values. This package provides an efficient way to impute the missing values based on modeling the time series with a random walk or an autoregressive (AR) model, convenient to model log-prices and log-volumes in financial data. In the current version, the imputation is univariate-based (so no asset correlation is used). In addition, outliers can be detected and removed.
Functions
fit_AR1_Gaussian
, impute_AR1_Gaussian
,
fit_AR1_t
, impute_AR1_t
,
plot_imputed
Data
Help
For a quick help see the README file: GitHub-README.
For more details see the vignette: CRAN-vignette.
Author(s)
Junyan Liu, Rui Zhou, and Daniel P. Palomar
References
J. Liu, S. Kumar, and D. P. Palomar, "Parameter estimation of heavy-tailed AR model with missing data via stochastic EM," IEEE Trans. on Signal Processing, vol. 67, no. 8, pp. 2159-2172, Apr. 2019. <https://doi.org/10.1109/TSP.2019.2899816>
R. Zhou, J. Liu, S. Kumar, and D. P. Palomar, "Student’s t VAR Modeling with Missing Data via Stochastic EM and Gibbs Sampling," IEEE Trans. on Signal Processing, vol. 68, pp. 6198-6211, Oct. 2020. <https://doi.org/10.1109/TSP.2020.3033378>
Fit Gaussian AR(1) model to time series with missing values and/or outliers
Description
Estimate the parameters of a univariate Gaussian AR(1) model to fit the given time series with missing values and/or outliers. For multivariate time series, the function will perform a number of individual univariate fittings without attempting to model the correlations among the time series. If the time series does not contain missing values, the maximum likelihood (ML) estimation is done in one shot. With missing values, the iterative EM algorithm is employed for the estimation until converge is achieved.
Usage
fit_AR1_Gaussian(
y,
random_walk = FALSE,
zero_mean = FALSE,
remove_outliers = FALSE,
outlier_prob_th = 0.001,
verbose = TRUE,
return_iterates = FALSE,
return_condMeanCov = FALSE,
tol = 1e-08,
maxiter = 100
)
Arguments
y |
Time series object coercible to either a numeric vector or numeric matrix
(e.g., |
random_walk |
Logical value indicating if the time series is assumed to be a random walk so that |
zero_mean |
Logical value indicating if the time series is assumed zero-mean so that |
remove_outliers |
Logical value indicating whether to detect and remove outliers. |
outlier_prob_th |
Threshold of probability of observation to declare an outlier (default is |
verbose |
Logical value indicating whether to output messages (default is |
return_iterates |
Logical value indicating if the iterates are to be returned (default is |
return_condMeanCov |
Logical value indicating if the conditional mean and covariance matrix of the
time series (excluding the leading and trailing missing values) given the observed data are to be returned (default is |
tol |
Positive number denoting the relative tolerance used as stopping criterion (default is |
maxiter |
Positive integer indicating the maximum number of iterations allowed (default is |
Value
If the argument y
is a univariate time series (i.e., coercible to a numeric vector), then this
function will return a list with the following elements:
phi0 |
The estimate for |
phi1 |
The estimate for |
sigma2 |
The estimate for |
phi0_iterates |
Numeric vector with the estimates for |
phi1_iterates |
Numeric vector with the estimates for |
sigma2_iterates |
Numeric vector with the estimates for |
f_iterates |
Numeric vector with the objective values at each iteration
(returned only when |
cond_mean_y |
Numeric vector (of same length as argument |
cond_cov_y |
Numeric matrix (with number of columns/rows equal to the length of the argument |
index_miss |
Indices of missing values imputed. |
index_outliers |
Indices of outliers detected/corrected. |
If the argument y
is a multivariate time series (i.e., with multiple columns and coercible to a numeric matrix),
then this function will return a list with each element as in the case of univariate y
corresponding to each
of the columns (i.e., one list element per column of y
), with the following additional elements that combine the
estimated values in a convenient vector form:
phi0_vct |
Numeric vector (with length equal to the number of columns of |
phi1_vct |
Numeric vector (with length equal to the number of columns of |
sigma2_vct |
Numeric vector (with length equal to the number of columns of |
Author(s)
Junyan Liu and Daniel P. Palomar
References
R. J. Little and D. B. Rubin, Statistical Analysis with Missing Data, 2nd ed. Hoboken, N.J.: John Wiley & Sons, 2002.
J. Liu, S. Kumar, and D. P. Palomar, "Parameter estimation of heavy-tailed AR model with missing data via stochastic EM," IEEE Trans. on Signal Processing, vol. 67, no. 8, pp. 2159-2172, 15 April, 2019.
See Also
impute_AR1_Gaussian
, fit_AR1_t
Examples
library(imputeFin)
data(ts_AR1_Gaussian)
y_missing <- ts_AR1_Gaussian$y_missing
fitted <- fit_AR1_Gaussian(y_missing)
Fit Student's t AR(1) model to time series with missing values and/or outliers
Description
Estimate the parameters of a univariate Student's t AR(1) model to fit the given time series with missing values and/or outliers. For multivariate time series, the function will perform a number of indidivual univariate fittings without attempting to model the correlations among the time series. If the time series does not contain missing values, the maximum likelihood (ML) estimation is done via the iterative EM algorithm until converge is achieved. With missing values, the stochastic EM algorithm is employed for the estimation (currently the maximum number of iterations will be executed without attempting to check early converge).
Usage
fit_AR1_t(
y,
random_walk = FALSE,
zero_mean = FALSE,
fast_and_heuristic = TRUE,
remove_outliers = FALSE,
outlier_prob_th = 0.001,
verbose = TRUE,
return_iterates = FALSE,
return_condMean_Gaussian = FALSE,
tol = 1e-08,
maxiter = 100,
n_chain = 10,
n_thin = 1,
K = 30
)
Arguments
y |
Time series object coercible to either a numeric vector or numeric matrix
(e.g., |
random_walk |
Logical value indicating if the time series is assumed to be a random walk so that |
zero_mean |
Logical value indicating if the time series is assumed zero-mean so that |
fast_and_heuristic |
Logical value indicating whether a heuristic but fast method is to be used to
estimate the parameters of the Student's t AR(1) model (default is |
remove_outliers |
Logical value indicating whether to detect and remove outliers. |
outlier_prob_th |
Threshold of probability of observation to declare an outlier (default is |
verbose |
Logical value indicating whether to output messages (default is |
return_iterates |
Logical value indicating if the iterates are to be returned (default is |
return_condMean_Gaussian |
Logical value indicating if the conditional mean and covariance matrix of the
time series (excluding the leading and trailing missing values) given the observed
data are to be returned (default is |
tol |
Positive number denoting the relative tolerance used as stopping criterion (default is |
maxiter |
Positive integer indicating the maximum number of iterations allowed (default is |
n_chain |
Positive integer indicating the number of the parallel Markov chains in the stochastic
EM method (default is |
n_thin |
Positive integer indicating the sampling period of the Gibbs sampling in the stochastic
EM method (default is |
K |
Positive number controlling the values of the step sizes in the stochastic EM method
(default is |
Value
If the argument y
is a univariate time series (i.e., coercible to a numeric vector), then this
function will return a list with the following elements:
phi0 |
The estimate for |
phi1 |
The estimate for |
sigma2 |
The estimate for |
nu |
The estimate for |
phi0_iterates |
Numeric vector with the estimates for |
phi1_iterates |
Numeric vector with the estimates for |
sigma2_iterates |
Numeric vector with the estimates for |
nu_iterate |
Numeric vector with the estimates for |
f_iterates |
Numeric vector with the objective values at each iteration
(returned only when |
cond_mean_y_Gaussian |
Numeric vector (of same length as argument |
index_miss |
Indices of missing values imputed. |
index_outliers |
Indices of outliers detected/corrected. |
If the argument y
is a multivariate time series (i.e., with multiple columns and coercible to a numeric matrix),
then this function will return a list with each element as in the case of univariate y
corresponding to each
of the columns (i.e., one list element per column of y
), with the following additional elements that combine the
estimated values in a convenient vector form:
phi0_vct |
Numeric vector (with length equal to the number of columns of |
phi1_vct |
Numeric vector (with length equal to the number of columns of |
sigma2_vct |
Numeric vector (with length equal to the number of columns of |
nu_vct |
Numeric vector (with length equal to the number of columns of |
Author(s)
Junyan Liu and Daniel P. Palomar
References
J. Liu, S. Kumar, and D. P. Palomar, "Parameter estimation of heavy-tailed AR model with missing data via stochastic EM," IEEE Trans. on Signal Processing, vol. 67, no. 8, pp. 2159-2172, 15 April, 2019.
See Also
impute_AR1_t
, fit_AR1_Gaussian
, fit_VAR_t
Examples
library(imputeFin)
data(ts_AR1_t)
y_missing <- ts_AR1_t$y_missing
fitted <- fit_AR1_t(y_missing)
Fit Student's t VAR model to time series with missing values and/or outliers
Description
Estimate the parameters of a Student's t vector autoregressive model
y_t = \phi_0 + \sum_{i=1}^p \Phi_i * y_{t-i} + \epsilon_t
to fit the given time series with missing values. If the time series does not contain missing values, the maximum likelihood (ML) estimation is done via the iterative EM algorithm until converge is achieved. With missing values, the stochastic EM algorithm is employed for the estimation (currently the maximum number of iterations will be executed without attempting to check early converge).
Usage
fit_VAR_t(
Y,
p = 1,
omit_missing = FALSE,
parallel_max_cores = max(1, parallel::detectCores() - 1),
verbose = FALSE,
return_iterates = FALSE,
initial = NULL,
L = 10,
maxiter = 50,
ptol = 0.001,
partition_groups = TRUE,
K = round(maxiter/3)
)
Arguments
Y |
Time series object coercible to either a numeric matrix (e.g., |
p |
Positive integer indicating the order of the VAR model. |
omit_missing |
Logical value indicating whether to use the omit-variable method, i.e.,
excluding the variables with missing data from the analysis (default is |
parallel_max_cores |
Positive integer indicating the maximum numer of cores used in the parallel computing,
only valid when |
verbose |
Logical value indicating whether to report in console the information of each iteration. |
return_iterates |
Logical value indicating whether to return the parameter estimates at each iteration (default is |
initial |
List with the initial values of the parameters of the VAR model, which may contain some or all of the following elements:
|
L |
Positive integer with the number of Markov chains (default is |
maxiter |
Positive integer with the number of maximum iterations (default is |
ptol |
Non-negative number with the tolerance to determine the convergence of the (stochastic) EM method. |
partition_groups |
Logical value indicating whether to partition |
K |
Positive integer indicating the values of the step sizes in the stochastic EM method. |
Value
A list with the following elements:
nu |
The estimate for |
phi0 |
The estimate for |
Phii |
The estimate for |
scatter |
The estimate for scatter matrix, i.e., |
converged |
A logical value indicating whether the method has converged. |
iter_usage |
A number indicating how many iteration has been used. |
elapsed_times |
A numerical vector indicating how much is comsumed in each iteration. |
elapsed_time |
A number indicating how much time is comsumed overall. |
elapsed_time_per_iter |
A number indicating how much time is comsumed for each iteration in average. |
iterates_record |
A list as the records of parameter estimates of each iteration, only returned when |
Author(s)
Rui Zhou and Daniel P. Palomar
References
R. Zhou, J. Liu, S. Kumar, and D. P. Palomar, "Student’s t VAR Modeling with Missing Data via Stochastic EM and Gibbs Sampling," IEEE Trans. on Signal Processing, vol. 68, pp. 6198-6211, Oct. 2020.
See Also
Examples
library(imputeFin)
data(ts_VAR_t)
fitted <- fit_VAR_t(Y = ts_VAR_t$Y, p = 2, parallel_max_cores = 2)
Impute missing values of time series based on a Gaussian AR(1) model
Description
Impute inner missing values (excluding leading and trailing ones)
of time series by drawing samples from the conditional distribution
of the missing values given the observed data based on a Gaussian
AR(1) model as estimated with the function fit_AR1_Gaussian
.
Outliers can be detected and removed.
Usage
impute_AR1_Gaussian(
y,
n_samples = 1,
random_walk = FALSE,
zero_mean = FALSE,
remove_outliers = FALSE,
outlier_prob_th = 0.001,
verbose = TRUE,
return_estimates = FALSE,
tol = 1e-10,
maxiter = 100
)
Arguments
y |
Time series object coercible to either a numeric vector or numeric matrix
(e.g., |
n_samples |
Positive integer indicating the number of imputations (default is |
random_walk |
Logical value indicating if the time series is assumed to be a random walk so that |
zero_mean |
Logical value indicating if the time series is assumed zero-mean so that |
remove_outliers |
Logical value indicating whether to detect and remove outliers. |
outlier_prob_th |
Threshold of probability of observation to declare an outlier (default is |
verbose |
Logical value indicating whether to output messages (default is |
return_estimates |
Logical value indicating if the estimates of the model parameters
are to be returned (default is |
tol |
Positive number denoting the relative tolerance used as stopping criterion (default is |
maxiter |
Positive integer indicating the maximum number of iterations allowed (default is |
Value
By default (i.e., for n_samples = 1
and return_estimates = FALSE
),
the function will return an imputed time series of the same class and dimensions
as the argument y
with one new attribute recording the locations of missing
values (the function plot_imputed
will make use of such information
to indicate the imputed values), as well as locations of outliers removed.
If n_samples > 1
, the function will return a list consisting of n_sample
imputed time series with names: y_imputed.1, y_imputed.2, etc.
If return_estimates = TRUE
, in addition to the imputed time series y_imputed
,
the function will return the estimated model parameters:
phi0 |
The estimate for |
phi1 |
The estimate for |
sigma2 |
The estimate for |
Author(s)
Junyan Liu and Daniel P. Palomar
References
R. J. Little and D. B. Rubin, Statistical Analysis with Missing Data, 2nd ed. Hoboken, N.J.: John Wiley & Sons, 2002.
J. Liu, S. Kumar, and D. P. Palomar, "Parameter estimation of heavy-tailed AR model with missing data via stochastic EM," IEEE Trans. on Signal Processing, vol. 67, no. 8, pp. 2159-2172, 15 April, 2019.
See Also
plot_imputed
, fit_AR1_Gaussian
, impute_AR1_t
Examples
library(imputeFin)
data(ts_AR1_Gaussian)
y_missing <- ts_AR1_Gaussian$y_missing
y_imputed <- impute_AR1_Gaussian(y_missing)
plot_imputed(y_imputed)
Impute missing values of time series based on a Student's t AR(1) model
Description
Impute inner missing values (excluding leading and trailing ones)
of time series by drawing samples from the conditional distribution
of the missing values given the observed data based on a Student's t
AR(1) model as estimated with the function fit_AR1_t
.
Outliers can be detected and removed.
Usage
impute_AR1_t(
y,
n_samples = 1,
random_walk = FALSE,
zero_mean = FALSE,
fast_and_heuristic = TRUE,
remove_outliers = FALSE,
outlier_prob_th = 0.001,
verbose = TRUE,
return_estimates = FALSE,
tol = 1e-08,
maxiter = 100,
K = 30,
n_burn = 100,
n_thin = 50
)
Arguments
y |
Time series object coercible to either a numeric vector or numeric matrix
(e.g., |
n_samples |
Positive integer indicating the number of imputations (default is |
random_walk |
Logical value indicating if the time series is assumed to be a random walk so that |
zero_mean |
Logical value indicating if the time series is assumed zero-mean so that |
fast_and_heuristic |
Logical value indicating whether a heuristic but fast method is to be used to
estimate the parameters of the Student's t AR(1) model (default is |
remove_outliers |
Logical value indicating whether to detect and remove outliers. |
outlier_prob_th |
Threshold of probability of observation to declare an outlier (default is |
verbose |
Logical value indicating whether to output messages (default is |
return_estimates |
Logical value indicating if the estimates of the model parameters
are to be returned (default is |
tol |
Positive number denoting the relative tolerance used as stopping criterion (default is |
maxiter |
Positive integer indicating the maximum number of iterations allowed (default is |
K |
Positive number controlling the values of the step sizes in the stochastic EM method
(default is |
n_burn |
Positive integer controlling the length of the burn-in period of the Gibb sampling
(default is |
n_thin |
Positive integer indicating the sampling period of the Gibbs sampling in the stochastic
EM method (default is |
Value
By default (i.e., for n_samples = 1
and return_estimates = FALSE
),
the function will return an imputed time series of the same class and dimensions
as the argument y
with one new attribute recording the locations of missing
values (the function plot_imputed
will make use of such information
to indicate the imputed values), as well as locations of outliers removed.
If n_samples > 1
, the function will return a list consisting of n_sample
imputed time series with names: y_imputed.1, y_imputed.2, etc.
If return_estimates = TRUE
, in addition to the imputed time series y_imputed
,
the function will return the estimated model parameters:
phi0 |
The estimate for |
phi1 |
The estimate for |
sigma2 |
The estimate for |
nu |
The estimate for |
Author(s)
Junyan Liu and Daniel P. Palomar
References
J. Liu, S. Kumar, and D. P. Palomar, "Parameter estimation of heavy-tailed AR model with missing data via stochastic EM," IEEE Trans. on Signal Processing, vol. 67, no. 8, pp. 2159-2172, 15 April, 2019.
See Also
plot_imputed
, fit_AR1_t
, impute_AR1_Gaussian
Examples
library(imputeFin)
data(ts_AR1_t)
y_missing <- ts_AR1_t$y_missing
y_imputed <- impute_AR1_t(y_missing)
plot_imputed(y_imputed)
Impute missing values of an OHLC time series on a rolling window basis based on a Gaussian AR(1) model
Description
Impute inner missing values (excluding leading and trailing ones)
of an OHLC time series on a rolling window basis. This is a wrapper
of the functions impute_AR1_Gaussian
and
impute_rolling_AR1_Gaussian
.
Usage
impute_OHLC(
y_OHLC,
rolling_window = 252,
remove_outliers = FALSE,
outlier_prob_th = 0.001,
tol = 1e-10,
maxiter = 100
)
Arguments
y_OHLC |
Time series object coercible to a numeric matrix (e.g., |
rolling_window |
Rolling window length (default is |
remove_outliers |
Logical value indicating whether to detect and remove outliers. |
outlier_prob_th |
Threshold of probability of observation to declare an outlier (default is |
tol |
Positive number denoting the relative tolerance used as stopping criterion (default is |
maxiter |
Positive integer indicating the maximum number of iterations allowed (default is |
Value
Imputed OHLC prices.
Author(s)
Daniel P. Palomar
See Also
impute_AR1_Gaussian
, impute_rolling_AR1_Gaussian
Impute missing values of time series on a rolling window basis based on a Gaussian AR(1) model
Description
Impute inner missing values (excluding leading and trailing ones)
of time series on a rolling window basis. This is a wrapper of the
function impute_AR1_Gaussian
.
Usage
impute_rolling_AR1_Gaussian(
y,
rolling_window = 252,
random_walk = FALSE,
zero_mean = FALSE,
remove_outliers = FALSE,
outlier_prob_th = 0.001,
tol = 1e-10,
maxiter = 100
)
Arguments
y |
Time series object coercible to either a numeric vector or numeric matrix
(e.g., |
rolling_window |
Rolling window length (default is |
random_walk |
Logical value indicating if the time series is assumed to be a random walk so that |
zero_mean |
Logical value indicating if the time series is assumed zero-mean so that |
remove_outliers |
Logical value indicating whether to detect and remove outliers. |
outlier_prob_th |
Threshold of probability of observation to declare an outlier (default is |
tol |
Positive number denoting the relative tolerance used as stopping criterion (default is |
maxiter |
Positive integer indicating the maximum number of iterations allowed (default is |
Value
Same as impute_AR1_Gaussian
for the case n_samples = 1
and return_estimates = FALSE
.
Author(s)
Daniel P. Palomar
See Also
plot_imputed
, impute_AR1_Gaussian
Examples
library(imputeFin)
data(ts_AR1_Gaussian)
y_missing <- ts_AR1_Gaussian$y_missing
y_imputed <- impute_rolling_AR1_Gaussian(y_missing)
plot_imputed(y_imputed)
Plot imputed time series.
Description
Plot single imputed time series (as returned by functions
impute_AR1_Gaussian
and impute_AR1_t
),
highlighting the imputed values in a different color.
Usage
plot_imputed(
y_imputed,
column = 1,
title = "Imputed time series",
color_imputed = "red",
type = c("ggplot2", "simple")
)
Arguments
y_imputed |
Imputed time series (can be any object coercible to a numeric vector
or a numeric matrix). If it has the attribute |
column |
Positive integer indicating the column index to be plotted (only valid if
the argument |
title |
Title of the plot (default is |
color_imputed |
Color for the imputed values (default is |
type |
Type of plot. Valid options: |
Author(s)
Daniel P. Palomar
Examples
library(imputeFin)
data(ts_AR1_t)
y_missing <- ts_AR1_t$y_missing
y_imputed <- impute_AR1_t(y_missing)
plot_imputed(y_missing, title = "Original time series with missing values")
plot_imputed(y_imputed)
Synthetic AR(1) Gaussian time series with missing values
Description
Synthetic AR(1) Gaussian time series with missing values for estimation and imputation testing purposes.
Usage
data(ts_AR1_Gaussian)
Format
List with the following elements:
- y_missing
300 x 3
zoo
object with three AR(1) Gaussian time series along the columns: the first column contains a time series with 10% consecutive missing values; the second column contains a time series with 10% missing values randomly distributed; and the third column contains the union of the previous missing values.- phi0
Value of
phi0
used to generate the time series.- phi1
Value of
phi1
used to generate the time series.- sigma2
Value of
sigma2
used to generate the time series.
Synthetic AR(1) Student's t time series with missing values
Description
Synthetic AR(1) Student's t time series with missing values for estimation and imputation testing purposes.
Usage
data(ts_AR1_t)
Format
List with the following elements:
- y_missing
300 x 3
zoo
object with three AR(1) Student's t time series along the columns: the first column contains a time series with 10% consecutive missing values; the second column contains a time series with 10% missing values randomly distributed; and the third column contains the union of the previous missing values.- phi0
Value of
phi0
used to generate the time series.- phi1
Value of
phi1
used to generate the time series.- sigma2
Value of
sigma2
used to generate the time series.- nu
Value of
nu
used to generate the time series.
Synthetic Student's t VAR data with missing values
Description
Synthetic Student's t VAR data with missing values for estimation and imputation testing purposes.
Usage
data(ts_VAR_t)
Format
List with the following elements:
- Y
200 x 3
zoo
object as a Student's t VAR time series.- phi0
True value of the constant vector in the VAR model.
- Phii
True value of the coefficient matrix in the VAR model.
- scatter
True value of the scatter matrix (of the noise distribution) in the VAR model.
- nu
True value of the degrees of freedom (of the noise distribution) in the VAR model.