Some procedures and utilities for time series forecast and analysis which were included in some other projects.
for tests: Autoregr.VARExplore, Spectrum.MSSAExplore, NeurosV.LSTMExploreV, Localapp.LAprExplore ChooChoo.ChooChooExplore. The input parameters of the procedures are also unified: a time series of data for one of the regions, a list of predictor dictionaries obtained from selection procedures or an empty list when working without predictors, the forecast horizon, which is also the size of the test sample, the split point is the position of the last value of the training sample from the end original row. The output of all procedures is a tuple containing the values of the mean error, mean absolute error, mean relative percentage error, symmetric mean relative percent error, standard deviation, and predicted series for the test subset of values. All errors are calculated for test data;
For choosing predictors: Tests.ChoosePredsGranI> - by Granger test, Tests.ChoosePredsCCor - by cross-correlation, Tests.ChoosePredsCCM - by convergent joint representation, Tests.ChoosePredsVAR - by vector autoregression forecast quality. The input parameters of the procedures are unified: a time series of data for one of the regions, a list of names of available predictor files, the number of predictors for selection. The output is a list of dictionaries containing the file name, the value of the selection criterion, the time lag at which this criterion takes the best value;