Overview
The Long-Memory Dynamic Factor Model (LMDFM) is a scalable non-stationary (i.e. time-varying) DFM algorithm. All model coefficients and outputs are estimated by an implementation of spectral principal components analysis (spectral PCA) framework with conjugate two-dimensional discrete Fourier transform (C2D-DFT) technique.
The model estimation methodology underlying LMDFM is detailed step by step in "Introduction to Non-Stationary Dynamic Factor Models Estimated by Spectral PCA with Conjugate 2D-DFT", https://github.com/i4cast/aws/blob/main/long_memory_dynamic_factor_model/publication/Non-stationary_DFMs_estimated_by_spectral_PCA_and_conjugate_2D-DFT.pdf .
The LMDFM modeling is to make (1) dynamic factor analysis of observed multiple (vector) time-series, (2) multi-step multivariate forecasts of vector time-series, and (3) multi-step forecasts of multivariate volatility (variance-covariance) of vector time-series.
The LMDFM algorithm estimates (a) non-stationary dynamic factor loadings matrixes, (b) time-varying vector autoregressive (VAR) coefficients of common factors, (c) non-stationary variances and vector autocovariances of factors, and (d) variances of stochastic components.
Inputs into, outputs from, and functions of, the LMDFM algorithm are described in details in "help(LMDFM)", a Python module help document, https://github.com/i4cast/aws/blob/main/long_memory_dynamic_factor_model/notebook/help(LMDFMÂ ).
INPUT data taken by LMDFM algorithm are multiple, or large number of, time-series. All time-series data are stored in a CSV (comma separated value) text data table, in a format of a CSV text data string or a CSV text data file. Each row of the table contains values of an individual time-series. Row header is the label or symbol of the time-series. Each column contains values of all time-series at a given moment in time. Column header is the time-index or time-stamp of the moment in time. The first data column is for the earliest time and the last column for the most recent time.
The current version of LMDFM requires equally spaced time-indexes. An example of CSV text data table containing multiple time-series input data for LMDFM algorithm is: https://github.com/i4cast/aws/blob/main/long_memory_dynamic_factor_model/input/Weekly_VTS_6Yr.csv .
OUTOUTs from LMDFM algorithm are multi-step forecasts of multivariate time-series, or of multivariate volatility (variance-covariance matrix). Additional outputs include a variety of matrixes of model coefficients/parameters, as well as common and idiosyncratic components of all time-series. Output data in format of CSV text data tables can be used to make quick review by loading them into a spreadsheet application. Output data in format of JSON text data strings can be used as input data for further analysis by other models/algorithms.
A set of examples of various outputs from LMDFM algorithm can be review by opening CSV or JSON files shown at: https://github.com/i4cast/aws/tree/main/long_memory_dynamic_factor_model/output/Â .
A step-by-step, item-by-item, demo notebook exemplifying how to use LMDFM algorithm on Amazon AWS Sagemaker platform is developed for users of LMDFM: https://github.com/i4cast/aws/blob/main/long_memory_dynamic_factor_model/notebook/demo_lmdfm_aws.ipynb .
Here are examples of observed big datasets: Measurements and indicators of multinational economies. Prices of financial or physical or other items continuously traded in markets. Measurements of natural or engineering processes. Social or political trends. Scores of sports. etc.
The LMDFM algorithm estimates, but does not model, idiosyncratic components of observed time-series. To model the balancing idiosyncratic component time-series, we developed YWpcAR (Yule-Walker-PCA Autoregression) algorithm. Therefore, other models built by i4cast LLC, such as LMVAR, DFVCM and DFbVIF algorithms, take both LMDFM and YWpcAR as prerequisite underlying models, analyze and forecast common components by LMDFM and, at the same time, analyze and forecast all individual idiosyncratic time-series by YWpcAR.
Highlights
- The LMDFM algorithm: (a) Scalable non-stationary dynamic factor model (DFM). (b) Modeling and analyzing a big dataset of large number of observed time-series dynamically correlated with smaller number of underlying unobserved common factors. (c) Estimated by spectral PCA with conjugate 2D-DFT. (d) Making both time-series forecasts and variance/covariance forecasts.
Details
Introducing multi-product solutions
You can now purchase comprehensive solutions tailored to use cases and industries.
Features and programs
Financing for AWS Marketplace purchases
Pricing
Vendor refund policy
We offer full refund for academic works. Other refunds are offered according to common practices.
How can we make this page better?
Legal
Vendor terms and conditions
Content disclaimer
Delivery details
Amazon SageMaker algorithm
An Amazon SageMaker algorithm is a machine learning model that requires your training data to make predictions. Use the included training algorithm to generate your unique model artifact. Then deploy the model on Amazon SageMaker for real-time inference or batch processing. Amazon SageMaker is a fully managed platform for building, training, and deploying machine learning models at scale.
Version release notes
The long-memory dynamic factor model (LMDFM) algorithm is to make (1) dynamic factor analysis of observed multiple (vector) time-series, (2) multi-step multivariate forecasts of vector time-series, and (3) multi-step forecasts of multivariate volatility (variance-covariance) of vector time-series.
The LMDFM algorithm estimates (a) dynamic common factor score time-series, (b) individual idiosyncratic component time-series, (c) non-stationary dynamic factor loadings matrixes, (d) time-varying vector autoregressive (VAR) coefficients of common factors, (e) non-stationary variances and vector autocovariances of factors, (f) VAR coefficients of observed vector time-series, and (g) variances of stochastic components.
Inputs into, outputs from, and functions of, the LMDFM algorithm are described in details in "help(LMDFM)", a Python module help document, https://github.com/i4cast/aws/blob/main/long_memory_dynamic_factor_model/notebook/help(LMDFMÂ ).
Additional details
Inputs
- Summary
Input data taken by Long-Memory Dynamic Factor Model (LMDFM) are multiple, or large number of, time-series. All time-series data are stored in a CSV (comma separated value) text data table, in a format of a CSV text data string or a CSV text data file.
Each row of the data table contains values of an individual time-series. Row header is the label or symbol of the time-series. Each column contains values of all time-series at a given moment in time. Column header is the time-index or time-stamp of the moment in time. The first data column is for the earliest time and the last column for the most recent time.
The current version of LMDFM requires equally spaced time-indexes. An example of CSV text data table containing multiple time-series input data for LMDFM algorithm is: https://github.com/i4cast/aws/blob/main/long_memory_dynamic_factor_model/input/Weekly_VTS_6Yr.csv .
- Input MIME type
- text/csv
Support
Vendor support
We offer all product supports that users of the LMDFM algorithm need. Our product support email address is: prod.i4cast@gmail.com .
About methodology underlying the LMDFM algorithm, we will answer all questions based on our whitepaper, "Introduction to Non-Stationary Dynamic Factor Models Estimated by Spectral PCA with Conjugate 2D-DFT", https://github.com/i4cast/aws/blob/main/long_memory_dynamic_factor_model/publication/Non-stationary_DFMs_estimated_by_spectral_PCA_and_conjugate_2D-DFT.pdf .
About usage of the LMDFM algorithm, we will answer all questions based on our Python module help document, "help(LMDFM)", https://github.com/i4cast/aws/blob/main/long_memory_dynamic_factor_model/notebook/help(LMDFMÂ ).
INPUT data taken by LMDFM algorithm are multiple, or large number of, time-series. All time-series input data are stored in a CSV (comma separated value) text data table. An example is: https://github.com/i4cast/aws/blob/main/long_memory_dynamic_factor_model/input/Weekly_VTS_6Yr.csv .
OUTOUTs from LMDFM algorithm are forecasts of multivariate time-series, or variance-covariance matrix, as well as model coefficients. A set of examples of various outputs from LMDFM algorithm are can be review by opening CSV or JSON files shown at: https://github.com/i4cast/aws/tree/main/long_memory_dynamic_factor_model/output/Â .
A step-by-step, item-by-item, demo notebook exemplifying how to use LMDFM algorithm on Amazon AWS Sagemaker platform is developed for users of LMDFM: https://github.com/i4cast/aws/blob/main/long_memory_dynamic_factor_model/notebook/demo_lmdfm_aws.ipynb .
AWS infrastructure support
AWS Support is a one-on-one, fast-response support channel that is staffed 24x7x365 with experienced and technical support engineers. The service helps customers of all sizes and technical abilities to successfully utilize the products and features provided by Amazon Web Services.
Similar products

