Abstract
This paper studies model selection consistency for high dimensional sparse regression when data exhibits both cross-sectional and serial dependency. Most commonly-used model selection methods fail to consistently recover the true model when the covariates are highly correlated. Motivated by econometric and financial studies, we consider the case where covariate dependence can be reduced through the factor model, and propose a consistency strategy named Factor-Adjusted Regularized Model Selection (FarmSelect). By learning the latent factors and idiosyncratic components and using both of them as predictors, FarmSelect transforms the problem from model selection with highly correlated covariates to that with weakly correlated ones via lifting. Model selection consistency, as well as optimal rates of convergence, are obtained under mild conditions. Numerical studies demonstrate the nice finite sample performance in terms of both model selection and out-of-sample prediction. Moreover, our method is flexible in the sense that it pays no price for weakly correlated and uncorrelated cases. Our method is applicable to a wide range of high dimensional sparse regression problems. An R-package FarmSelect is also provided for implementation.
Keywords: Model selection consistency, Correlated covariates, Factor model, Regularized M-estimator, Time series, C52, C58
1. Introduction
With the development of data collection and storage technologies, high dimensional time series characterize many contemporary research problems in economics, finance, genomics, statistics, machine learning and so on. Specifying an appropriate yet parsimonious model has become a key topic in high dimensional time series analysis. Parsimonious models are preferable due to their simplicity and interpretability. In classic econometric studies, extensive efforts have been made to identify the correct orders of time series models, see Akaike (1973), Schwarz (1978), Tsay and Tiao (1985), Choi (1992) and Tiao and Tsay (1989) among others. In addition, removing redundant coefficients can improve the prediction accuracy of time series. Professor George C. Tiao and his co-authors, among others, have contributed to this area by a series of pioneering works (Box and Tiao, 1976; Liu et al., 1992; Montgomery et al., 1998).
Over the past two decades, many model selection method, have been developed. A major part of them are based on the regularized M-estimation approach including the LASSO (Tibshirani, 1996), the SCAD (Fan and Li, 2001), the elastic net (Zou and Hastie, 2005), and the Dantzig selector (Candes and Tao, 2007), among others. These methods have attracted a large amount of theoretical and algorithmic studies. See Donoho and Elad (2003), Fan and Peng (2004), Efron et al. (2004), Meinshausen and Bühlmann (2006), Zhao and Yu (2006), Fan and Lv (2008), Zou and Li (2008), Bickel et al. (2009), Wainwright (2009), Zhang (2010), and references therein. However, most existing model selection schemes are not tailored for economic and financial applications as they assume covariates are cross-sectionally weakly correlated and serially independent. These conditions are easily violated in economic and financial datasets. For example, economics studies (e.g. Stock and Watson, 2002; Bai and Ng, 2002) show that there exist strong co-movements among a large pool of macroeconomic variables. A stylized feature of the stock return data is cross-sectionally correlated among the stock returns. Furthermore, even if the weakly correlated assumption holds, one may still observe strong spurious correlations in a high dimensional sample.
To illustrate how cross-sectional correlations influence the model selection result, we consider a toy example of LASSO with an equally correlated design. Consider a sparse linear model y = Xβ* + ε. We choose sample size n = 100, dimensionality p = 200, and ε ~ N (0n, 0.3In). The nonzero coefficients β1, ⋯ , β10 are drawn from i.i.d. Uniform [2, 5]. The covariates X = (x1, ⋯ , xp)T are drawn from the normal distribution N(0p, Σ) where Σ is a correlation matrix with all off-diagonal elements ρ for some ρ ∈ [0, 1). Let ρ increase from 0 to 0.95 by a step size 0.05. For each given ρ, we simulate 200 replications and calculate the average model size selected by LASSO, the average model size when the first false discovery (xj, j > 10) enters the solution path and the model selection consistency rate. As is shown in Figure 1, the correlation influences the model selection results in the following three aspects: (i) selected model size, (ii) early selection of false variables, (iii) model selection consistency rates. Therefore, when the covariates are highly correlated, there is little hope to exactly recover the active set from the solution path of LASSO. As to be shown later, the correlation has similar adverse impacts on other model selection methods (e.g. SCAD and elastic net).
Figure 1:

