Performs bootstrap statistical on covariance to validate MSVAR models.
test.model.vect.MSAR(data,simu,lag=NULL)observed (or reference) time series, array of dimension T*N.samples*d
simulated time series, array of dimension T*N.sim*d. N.sim have to be K*N.samples with K large enough (for instance, K=100)
to be considered (usefull for state space models)
Returns a list including
statistics of covariance
test statistic
quantiles .05 and .95 of the distribution of the test statistic underthe null hypothesis
p value
%% ~Describe the value returned %% If it is a LIST, use %% \item{comp1 }{Description of 'comp1'} %% \item{comp2 }{Description of 'comp2'} %% ...
Test statistics $$ S = || C_n-C ||$$
valid_all, test.model.MSAR