Extracted main text — title through conclusion, appendix excluded. This is what our citation measures are computed over, published so the extraction can be checked by eye.
54,248 characters · 17 sections · 24 citation commands
Estimation of high-dimensional factor models and its application in power data analysis
\IEEEtitleabstractindextext{
}
\IEEEPARstart{F}{actor} models are important tools for reducing the dimensionality of the observed data and extracting the relevant information. They are used for modeling a large number of variables through a small number of unobserved variables to be estimated in many applications. With the emergence of big data in many fields, especially the increasing data dimensionality, extensive studies on the estimation of high-dimensional factor models have been conducted.
Bai and Ng bai2002determining proposes using information criteria for estimating the number of factors, which is developed under the framework of high data dimensions ($n$), seriously different from the previous methods lewbel1991rank,connor1993test,cragg1997inferring,forni1998let developed under the assumption that the data dimension is fixed or small. A critical assumption made in the work is the factors' cumulative effect on $n$ grows proportionally to $n$. Stock and Watson stock2002forecasting suggests using principal components for estimating factors in high-dimensional datasets. Kapetanios kapetanios2004new,kapetanios2010testing first proposes exploiting a structure of residual terms in the approximate factor models. Based on Kapetanios's work, Onatski onatski2010determining relaxes the restrictions on the covariance structure of the residual terms and develops a new consistent estimator for estimating the number of factors. Harding harding2013estimating imposes restrictions on the spatial-temporal correlation patterns of the residual terms, and proposes an estimation method for the number of factors by relating the moments of the empirical spectral density (ESD) of covariance matrices of the observed data to the parameters regarding the spatial-temporal correlations. Yeo and Papanicolaou yeo2016random presents a new approach to estimate the number of factors by connecting the factor model estimation problem to the limiting spectral density (LSD) of covariance matrices of the residuals, in which two strict assumptions are made: one is the spatial correlation of the real residuals can be completely eliminated by removing the estimated number of factors; the other is the residuals follow an AR(1) process.
Based on the previous work, in this paper, instead of modeling the structure of the residuals directly, we propose approaching the LSD of covariance matrices of the residuals through a multiplicative covariance structure model with an controllable parameter. It avoids making crude assumptions on the structure of the data residuals and allows the proposed approach being more flexible and practical in analyzing the real-world data. Take the power flow data for example, the classical physical model in matrix form is as follows,
where $\Delta$ denotes the variations of regarding variables and ${\bm J}^{-1}$ is the inverse of the Jacobian matrix. $\bm R$ is the observed data (e.g., voltage amplitude and phase angle), $\bm S$ are considered as the signals (e.g., active and reactive power), and $\bm G$ represents small random fluctuations or measuring errors. Since a lot of measurement noise is contained in the residual term ${\bm J}^{-1}\bm G$ and the spatial-temporal correlations among its entries are complex, it is impossible to model the residuals from power data directly without any assumptions and simplifications.
Inspired by the idea of decomposing the observed data into systemic components (factors) and idiosyncratic components (residuals), we consider an approximate factor model for $N$ variables and $T$ observations as follows,
where $\bm R$ is an $N\times T$ observed data matrix, $\bm \Lambda$ is an $N\times p$ ($p$ is the number of factors) factor loading matrix, $\bm F$ is an $p\times T$ matrix of factors, and $\bm U$ is an $N\times T$ residual matrix.
One simple way to estimate $\bm\Lambda \bm F$ is using the principal components and assuming $\bm U$ as pure noise. However, our approach mainly focuses on $\bm U$ and we estimate the number of factors and the ESD of covariance matrix of $\bm U$ simultaneously. The main advantages of the proposed approach can be summarized as follows:
The rest of this paper is organized as follows. In Section (ref), we apply the Marchenko-Pastur law for the residuals from both synthetic data and real-world power data. In Section (ref), we present our approach for the estimation of high-dimensional factor models. In Section (ref), by using the synthetic data generated from Monte Carlo experiment, we evaluate the performance of our approach and compare it with that developed by Yeo and Papanicolaou in terms of detecting weak factors and convergence rate. Section (ref) shows the applications of our approach to power data analysis. In Section (ref), conclusions are presented.
Marchenko-Pastur law (M-P law): Let ${\bm X}=\{{x}_{i,j}\}$ be an $N \times T$ random matrix, whose entries are independent identically distributed (i.i.d.) variables with the mean $\mu (x)=0$ and the variance $\sigma ^2 (x)<\infty$. The corresponding covariance matrix is defined as ${\bm \Sigma}=\frac{1}{T} {\bm X}{\bm X}^{H}$. As $N,T \to\infty$ but $c=\frac{N}{T}\in (0,1]$, according to the M-P law marvcenko1967distribution, the ESD of ${\bm\Sigma}$ converges to the limit with probability density function (PDF)
where $a={\sigma}^2{(1-\sqrt{c})}^2$, $b={\sigma}^2{(1+\sqrt{c})}^2$.
In this section, we first apply the M-P law for the residuals from the synthetic data generated by the following model,
where $\bm\Lambda_{ij}\sim N(0,1)$, $\bm F_{jt}\sim N(0,0.01)$, and $\bm U_{it}\sim N(0,1)$ are independent. The true number of factors $p$ is set to be 4. As is shown in Fig. (ref), with the factors removed continuously, the ESD of covariance matrices of the residuals converges to the M-P law.
In contrast, we apply the M-P law for the residuals from the real-world online monitoring data in a power grid. Let matrix $\bm R$ be the sampling data with $N=189, T=672$, and $\bm U$ is the residual matrix obtained by subtracting principal components from $\bm R$. We convert $\bm U$ into the standard form $\hat{\bm U}$ through
where ${\bm u}_i=(u_{i1},u_{i2},...)$, $\mu ({\hat{\bm u}}_i)=0$, and $\sigma ({\hat{\bm u}}_i)=1$. As is shown in Fig. (ref), no matter how many factors are removed, the ESD of covariance matrices of the residuals from the real-world data does not fit to the M-P law. Therefore, it is necessary to build a new model to fit the ESD from real residuals in estimating factor models.
In this section, we propose an approach for the estimation of high-dimensional factor models. In Section (ref), we provide preliminaries that will be used in the proposed approach. In Section (ref), we introduce a new factor model estimation approach, which connects the estimation of the number of factors to the ESD of covariance matrices of the residuals. Considering a lot of measurement noise is contained in the residuals and the complex correlation structure of the residuals from power data, an approaching way is proposed for calculating the LSD of covariance matrices of the residuals. Specific steps of the proposed approach are given in Section (ref), in which FPT is used for deriving the spectral density of the built multiplicative covariance structure model.
The proposed estimation approach aims to match the LSD calculated from the modeled multiplicative covariance matrices to the ESD of covariance matrices of the real residuals that are obtained by subtracting principal components. By minimizing the distance between the two spectrums, the estimators are obtained.
The first step is to obtain the ESD of covariance matrices of the real residuals. For high-dimensional data, the principal components are able to approximately mimic all true factors stock2002forecasting. Here, we use the principal components to represent factors and the real residuals are obtained by subtracting the factors from the observed data, which is defined as
where $p$ is the number of factors, ${\hat{\bm F}}^{(p)}$ is an $p\times T$ matrix which is given as eigenvectors corresponding to the $p$ largest eigenvalues of ${\bm R}^T{\bm R}$, and ${\hat {\bm L}}^{(p)}$ is an $N\times p$ matrix which is estimated by ${\bm R}{{\hat {\bm F}}^{{(p)}^{-1}}}$. The covariance matrix of the real residuals can be calculated as,
where the subscript $real$ indicates it is constructed from the real residuals. Thus we can obtain the ESD of ${\bm\Sigma}_{real}^{(p)}$, which is denoted as $\rho_{real}(p)$.
The next step is to model the covariance matrix of the real residuals. Here, we factorize ${\bm\Sigma}_{real}^{(p)}$ into cross-covariances and auto-covariances, namely,
the coefficients $C_{ij}(i,j=1,\cdots,N)$ and $A_{ab}(a,b=1,\cdots,T)$ are respectively collected into an $N\times N$ cross-covariance matrix $\bm C$ and a $T\times T$ auto-covariance matrix $\bm A$, both are symmetric and positive-definite. The cross-covariance matrix $\bm C$ is a way to model the weak spatial (cross-) correlation of the residuals, because the main spatial correlations can be effectively eliminated by removing $p$ factors (principal components). The auto-covariance matrix $\bm A$ is used to model the temporal (auto-) correlation of the residuals. In order to obtain the LSD of ${\bm\Sigma}_{real}^{(p)}$, one simple way is to consider $\bm C$ as an identity matrix ${\bm I}_N$ and model $\bm A$ as the covariance AR(1) matrix based on the crude assumptions that the spatial correlations of the residuals can be completely removed from $p$ factors and the residuals follow an AR(1) process. However, for the power data, a lot of measurement noise (which is usually considered to be random) is contained in the residuals and the spatial-temporal correlations of the residuals are uncertain. Here, instead of modeling $\bm C$ and $\bm A$ directly, we prefer approaching the LSD of ${\bm\Sigma}_{real}^{(p)}$ through a multiplicative covariance structure with an controllable parameter $\phi$,namely,
where the subscript $model$ denotes it is constructed from the modeled multiplicative covariance matrix, $\bm\Sigma_{i}={\bm G_{i}}{\bm G_{i}}^T/n\; (i=0,1)$, $\bm G_{i}$ is an $m\times n$ random Gaussian matrix, and $\phi =\frac{m}{n}\in (0,1]$ which ensures the spectral distribution of ${\bm\Sigma}_{model}$ converges to a non-random limit as $m,n\rightarrow\infty$. The LSD of ${\bm\Sigma}_{model}$ can be derived by using FPT in Section (ref), which is denoted as $\rho_{model}(\phi)$.
The last step is to search for the optimal parameter set $(p,\phi)$ by minimizing the distance between $\rho_{real}(p)$ and $\rho_{model}(\phi)$, which is denoted as,
where $\mathcal{D}$ is a spectral distance measure. In yeo2016random, several distance metrics are tested and Jensen-Shannon divergence is proved to be the most sensitive to the presence of spikes (i.e., the deviating eigenvalues in the spectrum) as well as correctly reflecting the distribution of the bulk (i.e., the grouped eigenvalues in the spectrum). Here, we choose Jensen-Shannon divergence as the spectral distance measure, which is a symmetrized version of Kullback-Leibler divergence and defined as,
where ${\rho} = \frac{{\rho_{real}}+{\rho_{model}}}{2}$. It can be seen that $\mathcal{D}({\rho_{real}}||{\rho_{model}})$ becomes smaller as $\rho_{real}$ approaches $\rho_{model}$, and vice versa. Therefore, we can match $\rho_{model}(\phi)$ to $\rho_{real}(p)$ by minimizing $\mathcal{D}$, through which the optimal parameter set $({\hat p},{\hat\phi})$ is obtained.
As discussed in Section (ref), $\rho_{real}(p)$ is easily obtained by removing $p$ principal components from the real data, but the implementation of calculating $\rho_{model}(\phi)$ from the Stieltjes transform for the multiplicative covariance structure ${\bm\Sigma}_0{\bm\Sigma}_1$ is difficult. Here, FPT is used to derive the LSD of ${\bm\Sigma}_0{\bm\Sigma}_1$. The prescription is shown as follows:
In order to approximate $\rho_{real}(p)$ as much as possible, we allow an controllable parameter in the built multiplicative covariance model: the radio rate $\phi =m/n \in(0,1]$ regarding $\bm G_{i}$. Fig. (ref) illustrates the spectrum distribution of ${\bm\Sigma_{0}\bm\Sigma_{1}}$ with different $\phi$. For small $\phi$, the spectral density resembles the M-P law. As $\phi$ increases, the shape of the spectrum becomes `thinner' and more heavily tailed, which resembles the inverse process of continuously removing factors from the real-world online monitoring data in Section (ref). By controlling $p$ and $\phi$ simultaneously, our approach is more flexible and accurate in estimating high-dimensional factor models.
Combining Section (ref), the proposed factor model estimation approach is summarized as in Algorithm 1.
In this section, we first evaluate the performance of the proposed approach by using the synthetic data generated from Monte Carlo experiment, in which different correlation structures are set for the synthetical residuals. Then we compare the performance of our approach with that proposed by Yeo and Papanicolaou in terms of detecting weak factors and convergence rate.
The synthetic data is generated from the model used in Yeo and Papanicolaou's work yeo2016random. This model is also used in many other literatures, like Bai and Ng bai2002determining, Onatski onatski2010determining, and Ahn and Horenstein ahn2013eigenvalue, etc. The model is written as,
where
and
with $\bm v_{it}, \bm\Lambda_{ij}, \bm F_{jt} \sim N(0,1) (i=1,2,\cdots,N; t=1,2,\cdots,T)$. The explanations for this model are as follows:
Combining the characteristics of the data from power system, our simulation experiments have several perspectives. Firstly, since the signal-noise-ratio for power data is usually at an extremely high level, $\gamma$ was set to be small values in the experiments. Next, considering the main cross-correlations in the residuals can be eliminated by removing factors, $\alpha$ was set to be much smaller than $\beta$, and the effects of different combinations of them were tested. Lastly, different sample sizes were set to test the performance of the proposed approach and $J$ was set to be $N/10$. Parameter configurations in the Monte Carlo experiment were shown in Table (ref)
The performance of our approach was tested by using the generated data in Section (ref). Four different residual correlation structures were set, i.e., no correlation ($(\alpha,\beta)=(0.0,0.0)$), auto-correlation-only ($(\alpha,\beta)=(0.5,0.0)$), cross(weak)-correlation-only ($(\alpha,\beta)=(0,0.05)$), auto-cross(weak)-correlation ($(\alpha,\beta)=(0.5,0.05)$). The true number of factors was set to be $3$. Average values of the estimated $\hat p$ and $\hat\phi$ over $1000$ simulations were shown in Table (ref).
It can be observed that the average estimator $\hat p$ is almost equal to the true number of factors for a broad range of $N$ and $SNR$ for the cases $(\alpha,\beta)=(0.0,0.0),(0.5,0.0),(0.5,0.05)$. For the case $(\alpha,\beta)=(0.0,0.05)$, the number of estimated factors is about $10$, because several weak factors caused by the weak cross-correlation of the residuals are presented. It indicates the proposed approach has powerful ability to identify weak factors. It can also be observed that the estimators become more accurate with the increase of the sample size. Meanwhile, varied correlation structures of the residuals were tested in the experiments and the corresponding examples of the fitting results of our approach for the synthetical residuals are shown in Fig. (ref). $\alpha$ controls the auto-correlation magnitude for the residuals and $\beta$ measures the cross-correlation within the range of $J$ in the residuals. As shown in Table (ref), it can be concluded that the estimator $\hat\phi$ is affected both by the auto- and cross-correlations of the residuals, while the estimator $\hat p$ is mainly affected by the cross-correlation of the residuals.
In Yeo and Papanicolaou's work yeo2016random, the estimators from their approach are compared with the BIC3 estimator of Bai and Ng bai2002determining, the ED estimator of Onatski onatski2010determining, and the ER estimator of Ahn and Horenstein ahn2013eigenvalue in detail. It shows Yeo and Papanicolaou's approach converges the fastest when the noise level is high and has more powerful ability to identify weak factors than other methods. In this section, we mainly compare the performance of our free probability (FP) based approach with that of Yeo and Papanicolaou's free random variable (FRV) method.
Fig. (ref) shows the Jensen-Shannon (JS) divergences of $\rho_{syn}(\hat p)$ and $\rho_{model}(\hat\phi)$ regarding the sample size $N$ and the signal-noise-radio $SNR$, calculated through FRV and FP approaches, respectively. In the simulations, the true number of factors was set to be $3$, and $T=N$. Combining the characteristics of the real residuals from power data, auto-cross(weak)-correlation structure was set for the synthetical residuals, i.e., $(\alpha,\beta)=(0.5,0.05)$, and $J=N/10$. As shown in the figure, the optimal JS divergences calculated though FP approach are smaller than those from FRV, which indicates that our built multiplicative covariance model can fit the residuals better than that based on FRV. What's more, our estimation approach has a faster convergence rate than FRV, especially for the small sample size. When the sample size is large, both FRV and FP approaches converge very well, regardless of the noise levels.
In this section, we illustrate the proposed approach by using the real-world online monitoring data collected from a power grid and the power flow data generated from IEEE 118-bus test system. We first check how well our built model can fit the residuals from the real data. Then, implications of $\hat p$ and $\hat\phi$ are explored by using the power flow data, in which we track the evolutions of $\hat p$ and $\hat\phi$ by moving a window on the data at continuous sampling times.
The real-world online monitoring data are three-phase voltages collected from $63$ monitoring devices installed on the low voltage side of distribution transformers within one feeder. The data was sampled every $15$ minutes and the sampling time was from 2017/3/1 00:00:00 to 2017/3/31 23:45:00. Thus, a $189\times 2976$ data set was formulated. Instead of taking the entire matrix for analysis, we moved a $189\times 672$ window on the data set at continuous sampling times. Fig. (ref) shows several sample fitting results of our built multiplicative covariance model to the real residuals. It can be observed that our built multiplicative covariance model can fit the residuals well, while the M-P law does not. What's more, it is noted that the estimated $\hat p$ and $\hat\phi$ are different for the data sampled at different sampling moments, which validates the estimators in the proposed approach can be used to indicate the system states.
The power flow data generated from IEEE 118-bus test system zimmerman2011matpower was used to explore the implication of $\hat p$. The IEEE 118-bus test system represents a portion of the U.S. Midwest Electric Power System, and it is edited into IEEE Common Data Format and PECO PSAP Format by Richard Christie from the University of Washington richard1993. In the early 2000's, researchers from the Illinois Institute Technology (IIT) work with the system and add some line characteristics IITpena2018extended. The one-line diagram of the IEEE 118-bus test system is shown in Fig. (ref). It consists of $118$ buses, $186$ branches, $91$ load sides and $54$ generators with a total installed capacity of 7220MW.
In the data generation process, a sudden change of the active load at one bus was considered as an anomaly event and a little white gaussian (WG) and autoregressive (AR(1)) noise was introduced to represent random fluctuations and measuring errors. The correlation coefficient was set to be $0.5$. The anomaly events can cause the variation of the data's cross-correlations. From Section (ref), we know that $\hat p$ is mainly affected by the cross-correlation of the data. Here, in order to explore the relations between the number of anomaly events and $\hat p$, different number of anomaly events were set, as shown in Table (ref). The generated data contained $118$ voltage measurement variables with sampling $1000$ times, as shown in Fig. (ref). Thus, a $118\times 1000$ data set was formulated. In the experiment, we moved a $118\times 200$ window at continuous sampling times on the data set, which enables us to track the temporal evolutions of $\hat p$.
The time-series of $\hat p$ generated with continuously moving windows is shown in Fig. (ref). The relations between the number of anomaly events and the parameter $\hat p$ are stated as follows:
\uppercase\expandafter{\romannumeral1}. From $t_s=200$ to $t_s=500$, the estimated $\hat p$ remains almost constant at $1$. The fitting result of our built model to the residuals during this period of time (such as $t_s=500$) is shown in Fig. (ref)(a). In the experiment, no strong factors are observed during this period of time. The most likely explanation is that the proposed approach is sensitive to the weak factors caused by small fluctuations and is able to identify them effectively.
\uppercase\expandafter{\romannumeral2}. From $t_s=501$ to $t_s=550$, two strong factors are observed in the experiment and the average estimated $\hat p$ is between $2$ and $3$, during which one anomaly event is contained in the moving window. The fitting result of our built model to the residuals during this period of time (such as $t_s=501$) is shown in Fig. (ref)(b). From $t_s=551$ to $t_s=600$, three strong factors are observed and the average number of estimated factors is between $3$ and $4$, during which two anomaly events are contained in the moving window. The fitting result of our built model to the residuals during this period of time (such as $t_s=551$) is shown in Fig. (ref)(c). From $t_s=601\sim 650$, four strong factors are observed and the average estimated $\hat p$ is about $4$, during which three anomaly events are contained in the moving window. The fitting result of our built model to the residuals during this period of time (such as $t_s=601$) is shown in Fig. (ref)(d). It can be concluded that $\hat p$ is driven by the number of anomaly events.
\uppercase\expandafter{\romannumeral3}. From $t_s=651$ to $t_s=800$, $\hat p$ decreases by $1$ every other $50$ sampling times, because the width of the moving window is $200$ and the number of anomaly events contained in the moving window decreases by $1$ every $50$ sampling times. It validates the conclusion that $\hat p$ is driven by the number of anomaly events.
\uppercase\expandafter{\romannumeral4}. From $t_s=801$, no strong factors are observed and $\hat p$ remains nearly $1$, which validates that the proposed approach is sensitive to the weak factors caused by small fluctuations.
From Section (ref), we know that $\hat\phi$ is affected both by the cross- and auto-correlation of the data in our approach. The number of anomaly events can cause the variation of the data's cross-correlations. In this section, we first explore how the number of anomaly events affects $\hat\phi$ by using the generated data in Fig. (ref). In the experiment, a $118\times 200$ window is moved on the data set at continuous sampling times and the generated ${\hat\phi}-t$ curve is shown in Fig. (ref)(a). The relations between the number of anomaly events and $\hat\phi$ are stated as follows:
\uppercase\expandafter{\romannumeral1}. From $t_s=200$ to $t_s=500$, no anomaly events occur and $\hat\phi$ remains almost constant.
\uppercase\expandafter{\romannumeral2}. From $t_s=501$ to $t_s=650$, $\hat\phi$ increases by $0.005$ every other $50$ sampling times for the number of anomaly events contained in the moving window increases by $1$ every $50$ sampling times. From $t_s=651$ to $t_s=800$, $\hat\phi$ decreases by $0.005$ every other $50$ sampling times for the number of anomaly events contained in the moving window decreases by $1$ every $50$ sampling times. It shows $\hat\phi$ is positively affected by the number of anomaly events contained in the moving window, because the cross-correlations of the residuals vary with the number of anomaly events. It validates our assumption that the cross-correlation of the residuals can not be completely eliminated by removing factors, i.e., weak cross-correlation structure assumption for the residuals.
\uppercase\expandafter{\romannumeral3}. From $t_s=801$, no anomaly events are contained in the moving window and $\hat\phi$ returns to a constant and remains afterwards.
Meanwhile, the scale of anomaly events can affect the variation of the data's auto-correlations. Here, we explore how the scale of anomaly events affects $\hat\phi$. Assumed events with different scales were set for bus $20$, which was shown in Table (ref). The generated data contained $118$ voltage measurements with sampling $1000$ times. A $118\times 200$ window was moved on the data set at continuous sampling times and the generated $\hat\phi-t$ curve was shown in Fig. (ref)(b). The relations between the scale of anomaly events and $\hat\phi$ are stated as follows:
\uppercase\expandafter{\romannumeral1}. From $t_s=200$ to $t_s=500$, the estimated $\hat b$ remains almost constant, which indicates no anomaly events occur and the system operates in normal state.
\uppercase\expandafter{\romannumeral2}. From $t_s=501$ to $t_s=700$, the ${\hat b}-t$ curves are almost inverted U-shaped, because anomaly events in Table (ref) were set and the delay lags of the anomaly events to $\hat\phi$ are equal to the moving window's width. It is noted that the estimated $\hat b$ corresponding to the anomaly event of the active power (AP) from $20$ to $300$ has the largest value and that of the AP from $20$ to $100$ has the smallest value, which indicates $\hat\phi$ is driven by the scale of anomaly events. Because the scale of anomaly events is positively related to the variation of the auto-correlation of the residuals from the power data.
\uppercase\expandafter{\romannumeral3}. From $t_s=701$, the estimated $\hat b$ returns to constant and remains afterwards, which indicates the system has returned to normal state.
The spectrum from real-world power data is complex and cannot be trivially dissected by the M-P law. In this paper, we propose a new approach to estimate factor models by connecting the estimation of the number of factors to the ESD of covariance matrices of the residuals. Considering a lot of measurement noise is contained in the power data and the uncertain correlation structure of the real residuals, our approach prefers approaching the ESD of covariance matrices of the residuals by using a multiplicative covariance structure model, which avoids making crude assumptions or simplifications on the complex correlation structure of the data. The free probability techniques in random matrix theory is used to derive the spectral density of the multiplicative covariance structure model.
Theoretical studies show that the proposed approach is robust aganist noise and has powerful ability to identify weak factors. The built multiplicative covariance structure model can fit the ESD of covariance matrices of the real residuals better and has a faster convergence rate compared with the traditional approaches. Empirical studies show that the estimators in the proposed approach effectively characterize the number and scale of anomaly events in a power system, and they can be used to indicate the system states.
This work was partly supported by National Key R & D Program of China under Grant 2018YFF0214705, NSF of China under Grant 61571296 and (US) NSF under Grant CNS-1619250.