The function produces the variable matrices of dynamic factor
models (DFM) with measurement equation
$$x_t = \lambda f_t + u_t,$$
where
\(x_t\) is an \(M \times 1\) vector of observed variables,
\(f_t\) is an \(N \times 1\) vector of unobserved factors and
\(\lambda\) is the corresponding \(M \times N\) matrix of factor loadings.
\(u_t\) is an \(M \times 1\) error term.
The transition equation is
$$f_t = \sum_{i=1}^{p} A_i f_{t - i} + v_t,$$
where
\(A_i\) is an \(N \times N\) coefficient matrix and
\(v_t\) is an \(N \times 1\) error term.
If integer vectors are provided as arguments p
or n
, the function will
produce a distinct model for all possible combinations of those specifications.