LASSO model selection results with respect to the correlations
To overcome the the aforementioned problems caused by the cross-sectional correlation, this paper proposes a consistent strategy named Factor-Adjusted Regularized Model Selection (FarmSelect) for the case where covariates can be decorrelated via a few pervasive latent factors. More precisely, let xtj be the tth (t = 1, ⋯ , n) observation of the jth (j = 1, ⋯ , p) covariate, and assume that xt = (xt1, ⋯ , xtp)T follows an approximate factor model
| (1.1) |
where ft is a K × 1 vector of latent factors, B is a p × K matrix of factor loadings, and ut is a p × 1 vector of idiosyncratic components that are uncorrelated with ft. The strategy of FarmSelect is to first learn the parameters in approximate factor model (1.1) for the covariates Denote by and the obtained estimators of the factors and loadings respectively. Then by identifying the highly correlated low rank part by , we transform the problem from model selection with highly correlated covariates in xt to that with weakly correlated or uncorrelated idiosyncratic components and . This lifting step makes covariates weakly correlated. The second step amounts to solving a regularized profile likelihood problem. We study FarmSelect in detail by providing theoretical guarantees that FarmSelect can achieve model selection consistency as well as estimation consistency under mild conditions. Unlike traditional studies of model selection where the samples are assumed to be i.i.d., the serial dependency is allowed and thus our theories apply to time series data. Moreover, both theoretical and numerical studies show the flexibility of FarmSelect in the sense that it pays no price for weakly correlated cases. This property makes FarmSelect very powerful when the underlying correlations between active and inactive covariates are unknown.
FarmSelect is applicable to a wide range of high dimensional sparse regression related problems that include but are not limited to linear model, generalized linear model, Gaussian graphic model, robust linear model, and group LASSO. For the sparse linear regression, the proposed approach is equivalent to projecting the response variable and covariates onto the linear space orthogonal to the one spanned by the estimated factors. Existing algorithms that yield solution paths of LASSO can be directly applied in the second step. To demonstrate the finite sample performance of FarmSelect, we study two simulated and one empirical example. The numerical results show FarmSelect can consistently select the true model even when the covariates are highly correlated while existing methods like LASSO, SCAD and elastic net fail to do so. An R-package FarmSelect (https://cran.r-project.org/web/packages/FarmSelect) is also provided to facilitate the implementation of our method.
Various methods have been studied to estimate the approximate factor model. Principal components analysis (PCA, Stock and Watson, 2002) is among one of the most popular ones. Data-driven estimation methods of the number of factors have been studied in extensive literature, such as Bai and Ng (2002), Luo et al. (2009), Hallin and Liška (2007), Lam and Yao (2012), and Ahn and Horenstein (2013) among others. Recently, a large amount of literature contributed to the asymptotic analysis of PCA under the ultra-high dimensional regime including Johnstone and Lu (2009), Fan et al. (2013), Shen et al. (2016) and Wang and Fan (2017), among others.
The rest of the paper is organized as follows. Section 2 overviews the problem setup including regularized M-estimators of sparse regression, the irrepresentable condition, and approximate factor models. Section 3 introduces the model selection methodology of FarmSelect and studies the sparse generalized linear model as a showcase example. Some issues related to the estimation of approximate factor models will be discussed in Section 3 as well. Section 4 presents the general theoretical results. Section 5 provides simulation studies and Section 6 studies the forecast of U.S. bond risk premia. Due to the limitation of space, all technical proofs are presented in a separate supplement file.
Here are some notations that will be used throughout the paper. In denotes the n × n identity matrix; 0 refers to the n × m zero matrix; 0n and 1n represent the all-zero and all-one vectors in , respectively. For a matrix M, we denote its matrix entry-wise max norm as ‖M‖max = maxi,j|Mij| and denote by ‖M‖F and ‖M‖p its Frobenius and induced p-norms, respectively. λmin(M) denotes the minimum eigenvalue of M if it is symmetric. For , I ⊆ [n] and J ⊆ [m], define MI J = (Mij)i∈I,j∈J, MI. = (Mij)i∈I,j∈[m] and M.J = (Mij)i∈[n],j∈J. For a vector and S ⊆ [p], define vS = (vi)i∈S to be its subvector. Let ∇ and ∇2 be the gradient and Hessian operators. For and I, J ∈ [p], define ∇I f(x) = (∇f(x))I and refers to the normal distribution with mean μ and covariance matrix Σ.
2. Problem Setup
2.1. Regularized M-estimator
Let us begin with a family of high dimensional sparse regression problems in the following settings. From now on we suppose that are (p − 1)-dimensional random vectors of covariates with zero mean1, and are responses with each yt sampled from some probability distribution parametrized by Here is a sparse vector with s ≪ p non-zero elements. Let and be the design matrix and response vector, respectively. Define where the subscript 1 refers to the all-one column added to the original design matrix X.
Let Ln(y, X1β) be some convex and differentiable loss function assigning a cost to any parameter . Suppose that β* is the unique minimizer of the population risk E[Ln(y, X1β)]. Under the high-dimensional regime, it is natural to estimate β* via a regularized M-estimator as follows:
| (2.1) |
where is a norm that penalizes the use of a nonsparse vector β and λ > 0 is a tuning parameter.
A special case of this problem is the L1 penalized likelihood estimation of generalized linear models. Suppose the conditional density function of Y given covariates x is a member of the exponential family, i.e.
| (2.2) |
where b(·) and c(·) are known functions, and β* is an unknown coefficient vector of interest. It is commonly assumed that b(·) is stricly convex. Taking the loss function to be the negative log-likelihood function and the penality function to be the L1 norm, the regularized M-estimator of β* admits the form
| (2.3) |
2.2. Irrepresentable condition
We expect a good estimator of (2.1) to achieve estimation as well as selection consistency. The former requires for some norm ‖ · ‖ as n → ∞; while the latter requires as n → ∞. In general, the estimation consistency does not imply selection consistency and vice versa. To study the selection consistency, we consider a stronger condition named general sign consistency as follows.
Definition 2.1 (Sign consistency). An estimate is sign consistent with respect to β* if .
Zhao and Yu (2006) studied the LASSO estimator and showed there exists an irrepresentable condition which is sufficient and almost necessary for both sign and estimation consistencies for a sparse linear model. Without loss of generality, we assume supp(β*) = [s] = S. Denote (X1)S and (X1)Sc as the submatrices of X1 defined by its first s columns and the rest (p – s) columns, respectively. Then the irrepresentable condition requires some τ ∈ (0, 1), such that
| (2.4) |
For general regularized M-estimator (2.1) to achieve both sign and estimation consistencies, Lee et al. (2015) proposed a generalized irrepresentable condition. When applied to the L1 regularizer, it becomes
| (2.5) |
for some τ ∈ (0,1), where L(β) = Ln(y, X1β). It is easy to check (2.5) is equivalent to (2.4) under the LASSO case. The generalized irrepresentable condition will easily get violated when there exist strong correlations between active and inactive variables. Even if it holds, the key parameter τ can be very close to zero, making it hard to select the correct model and obtain small estimation errors simultaneously.
2.3. Approximate factor model
To go beyond the assumption of weakly correlation, a natural extension is a conditional weak correlation. Suppose covariates are dependent through latent common factors. Given these common factors, the idiosyncratic components are weakly correlated. The factor model has been well studied in econometrics and statistics literature, we refer to Lawley and Maxwell (1971); Stock and Watson (2002); Bai and Ng (2002); Forni et al. (2013); Fan et al. (2013), among others. For an overview, see Fan et al. (2019+).
We assume that follows the approximate factor model
| (2.6) |
where are latent factors, is a loading matrix, and are idiosyncratic components. Note that xt is the only observable quantity. Throughout the paper, K is assumed to be independent of n, which is frequently imposed in the literature of factor model (Fan et al., 2013). We assume that come from a time series Denote and Then (2.6) can be written in a more compact form:
| (2.7) |
We impose the following identifiability assumption (Fan et al., 2013). Here we only put the most basic assumption for factor model, and more can be found in Section 3.3 where estimation of factor model is discussed.
Assumption 2.1. Assume that cov(ft) = IK, BTB is diagonal, and all the eigenvalues of BTB/p are bounded away from 0 and ∞ as p → ∞.
3. Factor-adjusted regularized model selection
3.1. Methodology
To illustrate the main idea, we temporarily assume ft and ut to be observable. Define and By the approximate factor model (2.7), we have decompositions and
where The regularized M-estimator (2.1) can be written as
Instead of using to estimate β*, we regard γ as nuisance parameters, drop the constraint , and consider a new estimator
| (3.1) |
namely are now regarded as new covariates. In other words, by lifting the covariate space from to the highly dependent covariates xt are replaced by weakly dependent ones.
The theory for us to ignore the constraint is given by the following lemma, whose proof is given by Appendix A in the supplement file.
Lemma 3.1. Consider the generalized linear model (2.2), let and If then
It is worth pointing out that the assumption E(ηtwt) = 0p+K is very mild and natural. We just assume the residual ηt and augmented covariates wt to be uncorrelated, which is almost as weak as the standard condition E(ηt|xt) = 0 for the generalized linear model. For example, in the linear model we strengthen the condition only from E(ηtxt) = 0 to E(ηtft) = 0 and E(ηtut) = 0. In particular, the assumptions hold if ηt is independent of ut and ft.
By construction, (U, F) has much weaker cross-sectional correlation than X. Thus, the penalized profile likelihood (3.1) removes the effect of strong correlations caused by the latent factors. It can be implemented as follows:
Step 1: Initial estimation. Let be the design matrix. Fit the approximate factor model (2.7) and denote , and the obtained estimators of B, F and U respectively by using the principal component analysis (Bai, 2003; Fan et al., 2013; Fan et al., 2019+). More specifically, the columns of are the eigenvectors of XXT corresponding to the top K eigenvalues, . This is the same as and where and are top K eigenvalues in descending order and their associated eigenvectors of the sample covariance matrix.
Step 2: Augmented M-estimation. Define and Then is obtained from the first p entries of the solution to the augmented problem
| (3.2) |
We call the above two-step method as the factor-adjust regularized model selection (FarmSelect). If ut is independent of ft and the variables in the idiosyncratic component ut are weakly correlated, then the columns in are weakly correlated as long as F and U are well estimated. Hence, we successfully transform the problem from model selection with highly correlated covariates X in (2.1) to model selection with weakly correlated or uncorrelated ones by lifting the space to a higher dimension. The augmented problem (3.2) is a convex optimization problem which can be minimized via many existing convex optimization algorithms, such as coordinate descent (e.g. Friedman et al., 2010) and ADMM (Boyd et al., 2011).
3.2. Example: sparse linear model
Now we illustrate the FarmSelect procedure using sparse linear regression, where y = X1β* + ε. With aforementioned notation, we have
| (3.3) |
The augmented M-estimator (3.2) for the sparse linear model is of the following form:
Solving the least-squares problem with respect to γ, we have the penalized profile least-squares solution
| (3.4) |
where is the n × n projection matrix onto the column space of . As the decorrelation step does not depend on the choice of the regularizer R(·), FarmSelect can be applied to a wide range of penalized least squares problems such as SCAD, group LASSO, elastic net, fused LASSO, other folded concave penalties, and so on.
There is another way to understand this method. By left multiplying the projection matrix to both sides of (3.3), we have
| (3.5) |
where can be treated as the decorrelated design matrix and is the corresponding response variable. From (3.5) we see that the method in Kneip and Sarda (2011) coincides with FarmSelect in the linear case. However, the projection-based representation only makes sense in sparse linear regression. In contrast, our idea of profile likelihood directly generalizes to more general problems.
3.3. Estimating factor models
Principal component analysis (PCA) is frequently used to estimate latent factors for model (2.7). The estimated matrix of latent factors is times the eigenvectors corresponding to the K largest eigenvalues of the n × n matrix XXT. Using the normalization FTF/n = IK yields Now we introduce the asymptotic properties of estimated factors and idiosyncratic components. We adopt the regularity assumptions in Fan et al. (2013), which are similar to the ones in Bai (2003) and other literature on high-dimensional factor analysis.
Assumption 3.1. 1. is strictly stationary. In addition, E ftk = E utj = E(utj ftk) = 0 for all i ∈ [n], j ∈ [p − 1] and k ∈ [K];
2. There exist constants c1, c2 > 0 such that λmin(cov(ut)) > c1, ‖ cov(ut)‖1 < c2 and minj,k∈[p−1] var(utjutk) > c1;
3. There exist r1, r2 > 0 and b1, b2 > 0 such that for any s > 0, j ∈ [p − 1] and k ∈ [K], P(|utj| > s) ≤ exp(−(s/b1)r1) and P(|ftk| > s) ≤ exp(−(s/b2)r2).
Assumption 3.2. Let and denote the σ-algebras generated by {(ft, ut) : i ≤ 0} and {(ft, ut) : i ≥ T} respectively. Assume the existence of r3, C > 0 such that 3/r1 + 3/(2r2) + 1/r3 > 1 and for all T ≥ 1,
Assumption 3.3. There exists M > 0 such that for all t,s ∈ [n], we have and
We summarize useful properties of and in Lemma 3.2, which directly follows from Lemmas 10-12 in Fan et al. (2013).
Lemma 3.2. Let γ−1 = 3/r1 + 3/(2r2) + 1/r3 + 1. Suppose that log p = o(nγ/6), n = o(p2), and Assumptions 2.1, 3.1, 3.2 and 3.3 hold. There exists a nonsingular matrix such that
A practical issue arises on how to choose the number of factors, i.e. K. As latent factors, loading and idiosyncratic components are all unobservable in the approximate factor model, the estimation of K is an intrinsic un-supervised learning problem. From the inference point of view, existing literature (Chamberlain and Rothschild 1982; Stock and Watson, 2002; Bai and Ng, 2002, among others) usually assumes that there exists a non-negative integer K such that the first K population eigenvalues of X are diverging with p, while the rest p − K eigenvalues are bounded. From the dimension reduction point of view, selecting K is to find a proper trade-off between goodness-of-fit and compactness of the model. In this paper, we follow a conditional sparsity perspective (Fan et al., 2013) regarding the role of K, where K is the smallest non-negative integer such that the idiosyncratic components U = X − FBT is weakly correlated. In this regard, for our purpose of model selection, a small overestimation of K does not seriously affect the adjusted model selection.
We adopt the modified ratio method, e.g. equation (10) in Chang et al. (2015), for the numerical studies in this paper due to its simplicity. Let λk (XXT) be the kth largest eigenvalue of XXT, Kmax be a prescribed upper bound and Cn be a constant that depends on n and p. The number of factors can be estimated by
| (3.6) |
for some given Cn. When X itself is weakly correlated, one can estimate K as 0.
Besides the modified ratio method, Bai and Ng (2002) studied the convergence and consistency estimation of K for high dimensional factor models. They proposed to estimate K by minimizing a family of information criteria. We refer to equation (9) in Bai and Ng (2002) for viable examples.
3.4. Factor-adjusted variable screening
Screening methods (e.g. Fan and Lv, 2008; Fan and Song, 2009; Wang and Leng, 2016) are computationally attractive and thus popular for ultra-high dimensional data analysis. However, the screening methods tend to include too many variables when there exist strong correlations among covariates (Fan and Lv, 2008; Wang and Leng, 2016). As an extension of FarmSelect, we propose the following conditional variable screening method to tackle this problem.
Step 1: Initial estimation. We fit the approximate factor model (2.7) to obtain and .
Step 2: Augmented marginal regression. For j ∈ [p − 1], let be the j-th column of and compute
| (3.7) |
Step 3 Screening. Return for some prescribed threshold ξ.
For sparse linear regression, our screening method reduces to the factor-profiled screening method proposed by Wang (2012).
4. Theoretical results
4.1. FarmSelect with approximate factor model
Now we establish theoretical guarantees of the FarmSelect estimator (3.2). Recall that β* is equal to the first p entries of θ*. Define S = supp(θ*), S1 = supp(β*) and S2 = [p + K]\S. When the covariates X admit the approximate factor model (2.7), the oracle procedure uses true augmented covariates for t ∈ [n] and solves
where However, W is not observable in practice. Hence we need to use its estimator and solve
Below the error induced by the factor estimation will be studied carefully. To deliver a clear discussion on the conditions and results, we focus on the FarmSelect estimator for the generalized linear model (2.3), and assume that the covariates are generated from the approximate factor model (2.7).
Assumption 4.1 (Smoothness). . For some constants M2 and M3, we have 0 ≤ b″(z) ≤ M2 and |b‴(z)| ≤ M3, ∀z.
Assumption 4.2 (Restricted strong convexity and irrepresentable condition). Let Assume the existence of κ2 > κ∞ > 0 and τ ∈ (0,1) such that
| (4.1) |
Assumption 4.3 (Estimation of factor model). for some constant M0 > 0. In addition, there exist K × K nonsingular matrix H0, and such that for , we have and
Before presenting the main results, we make a few remarks on the assumptions.
Assumption 4.1 holds for a large family of generalized linear models. For example, linear model has , M2 = 1 and M3 = 0; logistic model has b(z) = log(1 + ez) and finite M2, M3.
The first inequality in (4.1) involves only a small matrix and holds easily, and the second inequality there is related to the generalized irrespresentable condition. Standard concentration inequalities (e.g. the Bernstein inequality for weakly dependent variables in Merlevède et al. (2011)) yield that Assumption 4.2 holds with high probability as long as E[∇2Ln(y, Wθ*)] satisfies similar conditions.
- Here we show an example where the irrepresentable condition holds for the augmented covariates W but fails to hold for the original ones X. Suppose the covariates are generated from a single factor model xi = bfi + ui, where , fi ~ N (0,1), ui ~ N(0, Ip) and it is independent of fi. Consider a sparse linear model where are i.i.d. N(0, σ2) variables for some σ > 0 and they are independet of Let Note that
and Thanks to the independence, we have and Hence
where S = {1, 2, p + 1} and S2 = {3, ⋯ , p}. With high probability, the irrepresentable condition also holds for the empirical quantity Ln(y, Wθ*). On the other hand, we observe that xi ~ N(0, Σ) with Σ = bbT + Ip. When X are used as covariates, we have S = {1, 2} and S2 = {3, ⋯ , p}. From and we get and Hence the irrepresentable condition is violated. Under the conditions of Lemma 3.2, we have and where and some proper H0. Hence can guarantee Assumption 4.3 to hold with high probability.
Theorem 4.1. Suppose Assumptions 4.1-4.3 hold. Define and
If then we have and
In addition, if and hold for some C > 7, then by taking we can achieve the sign consistency
By taking λ ≍ ε, one can achieve the sign consistency and and Hence ε is a key quantity characterizing the error rate of our FarmSelect estimator, whose size is controlled using the following lemma.
Lemma 4.1. Let and Assume that is strictly stationary and satisfies the following conditions
E(ηtwt) = 0;
There exist constants b, γ1 > 0 such that P(|ηt| > s) ≤ exp(1 − (s/b)γ1) for all and s ≥ 0;
- There exist constants c, γ3 > 0 such that for all T ≥ 1,
where and denote the σ-algebras generated by and respectively;
In addition, suppose that the assumptions in Lemma 3.2 hold. Then we have
Recall that the assumption E(ηtwt) = 0 has been used in Lemma 3.1 as a cornerstone of our FarmSelect methodology. The rest in the list are standard conditions similar to Assumptions 3.1-3.3. All of them are mild and interpretable.
Lemma 4.1 asserts that The first term corresponds to the optimal rate of convergence for high-dimensional M-estimator (e.g. Bickel et al., 2009). The second term is the price we pay for factor estimation, which is negligible if n = O(p log p). In that high-dimensional regime, all the error bounds for match the optimal ones in the literature.
4.2. Factor-adjusted variable screening
In this subsection, we study the factor-adjusted variable screening procedure described in Section 3.4. The lemma below considers the population version of the factor-adjusted screening procedure. It shows that as long as E(ujy) ≠ 0 for all j’s in the active set supp(β*), where uj is the j-th idiosyncratic component, the screening retains all the important variables. Furthermore, if E(ujy) = 0 for all j’s outside the active set, the screening procedure exactly recovers the active set.
Lemma 4.2. Let f be a K-dimensional random vector, u be a zero-mean random variable and is independent of f, y be another random variable living in the same probability space, and such that 0 < b″ ≤ M. Assume that u, y and the coordinates of f all have finite second moments. Define
We have the followings.
|β| ≥ |E(uy)|/(M · E u2);
If E (uy) = 0 and P(u = 0) = 0, then β = 0.
Now we investigate the sure screening property of the factor-adjusted screening procedure. Recall that and are matrices of true factors and idiosyncratic components, respectively, and their estimated versions are and . We use Uj, to refer to the j-th columns of U and . Define for j ∈ [p], and . Let
| (4.2) |
be the population version of
The following three assumptions are variants of those in Section 4.1, and hence they hold almost surely or with high probability in the cases we are interested in.
Assumption 4.4 (Smoothness). . For some constant M, we have 0 ≤ b″(z) ≤ M and |b‴(z)| ≤ M, ∀z.
Assumption 4.5 (Strong convexity of marginal loss functions). There exists some constant κ > 0 such that for all j ∈ [p].
Assumption 4.6 (Estimation of factor model). There exist constants C, c and a nonsingular matrix such that the followings happen. Let and We have and
Theorem 4.2. Suppose that Assumptions 4.4, 4.5 and 4.6 hold with high probability, and the constant c in Assumption 4.6 is small enough. For j ∈ [p − 1], define
If for some constant ρ ∈ (0,1) and
| (4.3) |
then we have
Under the conditions in Lemma 4.1, we can prove that
Theorem 4.2 asserts that if grows faster than the factor-adjusted screening procedure enjoys the sure screening property (Fan and Lv, 2008; Fan and Song, 2009). The optimal choice of the screening threshold ξ can be disucssed by following the analysis as in Fan and Song (2009). Here we do not pursue this result as it is not the main focus of the paper.
5. Simulation study
5.1. Example 1: Linear regression
We study a simulated example for high dimensional sparse linear regression with correlated covariates. The correlation structure is calibrated from S&P 500 monthly excess returns between 1980 and 2012. Throughout the numerical studies of this paper, the tuning parameter λ is selected by the 10-fold cross-validation. The model selection performance is measured by the model selection consistency rate and the sure screening rate. The former is the proportion of simulations that the selected model is identical to the true one and the latter is the proportion of simulations that the selected model contains all important variables.
Calibration and data generation process
We calculate the centered monthly excess returns for the stocks in S&P 500 index that have complete records from January 1980 to December 2012. The data, collected from CRSP2, contains the returns of 202 stocks with a time span of 396 months. Denote the centred monthly excess returns as zt, t = 1, … , 396. The calibration and data generation procedure are outlined as follows.
Fit zt with a three factor model. We apply PCA on the sample covariance of and denote λk and ξk, k = 1, 2, 3, as the top three eigenvalues and corresponding eigenvectors. We estimate loadings and
Calculate ΣB as the sample covariance of the rows of , which is diag(λ1, λ2, λ3). Generate loading matrix B whose rows are draws from i.i.d. N(0, ΣB).
Fit VAR(1) model . Denote the estimate of Φ and calculate Generate ft from the VAR(1) model with f0 = 0, where ηt is generated from i.i.d. N(0, Ση).
Calculate the residual and Σu the sample covariance matrix of . Denote the average of the diagonal entries of Σu. Generate covariates xt from a factor model xt = Bft + ut where the entries in ut are drawn from i.i.d. N(0, ).
Generate the response yt from a sparse linear model The true coefficients are and the nonzero coefficients β1, ⋯ , β10 are drawn from i.i.d. Uniform(2,5). We draw εt from an AR(1) model εt = 0.5εt−1 + γt with γt ~ N(0, 0.3).
The results of the calibrated parameters are presented in Table 1.
Table 1:
Parameters calibrated from S&P 500 returns
| ΣB | Ση | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| 0.5237 | 0 | 0 | 0.1897 | −0.0375 | −0.0223 | 0.9621 | −0.0056 | 0.0182 | |
| 0 | 0.2884 | 0 | 0.0630 | 0.1553 | 0.0206 | −0.0056 | 0.9715 | −0.0078 | 0.246 |
| 0 | 0 | 0.2372 | −0.0432 | 0.0102 | 0.4343 | 0.0182 | −0.0078 | 0.8094 | |
Impacts of Irrepresentable Condition
First, we show LASSO performs poorly in terms of model selection consistency rate when the irrepresentable condition is violated, while FarmSelect can consistently select the correct model. Let n = 100 and p = 500. Denote by When Γ∞ < 1 the irrepresentable condition holds and otherwise it is violated. We simulate 10,000 replications. For each replication, we calculate Γ∞ and apply both LASSO and FarmSelect for model selection. Then we calculate the model selection consistency rate within each small interval around Γ∞ (a nonparametric smoothing). The results are presented in Figure 2. According to Figure 2, both FarmSelect and LASSO have high model selection consistency rate when Γ∞ < 1. This shows FarmSelect does not pay any price under the weak correlation scenario. As Γ∞ grows beyond 1, the correct model selection rate of LASSO drops quickly. When the irrepresentable condition is strongly violated (e.g. Γ∞ > 1.5), the correct model selection rate of LASSO is close to zero. On the contrary, FarmSelect has high selection consistency rates regardless of Γ∞.
Figure 2:

Relationship between model selection consistency rate and irrepresentable condition. Among the 10,000 replications, more than 9,500 replications have Γ∞ > 1 and more than 8,000 replications have Γ∞ > 1.5.
Impacts of sample size
Second, we examine the model selection consistency with a fixed dimensionality and an increasing sample size. We fix p = 500 and let n increase from 50 to 150. For each given sample size, we simulate 200 replications and calculate the model selection consistency rates and the sure screening rates for LASSO, SCAD, elastic net, and FarmSelect, respectively. For the elastic net, we set λ1 = λ2 ≡ λ. The results are presented in Figure 3 (a) and Figure 3 (b). Figure 3 (a) shows that model selection consistency rates of LASSO, SCAD, and elastic net do not enjoy fast convergence to 1 when the sample size increases, while the one of FarmSelect equals to one as long as the sample size exceeds 100. Similar phenomena are observed from sure screening rates. To demonstrate the prediction performance, we report the mean estimation error for each method, which is a good indicator of the prediction error. The estimation errors reported in Figure 3 (c). When the sample size is small, LASSO, SCAD, and elastic net have large estimation errors since they tend to select overfitted models.
Figure 3:

From above to below: (a) Model selection consistency rates with fixed p and increasing n; (b) Sure screening rates with fixed p and increasing n; (c) Mean estimation errors with fixed p and increasing n.
Impacts of dimensionality
Third, we assess the model selection performance when the dimensionality p is growing beyond n and diverging. We fix n = 100 and let p grow torn 200 to 1000. For each given p, we simulate 200 replications and calculate the model selection consistency rate of LASSO, SCAD, elastic net, and FarmSelect respectively. The model selection consistency rates are presented in Figure 4(a). According to Figure 4(a), the model selection consistency rate of FarmSelect stays close to 1 even as p increases, whereas the rates for the other three methods drop quickly. Again, we report the estimation errors in Figure 4(b). As the dimensionality grows, FarmSelect has the least increase in estimation error.
Figure 4:

From above to below: (a) Model selection consistency rates with fixed n and increasing p; (b) Mean estimation errors with fixed n and increasing p.
5.2. Example 2: Logistic regression
We consider the following logistic regression model whose conditional probability function is:
We set sample size n = 300 and dimensionality p = 300, 400, 500. The true coefficients are set to be with β(1) = (6, 5, 4)T. Hence the true model size is 3.
The covariates X ire generated from one of the following three models:
Factor model xt = Bft + ut with K = 3. Factors are generated from a stationary VAR(1) model with f0 = 0. The (i, j)th entry of Φ is set to be 0.5 when i = j and 0.3|i-j| when i ≠ j. We draw B, ut and ηt from the i.i.d. standard Normal distribution.
Equal correlated case. We draw xt from i.i.d. Np(0, Σ), where Σ has diagonal elements 1 and off-diagonal elements 0.4.
Uncorrelated case. We draw xt from i.i.d. Np(0, I)
We compare the model selection performance of FarmSelect with LASSO and simulate 100 replications for each scenario. The model selection performance is measured by the selection consistency rate, sure screening rate and the average size of the selected model. The results are presented in Table 2 below. According to Table 2, FarmSelect pays no price for the uncorrelated case and outperforms LASSO for highly correlated cases.
Table 2:
Model selection results of logistic regression (n = 200)
| Factor model with K = 3 | ||||||
|---|---|---|---|---|---|---|
| FarmSelect | LASSO | |||||
| Selection rate | Screening rate | Average model size | Selection rate | Screening rate | Average model size | |
| p = 300 | 0.91 | 1.00 | 3.22 | 0.22 | 0.98 | 8.13 |
| p = 400 | 0.90 | 0.99 | 3.14 | 0.17 | 0.97 | 7.66 |
| p = 500 | 0.89 | 0.98 | 3.15 | 0.14 | 0.97 | 9.99 |
| Equal correlated case | ||||||
| FarmSelect | LASSO | |||||
| Selection rate | Screening rate | Average model size | Selection rate | Screening rate | Average model size | |
| p = 300 | 0.91 | 1.00 | 3.07 | 0.61 | 0.99 | 4.63 |
| p = 400 | 0.91 | 1.00 | 3.06 | 0.54 | 0.99 | 4.67 |
| p = 500 | 0.87 | 0.99 | 3.05 | 0.55 | 0.99 | 5.45 |
| Uncorrelated case | ||||||
| FarmSelect | LASSO | |||||
| Selection rate | Screening rate | Average model size | Selection rate | Screening rate | Average model size | |
| p = 300 | 1.00 | 1.00 | 3.00 | 0.88 | 1.00 | 4.05 |
| p = 400 | 0.99 | 1.00 | 3.01 | 0.86 | 1.00 | 5.11 |
| p = 500 | 0.99 | 1.00 | 3.02 | 0.85 | 1.00 | 3.57 |
6. Prediction U.S. bond risk premia
In this section, we predict U.S. bond risk premia with a large panel of macroeconomic variables. The response variable is the monthly data of U.S. bond risk premia with a maturity of 2 to 5 years between January 1980 and December 2015 containing 432 data points. The bond risk premia are calculated as the one year return of an n year maturity bond excessing the risk-free rate. The covariates are 128 monthly U.S. macroeconomic variables in the FRED-MD database3 (McCracken and Ng, 2016). The covariates in the FRED-MD dataset are strongly correlated and can be well explained by a few principal components. To see this, we apply principal component analysis to the covariates and draw the scree plot of the top 20 principal components in Figure 5. The scree plot shows the first principal component solely explains more than 60% of the total variance. In addition, the first 5 principal components together explain more than 90% of the total variance.
Figure 5:

Eigenvalues (dotted line) and proportion of variance explained (bar) by the top 20 principal components
We apply one month ahead rolling window prediction with a window size of 120 months. Within each window, we predict the U.S. bond risk premia by a high dimensional linear regression model of dimensionality 128. We compare the proposed FarmSelect method with LASSO in terms of model selection and prediction. Besides, we include the principal component regression (PCR) in the competition of prediction. Instead of using the covariates as regressors directly, PCR regresses the dependent variable on the leading principal components of covariates. The FarmSelect is implemented by the FarmSelect R package with default settings. To be specific, the loss function is L1, the number of factors is estimated by the modified eigen-ratio method and the regularized parameter is selected by multi-fold cross-validation. The LASSO method is implemented by the glmnet R package. The PCR method is implemented by the pls package in R.
The prediction performance is evaluated by the out-of-sample R2 which is defined as
where yt is the response variable realized at time t, is the predicted yt by one of the three methods above using the previous 120 months data, and is the sample mean of the previous 120 months responses (yt−120, ⋯, yt−1), which represents a naive predictor. For FarmSelect and LASSO, we also report the average selected model size for prediction at time t ∈ {121, ⋯ , 432}. The out-of-sample R2 and average selected model size are reported in Table 3. The results in Table 3 show that FarmSelect selects parsimonious models and achieves the highest R2’s in all scenarios. On the contrary, LASSO may select redundant models as it ignores correlations among covariates. To see this, we rank the covariates according to the selected frequency. The top 5 selected covariates and their frequencies are listed in Table 4. According to Table 4, LASSO tends to select some highly correlated covariates simultaneously. For instance, LASSO includes both Civilians Unemployed for 5-14 Weeks and Civilians Unemployed for 15-26 Weeks due to the strong correlation between them.
Table 3:
Out of sample R2 and average selected model size
| Maturity of Bond | Out of sample R2 | Average model size | |||
|---|---|---|---|---|---|
| FarmSelect | LASSO | PCR | FarmSelect | Lasso | |
| 2 Years | 0.530 | 0.509 | 0.462 | 5.96 | 6.86 |
| 3 Years | 0.526 | 0.523 | 0.483 | 5.71 | 7.09 |
| 4 Years | 0.484 | 0.476 | 0.470 | 5.53 | 6.81 |
| 5 Years | 0.481 | 0.475 | 0.477 | 5.90 | 6.84 |
Table 4:
2 years Maturity: Top 5 variables with highest selection frequency
| FarmSelect | ||
|---|---|---|
| Rank | Name | Frequency |
| 1 | 3-Month Commercial Paper Minus FEDFUNDS | 133 |
| 2 | Civilians Unemployed for 15-26 Weeks | 84 |
| 3 | Housing Starts, Midwest | 71 |
| 4 | Industrial Production: Durable Consumer Goods | 70 |
| 5 | Moody’s Baa Corporate Bond Minus FEDFUNDS | 65 |
| LASSO | ||
| Rank | Name | Frequency |
| 1 | Total Reserves of Depository Institutions | 209 |
| 2 | Civilians Unemployed for 5-14 Weeks | 185 |
| 3 | Housing Starts, Midwest | 110 |
| 4 | 3-Month Commercial Paper Minus FEDFUNDS | 96 |
| 5 | Civilians Unemployed for 15-26 Weeks | 88 |
Supplementary Material
7. Acknowledgement
This research was supported in part by the National Science Foundation (NSF) grants DMS-1662139 and DMS-1712591, by the Office of Naval Research (ONR) grant N00014-19-1-2120, and by the National Institutes of Health (NIH) grant 2R01-GM072611-13.
Footnotes
Publisher's Disclaimer: This is a PDF file of an unedited manuscript that has been accepted for publication. As a service to our customers we are providing this early version of the manuscript. The manuscript will undergo copyediting, typesetting, and review of the resulting proof before it is published in its final form. Please note that during the production process errors may be discovered which could affect the content, and all legal disclaimers that apply to the journal pertain.
We use (p − 1) instead of p to denote the number of covariates so that there are p coefficients including the intercept. In addition, we center the covariates if they could have non-zero means. Whether this step is done or not does not affect the estimation of but does affect the intercept
Center for Research in Security Prices Database, see http://www.crsp.com/ for more details.
The FRED-MD is a monthly economic database updated by the Federal Reserve Bank of St. Louis which is publicly available at http.//research.stlouisfed.org/econ/mccracken/sel/.
References
- Akaike H (1973). Information theory and an extension of the maximum likelihood principle. In Second International Symposium in Informa- tion Theory, (Petroc BN and Caski F, eds.). Akademiai Kiado, Bu- dapest, 276–281. [Google Scholar]
- Ahn SC and Horenstein AR (2013). Eigenvalue ratio test for the number of factors. Econometrica, 81, 1203–1227. [Google Scholar]
- Bai J (2003). Inferential theory for factor models of large dimensions. Econometrica, 71, 135–171. [Google Scholar]
- Montgomery AL, Zarnowitz V, Tsay RS and Tiao GC (1998). Forecasting the US unemployment rate. Journal of the American Statistical Association, 93(442), 478–493. [Google Scholar]
- Liu LM, Hudak GB, Box GE, Muller ME and Tiao GC (1992). Forecasting and time series analysis using the SCA statistical system, Vol 1(2), DeKalb, IL: Scientific Computing Associates. [Google Scholar]
- Box GE and Tiao GC (1976). Comparison of forecast and actuality. Journal of the Royal Statistical Society: Series C (Applied Statistics), 25(3), 195–200. [Google Scholar]
- Bai J and Ng S (2002). Determining the number of factors in approximate factor models. Econometrica, 70, 191–221. [Google Scholar]
- Bickel PJ, Ritov YA and Tsybakov AB (2009). Simultaneous analysis of Lasso and Dantzig selector. The Annals of statistics, 37, 1705–1732. [Google Scholar]
- Boyd S, Parikh N, Chu E, Peleato B, and Eckstein J (2011). Distributed optimization and statistical learning via the alternating direction method of multipliers. Foundations and Trends® in Machine Learning, 3, 1–122. [Google Scholar]
- Candes E and Tao T (2007). The Dantzig selector: Statistical estimation when p is much larger than n. The Annals of Statistics, 35, 2313–2351. [Google Scholar]
- Chang J, Guo B and Yao Q (2015). High dimensional stochastic regression with latent factors, endogeneity and nonlinearity. Journal of Econometrics, 189, 297–312. [Google Scholar]
- Chamberlain G and Rothschild M (1982). Arbitrage, factor structure, and mean-variance analysis on large asset markets. Econometrica, 51, 1305–1324. [Google Scholar]
- Choi BS (1992). ARMA Model Identification, Springer-Verlag, New York. [Google Scholar]
- Donoho DL and Elad M (2003). Optimally sparse representation in general (nonorthogonal) dictionaries via l1 minimization. Proceedings of the National Academy of Sciences, 100, 2197–2202. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Efron B, Hastie T, Johnstone I and Tibshirani R (2004). Least angle regression. The Annals of statistics, 32, 407–499. [Google Scholar]
- Fan J, and Li R (2001). Variable selection via nonconcave penalized likelihood and its oracle properties. Journal of the American statistical Association, 96, 1348–1360. [Google Scholar]
- Fan J, Liao Y and Mincheva M (2013). Large covariance estimation by thresholding principal orthogonal complements (with discussion). Journal of the Royal Statistical Society, Series B, 75, 603–680. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Fan J and Lv J (2008). Sure independence screening for ultrahigh dimen, :onal feature space. Journal of the Royal Statistical Society, Series B, 70, 849–911. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Fan J and Peng H (2004). On non-concave penalized likelihood with diverging number of parameters. Annals of Statistics, 32, 928–961. [Google Scholar]
- Fan J and Song R (2009). Sure Independence Screening in Generalized Linear Models with NP-Dimensionality. Annals of Statistics, 38,3567–3604. [Google Scholar]
- Fan J, Wang K, Zhong Y, and Zhu Z (2019+). Robust high dimensional factor models with applications to statistical machine learning. Statistical Science, invited. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Forni M, Hallin M, Lippi Mand Reichlin L (2005). The generalized dynamic factor model: one-sided estimation and forecasting. Journal of the American Statistical Association, 100, 830–840. [Google Scholar]
- Friedman J, Hastie T and Tibshirani R (2010). Regularization paths for generalized linear models via coordinate descent. Journal of statistical software, 33, 1–22. [PMC free article] [PubMed] [Google Scholar]
- Hallin M and Liška R (2007). Determining the number of factors in the general dynamic factor model. Journal of the American Statistical Association, 102, 603–617. [Google Scholar]
- Johnstone IM and Lu AY (2009). On consistency and sparsity for principal components analysis in high dimensions. Journal of the American Statistical Association, 104, 682–693. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Kneip A and Sarda P (2011). Factor models and variable selection in high-dimensional regression analysis. The Annals of Statistics, 39, 2410–2447. [Google Scholar]
- Lam C and Yao Q (2012). Factor modeling for high dimensional time-series: inference for the number of factors. a nnals of Statistics, 40, 694–726. [Google Scholar]
- Lawley D and Maxwell A (1971). Factor analysis as a statistical method, Butterworths, London. [Google Scholar]
- Lee JD, Sun Y and Taylor JE (2015). On model selection consistency of regularized M-estimators. Electronic Journal of Statistics, 9, 608–642. [Google Scholar]
- Luo R, Wang H and Tsai CL (2009). Contour projected dimension reduction. Ann. Statist, 37, 3743–3778. [Google Scholar]
- Ludvigson S and Ng S (2009). Macro factors in bond risk premia. Review of Financial Studies, 22, 5027–5067. [Google Scholar]
- McCracken M and Ng S (2016). FRED-MD: A Monthly Database for Macroeconomic Research. Journal of Business & Economic Statistics, 34, 574–589. [Google Scholar]
- Meinshausen N and Bühlmann P (2006). High-dimensional graphs and variable selection with the lasso. The annals of statistics, 34, 1436–1462. [Google Scholar]
- Merlevède Florence and Peligrad Magda and Rio Emmanuel (2011). A Bernstein type inequality and moderate deviations for weakly ‘°pendent sequences. Probability Theory and Related Fields, 151, 435–474. [Google Scholar]
- Oberthuer A, Berthold F, Warnat P, Hero B, Kahlert Y, Spitz R, Ernestus K, König R, Haas S,, Eils R, and Schwab M (2006). Customized oligonucleotide microarray gene expression-based classification of neuroblastoma patients outperforms current clinical risk stratification. Journal of clinical oncology, 24, 5070–5078. [DOI] [PubMed] [Google Scholar]
- Schwarz GE (1978). Estimating the dimension of a model. The Annals of statistics, 6, 461–464. [Google Scholar]
- Shen D, Shen H, Zhu H and Marron JS (2016). The statistics and mathematics of high dimension low sample size asymptotics. Statistica Sinica, 26, 1747–1770. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Stock J and Watson M (2002). Forecasting using principal components from a large number of predictors. Journal of the American Statistical Association, 97, 1167–1179. [Google Scholar]
- Tiao GC, and Tsay RS (1989). Model specification in multivariate time series. Journal of the Royal Statistical Society. Series B, 51, 157–213. [Google Scholar]
- Tsay RS, and Tiao GC (1985). Use of canonical analysis in time series model identification. Biometrika, 72, 299–315. [Google Scholar]
- Tibshirani R (1996). Regression shrinkage and selection via the Lasso. Journal of the Royal Statistical Society: Series B, 58, 267–288. [Google Scholar]
- Van De Geer SA (2008). High-dimensional generalized linear models and lasso. The Annals of Statistics, 36, 614–645. [Google Scholar]
- Wainwright MJ (2009). Sharp thresholds for high-dimensional and noisy sparsity recovery using-constrained quadratic programming (lasso). quadratic programming (Lasso) IEEE transactions on information theory, 55, 2183–2202. [Google Scholar]
- Wang H (2012). Factor profiled sure independence screening. Biometrika, 99, 15–28. [Google Scholar]
- Wang W and Fan J (2017). Asymptotics of Empirical Eigen-structure for Ultra-high Dimensional Spiked Covariance Model. Annals of Statistics, 45, 1342–1374. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Wang X and Leng C (2016). High dimensional ordinary least squares projection for screening variables. Journal of the Royal Statistical Society: Series B (Statistical Methodology), 78, 589–611. [Google Scholar]
- Zhang CH (2010). Nearly unbiased variable selection under minimax concave penalty. The Annals of Statistics, 38, 894–942. [Google Scholar]
- Zhao P and Yu B (2006). On model selection consistency of Lasso. Journal of Machine Learning Research, 7, 2541–2563. [Google Scholar]
- Zou H and Hastie T (2005). Regularization and variable selection via the elastic net. Journal of the Royal Statistical Society: Series B (Statistical Methodology), 67, 301–320. [Google Scholar]
- Zou H and Li R (2008). One-step sparse estimates in nonconcave penalized likelihood models. The Annals of statistics, 36, 1509–1533. [DOI] [PMC free article] [PubMed] [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
