scieee AI-readable full text Open interactive document viewer

State-space models on the Stiefel manifold with a new approach to nonlinear filtering

Yang, Yukai,Bauwens, Luc

Abstract

EconStor is a publication server for scholarly economic literature, provided as a non-commercial public service by the ZBW.

Full text

Yang, Yukai; Bauwens, Luc Article State-space models on the Stiefel manifold with a new approach to nonlinear filtering Econometrics Provided in Cooperation with: MDPI – Multidisciplinary Digital Publishing Institute, Basel Suggested Citation: Yang, Yukai; Bauwens, Luc (2018) : State-space models on the Stiefel manifold with a new approach to nonlinear filtering, Econometrics, ISSN 2225-1146, MDPI, Basel, Vol. 6, Iss. 4, pp. 1-22, https://doi.org/10.3390/econometrics6040048 This Version is available at: https://hdl.handle.net/10419/195466 Standard-Nutzungsbedingungen: Die Dokumente auf EconStor dürfen zu eigenen wissenschaftlichen Zwecken und zum Privatgebrauch gespeichert und kopiert werden. Sie dürfen die Dokumente nicht für öffentliche oder kommerzielle Zwecke vervielfältigen, öffentlich ausstellen, öffentlich zugänglich machen, vertreiben oder anderweitig nutzen. Sofern die Verfasser die Dokumente unter Open-Content-Lizenzen (insbesondere CC-Lizenzen) zur Verfügung gestellt haben sollten, gelten abweichend von diesen Nutzungsbedingungen die in der dort genannten Lizenz gewährten Nutzungsrechte. Terms of use: Documents in EconStor may be saved and copied for your personal and scholarly purposes. You are not to copy documents for public or commercial purposes, to exhibit the documents publicly, to make them publicly available on the internet, or to distribute or otherwise use the documents in public. If the documents have been made available under an Open Content Licence (especially Creative Commons Licences), you may exercise further usage rights as specified in the indicated licence. https://creativecommons.org/licenses/by/4.0/ econometrics Article State-Space Models on the Stiefel Manifold with a New Approach to Nonlinear Filtering Yukai Yang 1,2,* and Luc Bauwens 3 1Department of Statistics, Uppsala University, P.O. Box 513, SE-75120 Uppsala, Sweden 2Center for Data Analytics, Stockholm School of Economics, SE-11383 Stockholm, Sweden 3Center for Operations Research and Econometrics, Université Catholique de Louvain, B-1348 Louvain-la-Neuve, Belgium; [email protected] *Correspondence: [email protected] Received: 30 July 2018; Accepted: 10 December 2018; Published: 12 December 2018   Abstract: We develop novel multivariate state-space models wherein the latent states evolve on the Stiefel manifold and follow a conditional matrix Langevin distribution. The latent states correspond to time-varying reduced rank parameter matrices, like the loadings in dynamic factor models and the parameters of cointegrating relations in vector error-correction models. The corresponding nonlinear filtering algorithms are developed and evaluated by means of simulation experiments. Keywords: state-space models; Stiefel manifold; matrix Langevin distribution; filtering; smoothing; Laplace method; dynamic factor model; cointegration JEL Classification: C32; C51 1. Introduction The coefficient matrix of explanatory variables in multivariate time series models can be rank deficient due to some modelling assumptions, and the parameter constancy of the rank deficient matrix may be questionable. This may happen, for example, in the factor model, which construct very few factors by using a large number of macroeconomic and financial predictors, while the factor loadings are suspect to be time-varying. Stock and Watson (2002) state that it is reasonable to suspect temporal instability taking place in factor loadings, and later Stock and Watson (2009) and Breitung and Eickmeier (2011) find empirical evidence of instability. Another setting where instability may arise is in cointegrating relations (see e.g., Bierens and Martins (2010)), hence in the the reduced rank cointegrating parameter matrix of a vector error-correction model. There are solutions in the literature to the modelling of the temporal instability of reduced rank parameter matrices. Such parameters are typically regarded as unobserved random components and in most cases are modelled as random walks on a Euclidean space; see, for example, Del Negro and Otrok (2008) and Eickmeier et al. (2014). In these works, the noise component of the latent processes (factor loading) is assumed to have a diagonal covariance matrix in order to alleviate the computational complexity and make the estimation feasible, especially when the dimension of the system is high. However, the random walk assumption on the Euclidean space cannot guarantee the orthonormality of the factor loading (or cointegration) matrix, while this type of assumption identifies the loading (or cointegration) space. Hence, other identification restrictions on the Euclidean space are needed. Moreover, the diagonality of the error covariance matrix of the latent processes contradicts itself when a permutation of the variables is performed. In this work, we develop new state-space models on the Stiefel manifold, which do not suffer from the problems on the Euclidean space. It is noteworthy that Chikuse (2006) also develops state-space Econometrics 2018,6, 48; doi:10.3390/econometrics6040048 www.mdpi.com/journal/econometrics Econometrics 2018,6, 48 2 of 22 models on the Stiefel manifold. The key difference between Chikuse (2006) and our work is that we keep the Euclidean space for the measurement evolution of the observable variables, while Chikuse (2006) puts them on the Stiefel manifold, which is not relevant for modelling economic time series. By specifying the time-varying reduced rank parameter matrices on the Stiefel manifold, their orthonormality is obtained by construction, and therefore their identification is guaranteed. The corresponding recursive nonlinear filtering algorithms are developed to estimate the a posteriori distributions of the latent processes of the reduced rank matrices. By applying the matrix Langevin distribution on the a priori distributions of the latent processes, conjugate a posteriori distributions are achieved, which gives great convenience in the computational implementation of the filtering algorithms. The predictive step of the filtering requires solving an integral on the Stiefel manifold, which does not have a closed form. To compute this integral, we resort to a Laplace method. The paper is organized as follows. Section 2introduces the general framework of the vector models with time-varying reduced rank parameters. Two specific forms of the time-varying reduced rank parameters, which the paper is focused on, are given. Section 3discusses some problems in the prevalent literature on modelling the time dependence of the time-varying reduced rank parameters, which underlie our modelling choices. Then, in Section 4, we present the novel state-space models on the Stiefel manifold. Section 5presents the nonlinear filtering algorithms that we develop for the new state-space models. Section 6presents several simulation based examples. Finally, Section 7concludes and gives possible research extensions. 2. Vector Models with Time-Varying Reduced Rank Parameters Consider the multivariate time series model with partly time-varying parameters yt=Atxt+Bzt+εt,t=1, . . . , T, (1) where yt is a (column) vector of dependent variables of dimension p , xt and zt are vectors of explanatory variables of dimensions q1 and q2 , At and B are p×q1 and p×q2 matrices of parameters, and εt is a vector belonging to a white noise process of dimension p , with positive-definite covariance matrix Ω . For quasi-maximum likelihood estimation, we further assume that εt∼Np(0,Ω). The distinction between xt and zt is introduced to separate the explanatory variables between those that have time-varying coefficients ( At ) from those that have fixed coefficients ( B ). In the sequel, we always consider that xt is not void (i.e., q1> 0). The explanatory variables may contain lags of yt , and the remaining stochastic elements (if any) of these vectors are assumed to be weakly exogenous. Equation (1) provides a general linear framework for modelling time-series observations with time-varying parameters, embedding multivariate regressions and vector autoregressions. For an exposition of the treatment of such a model using the Kalman filter, we refer to Chapter 13 of Hamilton (1994). We assume furthermore that the time-varying parameter matrix At has reduced rank r<min(p,q1). This assumption can be formalized by decomposing At as αtβ0 t , where αt and βt are p×r and q1×r full rank matrices, respectively. If we allow both αt and βt to be time-varying, the model is not well focused and hard to explain, and its identification is very difficult. Hence, we focus on the cases where either αtor βtis time-varying, that is, on the following two cases: Case 1: At=αtβ0, (2) Case 2: At=αβ0 t. (3) Next, we explain how the two cases give interesting alternatives to modelling different kinds of temporal instability in parameters. The case 1 model (Equations (1) and (2) ) ensures that the subspace spanned by β is constant over time. This specification can be viewed as a cointegration model allowing for time-varying short-run adjustment coefficients (the entries of αt ) but with time-invariant long-run relations (cointegrating Econometrics 2018,6, 48 3 of 22 subspace). To see this, consider that model (1) corresponds to a vector error-correction form of a cointegrated vector autoregressive model of order k with Xt as the dependent variables, if yt=∆Xt , xt=Xt−1 , zt contains ∆Xt−i for i= 1, . . . , k− 1, as well as some predetermined variables. There are papers in the literature arguing that the temporal instability of the parameters in both stationary and non-stationary macroeconomic data does exist and cannot be overlooked. For example, Swanson (1998) and Rothman et al. (2001) give convincing examples in investigating the Granger causal relationship between money and output using a nonlinear vector error-correction model. They model the instability in α by means of regime-switching mechanisms governed by some observable variable. An alternative to that modelling approach is to regard αtas a totally latent process. The case 1 model also includes as a particular case the factor model with time-varying factor loadings. In the factor model context, the factors ft are extracted from a number of observable predictors xt by using the r linear combinations ft=β0xt . Note that ft is latent since β is unknown. Then, the corresponding factor model (neglecting the Bztterm) takes the form yt=αtft+εt, (4) where αt is a matrix of the time-varying factor loadings. The representation is quite flexible in the sense that yt can be equal to xt and then we reach exactly the same representation as Stock and Watson (2002), but we also allow them to be distinct. In Stock and Watson (2002), the factor loading matrix α is time-invariant and the identification is obtained by imposing the constraints q1α=β and α0β=β0α=α0α/q1=q1β0β=Ir . Notice that, if α is time-varying but β time-invariant, these constraints cannot be imposed. The case 2 model (Equations (1) and (3) ) can be used to account for time-varying long-run relations in cointegrated time series, as βt is changing. Bierens and Martins (2010) show that this may be the case for the long run purchasing power parity. In the case 2 model, there exist p−r linearly independent vectors α⊥ that span the left null space of α , such that α0 ⊥At=0 . Therefore, the case 2 model implies that the time-varying parameter matrix βtvanishes in the structural vector model γ0yt=γ0Bzt+γ0εt, (5) for any column vector γ∈sp(α⊥) , where sp(α⊥) denotes the space spanned by α⊥ , thus implying that the temporal instability can be removed in the above way. Moreover, xt does not explain any variation of γ0yt. Another possible application for the case 2 model is the instability in the factor composition. Considering the factor model yt=αft+εt , with time-invariant factor loading α , the factor composition may be slightly evolving through βtin ft=β0 txt. 3. Issues about the Specification of the Time-Varying Reduced Rank Parameter In the previous section, we have introduced two models with time-varying reduced rank parameters. In this section, in order to motivate our choices presented in Section 4, we discuss the specification in the literature of the dynamic process governing the evolution of the time-varying parameters. Since the sequences αt or βt in the two cases are unobservable in practice, it is quite natural to write the two models into the state-space form with a measurement equation like (1) for the observable variables and transition equations for αt or βt . To build the time dependence in the sequences of αt or βt is of great practical interest as it enables one to use the historical time series data for conditional forecasting, especially by using the prevalent state-space model based approach. How to model the evolution of these time-varying parameters, nevertheless, is an open issue and needs careful investigation. Almost all the works in the literature of time series analysis hitherto only deal with state-space models on the Euclidean space. See, for example, the books by Hannan (1970); Anderson (1971) ;Koopman (1974); Durbin and Koopman (2012); and more recently Casals et al. (2016). Econometrics 2018,6, 48 4 of 22 Consider, for example, the factor model (4) with time-varying factor loading αt , but notice that the following discussion can be easily adapted to the cointegration model, where only βt is time-varying. The traditional state-space framework on the Euclidean space assumes that the elements of the time-varying matrix αt evolve like random walks on the Euclidean space, see for example Del Negro and Otrok (2008) and Eickmeier et al. (2014). That is, vec(αt+1) = vec(αt) + ηt, (6) where vec denotes the vectorization operator, and the sequence of ηt is assumed to be a Gaussian strong white noise process with constant positive definite covariance matrix Ση . Thus, Labels (1) and (6) form a vector state-space model, and the Kalman filter technique can be applied for estimating αt. A first problem of the model (6) is that the latent random walk evolution on the Euclidean space is strange. Consider the special case p= 2 and r= 1: in Figure 1, points 1–3 are possible locations of the latent variable vec(αt) = (α1t , α2t)0 . Suppose that the next state αt+1 evolves as in (6) with a diagonal covariance matrix Ση . The circles centered around points 1–3 are contour lines such that, say, almost all the probability mass lies inside the circles. The straight lines OA and OB are tangent lines to circle 1 with A and B the tangent points; the straight lines OC and OD are tangent lines to circle 2; and the straight lines OE and OF are tangent lines to circle 3. The angles between the tangent lines depend on the location of the points 1-2-3: generally, the more distant a point from the origin, the smaller the corresponding angle despite some special ellipses. The plot shows that the distributions of the next subspace based on the current point differ for different subspaces (angles for 3 and 2 smaller than the angle for 1); even for the same subspace (points 2 and 3), the distribution of the subspace is different (angle for 3 smaller than angle for 2). Figure 1. Euclidean state space for p= 2 and r= 1. Points 1–3 are possible locations of the latent variable (α1t , α2t)0 . Circles are isodensity contours assuming (α1,t+1 , α2,t+1)0|(α1t , α2t)0∼ N2((α1t,α2t)0,I2). Econometrics 2018,6, 48 5 of 22 A second problem is the identification issue. The pair of αt and β should be identified before we can proceed with the estimation of (1) and (6) . If both α and β are time-invariant, it is common to assume the orthonormality (or asymptotic orthonormality) α0α/q1=Ir or α0α=Ir to identify the factors and then to estimate them by using the principle components method. However, when αt is evolving as (6), the orthonormality of αtcan never be guaranteed for all ton the Euclidean space. The alternative solution to the identification problem is to normalize the time-invariant part β as (Ir , b0)0 . The normalization is valid when the upper block of β is invertible, but if the upper block of β is not invertible, one can always permute the rows of β to find an invertible submatrix of order r rows for such a normalization. The permutation can be performed by left-multiplying β by a permutation matrix P to make its upper block invertible. In practice, it should be noted that the choice of the permutation matrix Pis usually arbitrary and casual. Even though the model defined by (1) and (6) is identified by some normalized β , if one does not impose any constraint on the elements of the positive definite covariance matrix Ση , the estimation can be very difficult due to computational complexity. A feasible solution is to assume that ηt is cross-sectionally uncorrelated. This restriction reduces the number of parameters, alleviates the complexity of the model, and makes the estimation much more efficient, but it may be too strong and imposes a priori information on the data. However, a third problem then arises. In the following two propositions, we show that any design like (1) and (6) with the restriction that Ση is diagonal is casual in the sense that it may lead to contradiction since the normalization of βis arbitrarily chosen. Proposition 1. Suppose that the reduced rank coefficient matrix At in (1) with rank r has the decomposition (2) . By choosing some permutation matrix Pβ ( p×p ), the time-invariant component β can be linearly normalized if the r ×r upper block b1in Pββ= b1 b2!(7) is invertible. Then, the corresponding linear normalization is ˜ β=Pββb−1 1= Ir b2b−1 1!, (8) and the time-varying component is re-identified as ˜αt=αtb0 1. Assuming that the time-varying component evolves by following vec(˜αt+1) = vec(˜αt) + ηα t. (9) Consider another permutation P∗ β6=Pβ with the corresponding ˜α∗ t , ˜ β∗ , b∗ 1 and ηα∗ t . The variance– covariance matrices of ηα tand ηα∗ tare both diagonal if and only if b1=b∗ 1. Proof. See Appendix A. Proposition 2. Suppose that the reduced rank coefficient matrix At in (1) with rank r has the decomposition (3) . By choosing some permutation matrix Pα ( p×p ), the constant component α can be linearly normalized if the r×r upper block a1in Pαα= a1 a2!(10) is invertible. The corresponding linear normalization is ˜α=Pααa−1 1= Ir a2a−1 1!, (11) Econometrics 2018,6, 48 6 of 22 and the time-varying component is re-identified as ˜ βt=βta0 1 . Assuming that the time-varying component evolves by following vec(˜ βt+1) = vec(˜ βt) + ηβ t. (12) Consider another permutation P∗ α6=Pα with the corresponding ˜α∗ , ˜ β∗ t , a∗ 1 and ηβ∗ t . The variance–covariance matrices of ηβ tand ηβ∗ tare both diagonal if and only if a1=a∗ 1. Proof. See Appendix B. The two corollaries below follow Propositions 1and 2immediately, showing that the assumption that the variance–covariance matrix Ση is always diagonal for any linear normalization is inappropriate. Corollary 1. Given the settings in Propostion 1, the variance–covariance matrices of the error vectors in forms like (9) based on different linear normalizations cannot be both diagonal if b16=b∗ 1 where b1 and b∗ 1 are the upper block square matrices in forms like (7). Corollary 2. Given the settings in Proposition 2, the variance–covariance matrices of the error vectors in forms like (12) based on different linear normalizations cannot be both diagonal if a16=a∗ 1 where a1 and a∗ 1 are the upper block square matrices in forms like (10). One may argue that there is a chance for the two covariance matrices to be both diagonal, i.e., when b1=b∗ 1 . It should be noticed that the condition b1=b∗ 1 does not imply that P=P∗ . Instead, it implies that the permutation matrices move the same variables to the upper part of β with the same order. If this is the case, the two permutation matrices P and P∗ are distinct but equivalent as the order of the variables in the lower part is trivial for linear normalization. Since the choice of the permutation P and the corresponding linear normalization is arbitrary in practice, which is simply the order of xt ( yt for case 2), the models with different P are telling different stories about the data. In fact, the model has been over-identified by the assumption that Ση must be diagonal. Consequently, the model becomes β -normalization dependent, and the β -normalization imposes some additional information on the data. This can be serious when the forecasts from the models with distinct normalizations of α give totally different results. A solution to this ”unexpected” problem may be to try all possible normalizations of α and do model selection, that is, after estimating every possible model, pick the best model according to an information criterion. However, this solution is not always feasible because the number of possible permutations for α , which is equal to q1(q1− 1 ). . . (q1−r+ 1 ) , can be huge. When the number of predictors is large, which is common in practice, the estimation of each possible model based on different normalization becomes a very demanding task. Stock and Watson (2002) propose the assumption that the cross-sectional dependence between the elements in ηt is weak and the variances of the elements are shrinking with the increase of the sample size. Then, the aforementioned problem may not be so serious, as, intuitively, different normalizations with diagonal covariance matrix Σηmay produce approximately or asymptotically the same results. We have shown that the modelling of the time-varying parameter matrix in (2) as a process like (6) on the Euclidean space involves some problems. Firstly, the evolution of the subspace spanned by the latent process on the Euclidean space is strange. Secondly, the process does not comply with the orthonormality assumption to identify the pair of αt and β . Thus, a linear normalization is employed instead of the orthonormality. Thirdly, the state-space model on the Euclidean space suffers from the curse of dimensionality, and hence the diagonality of the covariance of the errors is often used with the linear normalization in order to alleviate the computational complexity when the dimension is high. This leads to two other problems: firstly, the diagonality assumption is inappropriate in the sense that different linear normalizations may lead to a contradiction; secondly, the model selection can be a tremendous task when there are many predictors. Econometrics 2018,6, 48 7 of 22 In the following section, we propose that the time-varying parameter matrices αt and βt evolve on the Stiefel manifold, instead of the Euclidean space, and we show that the corresponding state-space models do not suffer from the aforementioned problems. 4. State-Space Models on the Stiefel Manifold 4.1. The Stiefel Manifold and the Matrix Langevin Distribution Before presenting the state-space models on the Stiefel manifold, we introduce some concepts and terms. The Stiefel manifold Va,b , for dimensions a and b such that a≥b , is a space whose points are b -frames in Ra . A set of b orthonormal vectors in Ra is called a b -frame in Ra . The Stiefel manifold is a collection of a×b full rank matrices X such that X0X=Ib ; if b= 1, the Stiefel manifold is the unit circle if a= 2, sphere if a= 3, and hypersphere if a> 3. The link with the modelling presented in Section 2and developed in the next subsection is that the time-varying matrix αt of (2) is assumed to be evolving in Vp,r (instead of a Euclidean space), and βt of (3) in Vq1,r . Hence, each αt and βt is by definition orthonormal. We also need to replace the assumption (6) that the distribution of vec(αt+1) conditional on vec(αt) is Np×r(vec(αt) , Ση) by an appropriate distribution defined on Vp,r , and likewise for vec(βt+1) . A convenient distribution for this purpose is the matrix Langevin distribution (also known as von Mises–Fisher distribution) denoted by ML(a , b , F) . A random matrix X∈Va,b follows a matrix Langevin distribution if and only if it has the probability density function fML(X|a,b,F) = etr {F0X} 0F1(a 2;1 4F0F), (13) where etr{Q} stands for exp{tr{Q}} for any full rank square matrix Q , F is a a×b matrix, and 0F1(a/ 2; F0F/ 4 ) is called ( 0, 1 ) -type hypergeometric function with arguments a/ 2 and F0F/ 4. The hypergeometric function 0F1 is unusual due to a matrix argument, see Herz (1955), and it is actually the normalizing constant of the density defined in (13), that is, 0F1a 2;1 4F0F=Zetr F0X[dX], (14) where [ d X] = ∧a−b j=1∧b i=1x0 b+j d xi∧i<jx0j d xi , stands for the differential form of a Haar measure on the Stiefel manifold, xiis a column vector of X, and ∧is the exterior product of vectors. The density function (13) is obtained from a normal density for a random matrix Z of dimension a×b , defined as vec(Z)∼Na×b(vec(M) , Ia⊗Σ) (where M is a matrix of dimension a×b , and Σ is a positive definite matrix of dimension b×b ) by imposing that Z0Z=Ib . The parameter F of (13) is then equal to MΣ−1. The matrix F has a singular value decomposition UDV0 , where U∈Va,b , V is a b×b orthogonal matrix, and D=diag{d1 , d2 , . . . , db} is a diagonal matrix with singular values d1≥d2. . . ≥db≥ 0. Each pair of the column vectors in U and V corresponds to a singular value in D . Notice that the hypergeometric function in (13) has the property that 0F1a 2;1 4F0F=0F1a 2;1 4D2, (15) see Khatri and Mardia (1977). It can be shown that the density function (13) has maximum value exp(∑b i=1di) at Xm=UV0 , called the modal orientation of the matrix Langevin distribution. The mode is unique if min(di)> 0. The diagonal matrix D is called concentration as it controls how tight the distribution is in the following sense: the larger di, the tighter the distribution is around the corresponding i-th column vector of the Econometrics 2018,6, 48 8 of 22 modal orientation matrix. For more details about the matrix Langevin distribution, see, for example, Prentice (1982); Chikuse (2003); Khatri and Mardia (1977); and Mardia (1975). The density function (13) is rotationally symmetric around Xm , in the sense that the density at H1XH0 2 is the same as that at X for all orthogonal matrices H1 (of dimension a×a ) and H2 (of dimension b×b) such that H1U=Uand H2V=V(hence H1XmH0 2=Xm). Figure 2illustrates the Stiefel manifold and Figure 3three matrix Langevin (not normalized) densities ML( 2, 1, F) where F=UDV0= ( 1 /√2 , 1 /√2)0D , setting V (a scalar) equal to 1, for three values of D (a scalar); the smaller D , the flatter the density. In Figure 2, the modal orientation U= ( 1 /√2 , 1 /√2)0 is shown for the densities of Figure 3, and the point at which the density values are minimal, this point being equal to −U . The densities are shown on Figure 3as functions of the angle θ shown on Figure 2, for θ between 0 and 2 π , instead of being shown as lines above the unit circle. Rotational symmetry in this example means that, if we premultiply the random vector X by any orthogonal 2 × 2 matrix H1 that does not modify the modal orientation, the densities are not changed. θ α1 α2 modal orientation minimum −1−1 21 21 −1 −1 2 1 2 1 Figure 2. Stiefel manifold for p=2 and r=1. Econometrics 2018,6, 48 15 of 22 •p∈ {2, 3, 10, 20}, the dimension of the dependent variable yt, •r∈ {1, 2}, the rank of the matrix At, •xt , the explanatory variable vector has dimension q1= 3 ensuring that q1>r always holds, and each xtis sampled independently (over time) from a N3(0,I3), •β= (1, −1, 1)0/√3, •α0= (1, −1, 1, . . .)0/√p, the initial value of αtsequence for the data generating process, •Ω=ρIp, the covariance matrix of the errors is diagonal with ρ∈ {0.1, 0.5, 1}, •D=dIr, and d∈ {5, 50, 500, 800}. The simulation based experiment of each setting consists of the following three steps: 1. We sample from Model 1 by using the identified version in (18) . First, simulate αt given αt−1 , and then ytgiven αt. We save the sequence of the latent process αt,t=1, . . . , T. 2. Then, we apply the filtering algorithm on the sampled data to obtain the filtered modal orientation Ut,t=1, . . . , T. 3. We compute the normalized distances δt(αt,Ut)and report by plotting them against the time t. We use the same seed, which is one, for the underlying random number generator throughout the experiments so that all the results can be replicated. Sampling values form the matrix Langevin distribution can be done by the rejection method described in Section 2.5.2 of Chikuse (2003). Figure 4depicts the results from the setting p∈ { 2, 10, 20 } , r= 1, ρ= 0.1 and d= 50. We see that the sequences of the normalized distances δt are persistent. This is a common phenomenon throughout the experiments, and, intuitively, it can be attributed to the fact that the current δt depends on the previous one through the pair of Ut and αt . For the low dimensional case p= 2, almost all the distances are very close to 0, which means that the filtered modal orientations are very close to the true ones, despite few exceptions. However, for the higher dimensional cases p= 10 and 20, the distances are at higher levels and are more dispersed. This is consistent with the fact that, given the same concentration d= 50, an increase of the dimension the orthonormal matrix or vector goes along with an increase of the dispersion of the corresponding distributions on the Stiefel manifold, as the volume of the manifold explodes with the increase of the dimensions (both pand r). Figure 4. Normalized distances δtfor the settings p∈ {2, 10, 20},r=1, ρ=0.1 and d=50. Econometrics 2018,6, 48 16 of 22 Figure 5displays the results for the same setting p∈ { 2, 10, 20 } , r= 1, ρ= 0.1 but with a much higher concentration d= 500. We see that the curse of dimensionality can be remedied through a higher concentration as the distances for the high dimensional cases are much closer to zero than when d=50. Figure 5. Normalized distances δtfor the settings p∈ {2, 10, 20},r=1, ρ=0.1 and d=500. The magnitude ρ of the variance of the errors affects the results of the filtering algorithm as well, as it determines the concentration of the filtering distribution, which can be seen from (39) through J and Ct (both depend on the inverse of Ω ). The following experiments apply the settings p= 2, r= 1 and d∈ { 5, 50, 500 } showing the impact of different ρ on the filtering results. Figure 6depicts the results with ρ= 1, and Figure 7with ρ= 0.1. We see that the normalized distances become closer to zero when a lower ρ is applied. Their variability also decreases for the lowest value of d= 5 and for the intermediate value d= 50. It is worth mentioning that, in the two cases corresponding to the two bottom plots of the figures, the matrix Ct dominates the density function, which implies that the filtering distribution resembles a highly concentrated matrix Langevin. In the following experiments, our focus is on the investigation of the filtering algorithm when r approaches p . We consider the setting p= 3 with the rank number r∈ { 1, 2 } , with ρ= 0.1 and d= 500. Figure 8depicts the results. The normalized distances are stable at a low level for the case p= 3 with r= 1, but a high level (around 0.5) in the case p= 3 with r= 2. A higher concentration ( d= 800) reduces the latter level to about 0.12, as can be seen on the lower plot of Figure 8. We conclude that the approximation of the true filtering distribution tends to fail when the matrix αt tends to a square matrix, that is, p≈r , and therefore the filtering algorithms proposed in this paper seems to be appropriate when pis sufficiently larger than r. Econometrics 2018,6, 48 17 of 22 Figure 6. Normalized distances δtfor the settings p=2, r=1, ρ=1 and d∈ {5, 50, 500}. Figure 7. Normalized distances δtfor the settings p=2, r=1, ρ=0.1 and d∈ {5, 50, 500}. Econometrics 2018,6, 48 18 of 22 Figure 8. Normalized distances δtfor the settings p=3, r∈ {1, 2},ρ=0.1 and d={500, 800}. All the previous experiments are based on the true initial value α0 , but, in practice, this is unknown. The filtering algorithm may be sensitive to the choice of the initial value. In the following experiments, we look into the effect of a wrong initial value. The setting is p∈ { 2, 10, 20 } , r= 1, ρ= 0.1 and d= 50, and we use as initial value −α0 , which is the furthest point in the Stiefel manifold away from the true one. Figure 9depicts the results. We see that in all the experiments the normalized distances move towards zero, hence the filtered values approach the true values in no more than 20 steps. After that, the level and dispersion of the distance series are similar to what they are in Figure 4where the true initial value is used. Thus, we can conclude that the effect of a wrongly chosen initial value is temporary. We have conducted similar simulation experiments for Model 2 in (19) to investigate the performance of the algorithm proposed in Proposition 4. We find similar results to those for Model 1. All the experiments that we have conducted are replicable using the R code available at https://github.com/yukai-yang/SMFilter_Experiments, and the corresponding R package SMFilter implementing the filtering algorithms of this paper is available at the Comprehensive R Archive Network (CRAN). Econometrics 2018,6, 48 19 of 22 Figure 9. Normalized distances δt for the settings p∈ { 2, 10, 20 } , r= 1, ρ= 0.1 and d= 50. The initial value of the filtering algorithm is −α0. 7. Conclusions In this paper, we discuss the modelling of the time dependence of the time-varying reduced rank parameters in multivariate time series models and develop novel state-space models whose latent states evolve on the Stiefel manifold. Almost all the existing models in the past literature only deal with the case where the evolution of the latent processes takes places on the Euclidean space, and we point out that this approach can be problematic. These problems motivate the development of the novel state-space models. The matrix Langevin distribution is proposed to specify the sequential evolution of the corresponding latent processes over the Stiefel manifold. Nonlinear filtering algorithms for the new models are designed, wherein the integral for computing the predictive step is approximated by applying the Laplace method. An advantage of the matrix Langevin distribution is that the a priori and a posteriori distributions of the latent variables are conjugate. The new models can be useful when the temporal instability of some parameters of multvariate models is suspected, for example, cointegration models with time-varying short-run adjustment or time-varying long-run relations, and factor models with time-varying factor loading. Further research is needed in several directions. The most obvious one is the implementation of estimation methods, which can be maximum likelihood or Bayesian inference, and the investigation of their properties. This will enable us to apply the models to data. In this paper, we only consider the case where the latent variables evolve on the Stiefel manifold in a ‘random walk’ way. It will be interesting to consider the case where the latent variables evolve on the Stiefel manifold but in a mean-reverting way. Author Contributions: Conceptualization, Y.Y.; Methodology, Y.Y.; Software, Y.Y.; Formal analysis, Y.Y. and L.B.; Investigation, Y.Y. and L.B.; Validation, Y.Y. and L.B.; Funding acquisition, Y.Y.; Writing—original draft, Y.Y.; Writing—review and editing, Y.Y. and L.B. Funding: This research was funded by Jan Wallander’s and Tom Hedelius’s Foundation grant number P2016-0293:1. Acknowledgments: The authors would like to thank the two referees for helpful comments. Yukai Yang acknowledges support from Jan Wallander’s and Tom Hedelius’s Foundation. Responsibility for any errors or shortcomings in this work remains ours. Econometrics 2018,6, 48 20 of 22 Conflicts of Interest: The authors declare no conflicts of interest. Appendix A. Proof of Proposition 1 In the model (1) with the decomposition (2) , both the rows of β and the order of the variables xt are permuted by Pβas follows: Atxt=αtβ0xt=αtβ0P0βPβxt. (A1) The time-invariant component β can be linearly normalized if the r×r upper block b1 in (7) is invertible. It follows that the corresponding linear normalization defined in (8) is due to αtβ0P0βPβxt=αt(b0 1,b0 2)Pβxt=αtb0 1(b0 1)−1(b0 1,b0 2)Pβxt=˜αt˜ β0Pβxt, (A2) where ˜αt=αtb0 1is the new time-varying component following the evolution (9). Consider another permutation P∗ β6=Pβ. Similarly, we have Atxt=αtβ0P∗0 βP∗ βxt, (A3) together with P∗ ββ= b∗ 1 b∗ 2!,˜ β∗=P∗ ββb∗−1 1= Ir b∗ 2b∗−1 1!, ˜α∗ t=αtb∗0 1, (A4) where b∗ 1is also invertible. Then, we can have the evolution vec(˜α∗ t+1) = vec(˜α∗ t) + ηα∗ t. (A5) Assume that the error vector ηα t in (9) has zero mean and a diagonal variance–covariance matrix. From (A1)–(A3), we have At=˜αt˜ β0Pβ=˜α∗ t˜ β∗0P∗ β, (A6) and hence it follows that ˜α∗ t=˜αt˜ β0PβP∗0 βκ, (A7) where the q1×r matrix κ satisfies ˜ β∗0κ=Ir . The existence of κ is guaranteed by the fact that β has full rank and so does ˜ β∗. Thus, the vectorized ˜α∗ t+1can be written as vec(˜α∗ t+1) = vec(˜αt+1˜ β0PβP∗0 βκ) = ((κ0P∗ βP0β˜ β)⊗Ip)vec(˜αt+1) = ((κ0P∗ βP0β˜ β)⊗Ip)vec(˜αt) + ((κ0P∗ βP0β˜ β)⊗Ip)ηα t(A8) =vec(˜α∗ t) + ηα∗ t, due to (9) and (A5) . Hence, it can be seen that ηα∗ t= ((κ0P∗ βP0β˜ β)⊗Ip)ηα t , and that ηα∗ t has diagonal variance–covariance matrix if and only if κ0P∗ βP0β˜ β is diagonal given that ηα t has diagonal variance–covariance matrix. Next, we need to verify whether κ0P∗ βP0β˜ β is diagonal and investigate under what condition it will be diagonal. By substituting ˜ βwith (8), we obtain κ0P∗ βP0β˜ β=κ0P∗ βP0βPββb−1 1=κ0P∗ ββb−1 1. (A9) In addition, we know that, by substituting ˜ β∗with (A4), κ0˜ β∗=κ0P∗ ββb∗−1 1=Ir. (A10) Econometrics 2018,6, 48 21 of 22 Since the r×r square matrix κ0P∗ ββ has full rank, it can be seen that ηα∗ t has diagonal variance–covariance matrix if and only if b1=b∗ 1. Appendix B. Proof of Proposition 2 In the model (1) with the decomposition (3), the rows of αare permuted by Pαas follows: Atxt=αβ0 txt=P0 αPααβ0 txt. (A11) Notice that we can remove P0 α in the equation, which means that we choose not to permute back to the original order of the dependent variables yt. The linear normalization (11) is obtained by P0 αPααβ0 txt=P0 α a1 a2!β0 txt=P0 α a1 a2!a−1 1a1β0 txt=P0 α˜α˜ β0 txt, (A12) where ˜ βt=βta0 1is the new time-varying component following evolution (12). Consider another permutation P∗ α6=Pα, such that Atxt=P∗0 αP∗ ααβ0 txt, (A13) together with P∗ αα= a∗ 1 a∗ 2!, ˜α∗=P∗ ααa∗−1 1= Ir a∗ 2a∗−1 1!,˜ β∗ t=βta∗0 1, (A14) where a∗ 1is invertible. Then, we can have the evolution vec(˜ β∗ t+1) = vec(˜ β∗ t) + ηβ∗ t. (A15) We assume that the error vector ηβ t in (12) has zero mean and diagonal variance–covariance matrix. From (A11)–(A13), we have At=P0 α˜α˜ β0 t=P∗0 α˜α∗˜ β∗0 t, (A16) and hence it follows that ˜ β∗ t=˜ βt˜α0PαP∗0 αδ, (A17) where the p×r matrix δ satisfies ˜α∗0δ=Ir . The existence of δ is guaranteed by the fact that α has full rank and so does ˜α∗. Then, we get the vectorized ˜ β∗ t+1: vec(˜ β∗ t+1) = vec(˜ βt+1˜α0PαP∗0 αδ) = ((δ0P∗ αP0 α˜α)⊗Iq1)vec(˜ βt+1) = ((δ0P∗ αP0 α˜α)⊗Iq1)vec(˜ βt) + ((δ0P∗ αP0 α˜α)⊗Iq1)ηβ t(A18) =vec(˜ β∗ t) + ηβ∗ t, due to (12) and (A15) . Hence, it can be seen that ηβ∗ t= ((δ0P∗ αP0 α˜α)⊗Iq1)ηβ t , and that ηβ∗ t has a diagonal variance–covariance matrix if and only if δ0P∗ αP0 α˜α is diagonal given that ηβ t has a diagonal variance–covariance matrix. The investigation of under what condition δ0P∗ αP0 α˜α is diagonal is similar to the previous proof. By substituting ˜αwith (11), we obtain δ0P∗ αP0 α˜α=δ0P∗ αP0 αPααa−1 1=δ0P∗ ααa−1 1. (A19) By substituting ˜ β∗with (A14), we obtain that Econometrics 2018,6, 48 22 of 22 δ0˜α∗=δ0P∗ ααa∗−1 1=Ir. (A20) Since the r×r square matrix δ0P∗ αα has full rank, it can be seen that ηβ∗ t has diagonal variance–covariance matrix if and only if a1=a∗ 1. References Absil, Pierre-Antoine, Robert Mahony, and Rodolphe Sepulchre. 2008. Optimization Algorithms on Matrix Manifolds. Princeton: Princeton University Press. Anderson, Theodore Wilbur. 1971. The Statistical Analysis of Time Series. New York: Wiley. Bierens, Herman J., and Luis F. Martins. 2010. Time-varying cointegration. Econometric Theory 26: 1453–90. [CrossRef] Breitung, Jörg, and Sandra Eickmeier. 2011. Testing for structural breaks in dynamic factor models. Journal of Econometrics 163: 71–84. [CrossRef] Casals, Jose, Alfredo Garcia-Hiernaux, Miguel Jerez, Sonia Sotoca, and A. Alexandre Trindade. 2016. State-Space Methods for Time Series Analysis: Theory, Applications and Software. Chapman & Hall/CRC, Monographs on Statistics & Applied Probability. New York: CRC Press. Chikuse, Yasuko. 2003. Statistics on Special Manifolds. New York: Springer. Chikuse, Yasuko. 2006. State space models on special manifolds. Journal of Multivariate Analysis 97: 1284–94. [CrossRef] Del Negro, Marco, and Christopher Otrok. 2008. Dynamic Factor Models with Time-Varying Parameters: Measuring Changes in International Business Cycles. Staff Report No. 326. New York: Federal Reserve Bank of New York. Durbin, James, and Siem Jan Koopman. 2012. Time Series Analysis by State Space Methods, 2nd ed. Oxford: Oxford University Press. Eickmeier, Sandra, Wolfgang Lemke, and Massimiliano Marcellino. 2014. Classical time varying factor-augmented vector auto-regressive models—Estimation, forecasting and structural analysis. Journal of the Royal Statistical Society Series A (Statistics in Society) 178: 493–533. [CrossRef] Hamilton, James Douglas. 1994. Time Series Analysis. Princeton: Princeton University Press. Hannan, Edward J. 1970. Multiple Time Series. New York: Wiley. Herz, Carl S. 1955. Bessel functions of matrix argument. Annals of Mathematics 61: 474–523. [CrossRef] Hoff, Peter D. 2009. Simulation of the matrix Bingham-von Mises-Fisher distribution, with applications to multivariate and relational data. Journal of Computational and Graphical Statistics 18: 438–56. [CrossRef] Khatri, C. G., and Kanti V. Mardia. 1977. The von Mises-Fisher matrix distribution in orientation statistics. Journal of the Royal Statistical Society, Series B 39: 95–106. [CrossRef] Koopman, Lambert Herman. 1974. The Spectral Analysis of Time Series. New York: Academic Press. Mardia, Kanti V. 1975. Statistics of directional data (with discussion). Journal of the Royal Statistical Society, Series B 37: 349–93. Prentice, Michael J. 1982. Antipodally symmetric distributions for orientation statistics. Journal of Statistical Planning and Inference 6: 205–14. [CrossRef] Rothman, Philip, Dick van Dijk, and Philip Hans Franses. 2001. A Multivariate STAR analysis of the relationship between money and output. Macroeconomic Dynamics 5: 506–32. Stock, James, and Mark Watson. 2009. Forecasting in dynamic factor models subject to structural instability. In The Methodology and Practice of Econometrics. A Festschrift in Honour of David F. Hendry. Edited by David F. Hendry, Jennifer Castle and Neil Shephard. Oxford: Oxford University Press, pp. 173–205. Stock, James H., and Mark W. Watson. 2002. Forecasting using principal components from a large number of predictors. Journal of the American Statistical Association 97: 1167–79. [CrossRef] Swanson, Norman Rasmus. 1998. Finite sample properties of a simple LM test for neglected nonlinearity in error correcting regression equations. Statistica Neerlandica 53: 76–95. [CrossRef] Wong, Roderick S. C. 2001. Asymptotic Approximations of Integrals. In Classics in Applied Mathematics. Philadelphia: Society for Industrial and Applied Mathematics. c 2018 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).