A significance test for the lasso

Richard Lockhart, Jonathan Taylor, Ryan J. Tibshirani, Robert Tibshirani

Introduction.

where λ≥0\lambda\geq 0 is a tuning parameter, controlling the level of sparsity in β^\hat{\beta}. Here, we assume that the columns of XX are in general position in order to ensure uniqueness of the lasso solution [this is quite a weak condition, to be discussed again shortly; see also Tibshirani 2013].

There has been a considerable amount of recent work dedicated to the lasso problem, both in terms of computation and theory. A comprehensive summary of the literature in either category would be too long for our purposes here, so we instead give a short summary: for computational work, some relevant contributions are Friedman et al. 2007, Beck and Teboulle 2009, Friedman, Hastie and Tibshirani 2010, Becker, Bobin and Candès 2011, Boyd et al. 2011, Becker, Candès and Grant 2011; and for theoretical work see, for example, Greenshtein and Ritov 2004, Fuchs 2005, Donoho 2006, Candes and Tao 2006, Zhao and Yu 2006, Wainwright 2009, Candès and Plan 2009. Generally speaking, theory for the lasso

is focused on bounding the estimation error ∥Xβ^−Xβ∗∥22\|X\hat{\beta}-X\beta^{*}\|_{2}^{2} or ∥β^−β∗∥22\|\hat{\beta}-\beta^{*}\|_{2}^{2}, or ensuring exact recovery of the underlying model, supp⁡(β^)=supp⁡(β∗)\operatorname{supp}(\hat{\beta})=\operatorname{supp}(\beta^{*}) [with supp⁡(⋅)\operatorname{supp}(\cdot) denoting the support function]; favorable results in both respects can be shown under the right assumptions on the generative model (1) and the predictor matrix XX. Strong theoretical backing, as well as fast algorithms, have made the lasso a highly popular tool.

Yet, there are still major gaps in our understanding of the lasso as an estimation procedure. In many real applications of the lasso, a practitioner will undoubtedly seek some sort of inferential guarantees for his or her computed lasso model—but, generically, the usual constructs like pp-values, confidence intervals, etc., do not exist for lasso estimates. There is a small but growing literature dedicated to inference for the lasso, and important progress has certainly been made, with many methods being based on resampling or data splitting; we review this work in Section 2.5. The current paper focuses on a significance test for lasso models that does not employ resampling or data splitting, but instead uses the full data set as given, and proposes a test statistic that has a simple and exact asymptotic null distribution.

Section 2 defines the problem that we are trying to solve, and gives the details of our proposal—the covariance test statistic. Section 3 considers an orthogonal predictor matrix XX, in which case the statistic greatly simplifies. Here, we derive its Exp⁡(1)\operatorname{Exp}(1) asymptotic distribution using relatively simple arguments from extreme value theory. Section 4 treats a general (nonorthogonal) XX, and under some regularity conditions, derives an Exp⁡(1)\operatorname{Exp}(1) limiting distribution for the covariance test statistic, but through a different method of proof that relies on discrete-time Gaussian processes. Section 5 empirically verifies convergence of the null distribution to Exp⁡(1)\operatorname{Exp}(1) over a variety of problem setups. Up until this point, we have assumed that the error variance σ2\sigma^{2} is known; in Section 6, we discuss the case of unknown σ2\sigma^{2}. Section 7 gives some real data examples. Section 8 covers extensions to the elastic net, generalized linear models, and the Cox model for survival data. We conclude with a discussion in Section 9.

Significance testing in linear modeling.

Classic theory for significance testing in linear regression operates on two fixed nested models. For example, if MM and M∪{j}M\cup\{j\} are fixed subsets of {1,…,p}\{1,\ldots,p\}, then to test the significance of the jjth predictor in the model (with variables in) M∪{j}M\cup\{j\}, one naturally uses the chi-squared test, which computes the drop in residual sum of squares (RSS) from regression on M∪{j}M\cup\{j\} and MM,

and compares this to a χ12\chi_{1}^{2} distribution. (Here, σ2\sigma^{2} is assumed to be known; when σ2\sigma^{2} is unknown, we use the sample variance in its place, which results in the FF-test, equivalent to the tt-test, for testing the significance of variable jj.)

Often, however, one would like to run the same test for MM and M∪{j}M\cup\{j\} that are not fixed, but the outputs of an adaptive or greedy procedure. Unfortunately, adaptivity invalidates the use of a χ12\chi_{1}^{2} null distribution for the statistic (3). As a simple example, consider forward stepwise regression: starting with an empty model M=∅M=\varnothing, we enter predictors one at a time, at each step choosing the predictor jj that gives the largest drop in residual sum of squares. In other words, forward stepwise regression chooses jj at each step in order to maximize RjR_{j} in (3), over all j∉Mj\notin M. Since RjR_{j} follows a χ12\chi_{1}^{2} distribution under the null hypothesis for each fixed jj, the maximum possible RjR_{j} will clearly be stochastically larger than χ12\chi_{1}^{2} under the null. Therefore, using a chi-squared test to evaluate the significance of a predictor entered by forward stepwise regression would be far too liberal (having type I error much larger than the nominal level). Figure 1(a) demonstrates this point by displaying the quantiles of R1R_{1} in forward stepwise regression (the chi-squared statistic for the first predictor to enter) versus those of a χ12\chi_{1}^{2} variate, in the fully null case (when β∗=0\beta^{*}=0). A test at the 5%5\% level, for example, using the χ12\chi^{2}_{1} cutoff of 3.843.84, would have an actual type I error of about 39%39\%.

The failure of standard testing methodology when applied to forward stepwise regression is not an anomaly—in general, there seems to be no direct way

to carry out the significance tests designed for fixed linear models in an adaptive setting. It is important to mention that a simple application of sample splitting can yield proper pp-values for an adaptive procedure like forward stepwise: for example, run forward stepwise regression on one-half of the observations to construct a sequence of models, and use the other half to evaluate significance via the usual chi-squared test. Some of the related work mentioned in Section 2.5 does essentially this, but with more sophisticated splitting schemes. Our proposal uses the entire data set as given, and we do not consider sample splitting or resampling techniques. Aside from adding a layer of complexity, the use of sample splitting can result in a loss of power in significance testing. Our aim is hence to provide a (new) significance test for the predictor variables chosen adaptively by the lasso, which we describe next.

Before defining our statistic, we briefly review some properties of the lasso path.

The path β^(λ)\hat{\beta}(\lambda) is a continuous and piecewise linear function of λ\lambda, with knots (changes in slope) at values λ1≥λ2≥⋯≥λr≥0\lambda_{1}\geq\lambda_{2}\geq\cdots\geq\lambda_{r}\geq 0 (these knots depend on y,Xy,X).

At λ=∞\lambda=\infty, the solution β^(∞)\hat{\beta}(\infty) has no active variables (i.e., all variables have zero coefficients); for decreasing λ\lambda, each knot λk\lambda_{k} marks the entry or removal of some variable from the current active set (i.e., its coefficient becomes nonzero or zero, resp.). Therefore, the active set, and also the signs of active coefficients, remain constant in between knots.

At any point λ\lambda in the path, the corresponding active set A=supp⁡(β^(λ))A=\operatorname{supp}(\hat{\beta}(\lambda)) of the lasso solution indexes a linearly independent set of predictor variables, that is, rank⁡(XA)=∣A∣\operatorname{rank}(X_{A})=|A|, where we use XAX_{A} to denote the columns of XX in AA.

For a matrix XX satisfying the positive cone condition (a restrictive condition that covers, e.g., orthogonal matrices), there are no variables removed from the active set as λ\lambda decreases and, therefore, the number of knots is pp.

We can now precisely define the problem that we are trying to solve: at a given step in the lasso path (i.e., at a given knot), we consider testing the significance of the variable that enters the active set. To this end, we propose a test statistic defined at the kkth step of the path.

We propose the covariance test statistic defined by

Indeed, the natural choice for the tuning parameter in (5) is λ=λk+1\lambda=\lambda_{k+1}: this allows the jjth coefficient to have its fullest effect on the fit Xβ^X\hat{\beta} before the entry of the next variable at λk+1\lambda_{k+1} (or possibly, the deletion of a variable from AA at λk+1\lambda_{k+1}).

that is, TkT_{k} is asymptotically distributed as a standard exponential random variable, given reasonable assumptions on XX and the magnitudes of the nonzero true coefficients. [In some cases, e.g., when we have a strict inclusion A⊋supp⁡(β∗)A\supsetneq\operatorname{supp}(\beta^{*}), the use of an Exp⁡(1)\operatorname{Exp}(1) null distribution is actually conservative, because the limiting distribution of TkT_{k} is stochastically smaller than Exp⁡(1)\operatorname{Exp}(1).] In the above limit, we are considering both n,p→∞n,p\rightarrow\infty; in Section 4, we allow for the possibility p>np>n, the high-dimensional case.

See Figure 1(b) for a quantile–quantile plot of T1T_{1} versus an Exp⁡(1)\operatorname{Exp}(1) variate for the same fully null example (β∗=0\beta^{*}=0) used in Figure 1(a); this shows that the weak convergence to Exp⁡(1)\operatorname{Exp}(1) can be quite fast, as the quantiles are decently matched even for p=10p=10. Before proving this limiting distribution in Sections 3 (for an orthogonal XX) and 4 (for a general XX), we give an example of its application to real data, and discuss issues related to practical usage. We also derive useful alternative expressions for the statistic, present a connection to degrees of freedom, review related work, and finally, discuss the null hypothesis in more detail.

2 Prostate cancer data example and practical issues.

We consider a training set of 67 observations and 8 predictors, the goal being to predict log of the PSA level of men who had surgery for prostate cancer. For more details, see Hastie, Tibshirani and Friedman 2008 and the references therein. Table 1 shows the results of forward stepwise regression and the lasso. Both methods entered the same predictors in the same order. The forward stepwise pp-values are smaller than the lasso pp-values, and would enter four predictors at level 0.050.05. The latter would enter only one or maybe two predictors. However, we know that the forward stepwise pp-values are inaccurate, as they are based on a null distribution that does not account for the adaptive choice of predictors. We now make several remarks.

The above example implicitly assumed that one might stop entering variables into the model when the computed pp-value rose above some threshold. More generally, our proposed test statistic and associated pp-values could be used as the basis for multiple testing and false discovery rate control methods for this problem; we leave this to future work.

In the example, the lasso entered a predictor into the active set at each step. For a general XX, however, a given predictor variable may enter the active set more than once along the lasso path, since it may leave the active set at some point. In this case, we treat each entry as a separate problem. Our test is specific to a step in the path, and not to a predictor variable at large.

One might imagine that such correlation would cause problems for our theory in Sections 3 and 4, which assumes i.i.d. normal errors in the model (1). However, a careful look at the arguments in these sections reveals that the only dependence on yy is through XTyX^{T}y, the inner products of yy with the columns of XX. Furthermore,

which is the same as it would have been without centering (here \mathbh1\mathbh1T\mathbh{1}\mathbh{1}^{T} is the matrix of all 11s, and we used that the columns of XX are centered). Therefore, our arguments in Sections 3 and 4 apply equally well to centered data, and centering has no effect on the asymptotic distribution of TkT_{k}.

By design, the covariance test is applied in a sequential manner, estimating pp-values for each predictor variable as it enters the model along the lasso path. A more difficult problem is to test the significance of any of the active predictors in a model fit by the lasso, at some arbitrary value of the tuning parameter λ\lambda. We discuss this problem briefly in Section 9.

3 Alternate expressions for the covariance statistic.

Here, we derive two alternate forms for the covariance statistic in (5). The first lends some insight into the role of shrinkage, and the second is helpful for the convergence results that we establish in Sections 3 and 4. We rely on some basic properties of lasso solutions; see, for example, Tibshirani and Taylor 2012, Tibshirani 2013. To remind the reader, we are assuming that XX has columns in general position.

For any fixed λ\lambda, if the lasso solution has active set A=supp⁡(β^(λ))A=\operatorname{supp}(\hat{\beta}(\lambda)) and signs sA=sign⁡(β^A(λ))s_{A}=\operatorname{sign}(\hat{\beta}_{A}(\lambda)), then it can be written explicitly (over active variables) as

In the above expression, the first term (XATXA)−1XATy(X_{A}^{T}X_{A})^{-1}X_{A}^{T}y simply gives the regression coefficients of yy on the active variables XAX_{A}, and the second term −λ(XATXA)−1sA-\lambda(X_{A}^{T}X_{A})^{-1}s_{A} can be thought of as a shrinkage term, shrinking the values of these coefficients toward zero. Further, the lasso fitted value at λ\lambda is

where PA=XA(XATXA)−1XATP_{A}=X_{A}(X_{A}^{T}X_{A})^{-1}X_{A}^{T} denotes the projection onto the column space of XAX_{A}, and (XAT)+=XA(XATXA)−1(X_{A}^{T})^{+}=X_{A}(X_{A}^{T}X_{A})^{-1} is the (Moore–Penrose) pseudoinverse of XATX_{A}^{T}.

Using the representation (6) for the fitted values, we can derive our first alternate expression for the covariance statistic in (5). If AA and sAs_{A} are the active set and signs just before the knot λk\lambda_{k}, and jj is the variable added to the active set at λk\lambda_{k}, with sign ss upon entry, then by (6),

and plugging the above two expressions into (5),

Note that the first term above is yT(PA∪{j}−PA)y/σ2=(∥y−PAy∥22−∥y−PA∪{j}y∥22)/σ2y^{T}(P_{A\cup\{j\}}-P_{A})y/\sigma^{2}=(\|y-P_{A}y\|_{2}^{2}-\|y-P_{A\cup\{j\}}y\|_{2}^{2})/\sigma^{2}, which is exactly the chi-squared statistic for testing the significance of variable jj, as in (3). Hence, if A,jA,j were fixed, then without the second term, TkT_{k} would have a χ12\chi_{1}^{2} distribution under the null. But of course A,jA,j are not fixed, and so much like we saw previously with forward stepwise regression, the first term in (2.3) will be generically larger than χ12\chi_{1}^{2}, because jj is chosen adaptively based on its inner product with the current lasso residual vector. Interestingly, the second term in (2.3) adjusts for this adaptivity: with this term, which is composed of the shrinkage factors in the solutions of the two relevant lasso problems (on XX and XAX_{A}), we prove in the coming sections that TkT_{k} has an asymptotic Exp⁡(1)\operatorname{Exp}(1) null distribution. Therefore, the presence of the second term restores the (asymptotic) mean of TkT_{k} to 11, which is what it would have been if A,jA,j were fixed and the second term were missing. In short, adaptivity and shrinkage balance each other out.

This insight aside, the form (2.3) of the covariance statistic leads to a second representation that will be useful for the theoretical work in Sections 3 and 4. We call this the knot form of the covariance statistic, described in the next lemma.

Let AA be the active set just before the kkth step in the lasso path, that is, A=supp⁡(β^(λk))A=\operatorname{supp}(\hat{\beta}(\lambda_{k})), with λk\lambda_{k} being the kkth knot. Also, let sAs_{A} denote

the signs of the active coefficients, sA=sign⁡(β^A(λk))s_{A}=\operatorname{sign}(\hat{\beta}_{A}(\lambda_{k})), jj be the predictor that enters the active set at λk\lambda_{k}, and ss be its sign upon entry. Then, assuming that

or in other words, all coefficients are active in the reduced lasso problem (4) at λk+1\lambda_{k+1} and have signs sAs_{A}, we have

and sA∪{j}s_{A\cup\{j\}} is the concatenation of sAs_{A} and ss.

The proof starts with expression (2.3), and arrives at (9) through simple algebraic manipulations. We defer it until Appendix .1.

When XX satisfies the positive cone condition (which includes XX orthogonal), because no variables ever leave the active set in this case. In fact, for XX orthogonal, it is straightforward to check that C(A,sA,j,s)=1C(A,s_{A},j,s)=1, so Tk=λk(λk−λk+1)/σ2T_{k}=\lambda_{k}(\lambda_{k}-\lambda_{k+1})/\sigma^{2}.

When k=1k=1 (we are testing the first variable to enter), as a variable cannot leave the active set right after it has entered. If k=1k=1 and XX has unit normed columns, ∥Xi∥2=1\|X_{i}\|_{2}=1 for i=1,…,pi=1,\ldots,p, then we again have C(A,sA,j,s)=1C(A,s_{A},j,s)=1 (note that A=∅A=\varnothing), so T1=λ1(λ1−λ2)/σ2T_{1}=\lambda_{1}(\lambda_{1}-\lambda_{2})/\sigma^{2}.

When sA=sign⁡((XA)+y)s_{A}=\operatorname{sign}((X_{A})^{+}y), that is, sAs_{A} contains the signs of the least squares coefficients on XAX_{A}, because the same active set and signs cannot appear at two different knots in the lasso path (applied here to the reduced lasso problem on XAX_{A}).

The first and second scenarios are considered in Sections 3 and 4.1, respectively. The third scenario is actually somewhat general and occurs, for example, when sA=sign⁡((XA)+y)=sign⁡(βA∗)s_{A}=\operatorname{sign}((X_{A})^{+}y)=\operatorname{sign}(\beta_{A}^{*}); in this case, both the lasso and least squares on XAX_{A} recover the signs of the true coefficients. Section 4.2 studies the general XX and k≥1k\geq 1 case, wherein this third scenario is important.

4 Connection to degrees of freedom.

There is an interesting connection between the covariance statistic in (5) and the degrees of freedom of a fitting procedure. In the regression setting (1), for an estimate y^\hat{y} [which we think of as a fitting procedure y^=y^(y)\hat{y}=\hat{y}(y)], its degrees of freedom is typically defined [Efron 1986] as

In words, df⁡(y^)\operatorname{df}(\hat{y}) sums the covariances of each observation yiy_{i} with its fitted value y^i\hat{y}_{i}. Hence, the more adaptive a fitting procedure, the higher this covariance, and the greater its degrees of freedom. The covariance test evaluates the significance of adding the jjth predictor via something loosely like a sample version of degrees of freedom, across two models: that fit on A∪{j}A\cup\{j\}, and that on AA. This was more or less the inspiration for the current work.

Using the definition (10), one can reason [and confirm by simulation, just as in Figure 1(a)] that with kk predictors entered into the model, forward stepwise regression had used substantially more than kk degrees of freedom. But something quite remarkable happens when we consider the lasso: for a model containing kk nonzero coefficients, the degrees of freedom of the lasso fit is equal to kk (either exactly or in expectation, depending on the assumptions) [Efron et al. 2004, Zou, Hastie and Tibshirani 2007, Tibshirani and Taylor 2012]. Why does this happen? Roughly speaking, it is the same adaptivity versus shrinkage phenomenon at play. [Recall our discussion in the last section following the expression (2.3) for the covariance statistic.] The lasso adaptively chooses the active predictors, which costs extra degrees of freedom; but it also shrinks the nonzero coefficients (relative to the usual least squares estimates), which decreases the degrees of freedom just the right amount, so that the total is simply kk.

5 Related work.

There is quite a lot of recent work related to the proposal of this paper. Wasserman and Roeder 2009 propose a procedure for variable selection and pp-value estimation in high-dimensional linear models based on sample splitting, and this idea was extended by Meinshausen, Meier and Bühlmann 2009. Meinshausen and Bühlmann 2010 propose a generic method using resampling called “stability selection,” which controls the expected number of false positive variable selections. Minnier, Tian and Cai 2011 use perturbation resampling-based procedures to approximate the distribution of a general class of penalized parameter estimates. One big difference with the work here: we propose a statistic that utilizes the data as given and does not employ any resampling or sample splitting.

Zhang and Zhang 2014 derive confidence intervals for contrasts of high-dimensional regression coefficients, by replacing the usual score vector with the residual from a relaxed projection (i.e., the residual from sparse linear regression). Bühlmann 2013 constructs pp-values for coefficients in high-dimensional regression models, starting with ridge estimation and then employing a bias correction term that uses the lasso. Even more recently, van de Geer and Bühlmann 2013, Javanmard and Montanari 2013a (Javanmard and Montanari 2013a; Javanmard and Montanari 2013b) all present approaches for debiasing the lasso estimate based on estimates of the inverse covariance matrix of the predictors. (The latter work focuses on the special case of a predictor matrix XX with i.i.d. Gaussian rows; the first two consider a general matrix XX.) These debiased lasso estimates are asymptotically normal, which allows one to compute pp-values both marginally for an individual coefficient, and simultaneously for a group of coefficients. All of the work mentioned in the present paragraph provides a way to make inferential statements about preconceived predictor variables of interest (or preconceived groups of interest); this is in contrast to our work, which instead deals directly with variables that have been adaptively selected by the lasso procedure. We discuss this next.

6 What precisely is the null hypothesis?

The referees of a preliminary version of this manuscript expressed some confusion with regard to the null distribution considered by the covariance test. Given a fixed number of steps k≥1k\geq 1 along the lasso path, the covariance test examines the set of variables AA selected by the lasso before the kkth step (i.e., AA is the current active set not including the variable to be added at the kkth step). In particular, the null distribution being tested is

where β∗\beta^{*} is the true underlying coefficient vector in the model (1). For k=1k=1, we have A=∅A=\varnothing (no variables are selected before the first step), so this reduces to a test of the global null hypothesis: β∗=0\beta^{*}=0. For k>1k>1, the set AA is random (it depends on yy), and hence the null hypothesis in (11) is itself a random event. This makes the covariance test a conditional hypothesis test beyond the first step in the path, as the null hypothesis that it considers is indeed a function of the observed data. Statements about its null distribution must therefore be made conditional on the event that A⊇supp⁡(β∗)A\supseteq\operatorname{supp}(\beta^{*}), which is precisely what is done in Sections 3.2 and 4.2.

Compare the null hypothesis in (11) to a null hypothesis of the form

where S⊆{1,…,p}S\subseteq\{1,\ldots,p\} is a fixed subset. The latter hypothesis, in (12), describes the setup considered by Zhang and Zhang 2014, Bühlmann 2013, van de Geer and Bühlmann 2013, Javanmard and Montanari 2013a (Javanmard and Montanari 2013a; Javanmard and Montanari 2013b). At face value, the hypotheses (11) and (12) may appear similar [the test in (11) looks just like that in (12) with S={1,…,p}∖AS=\{1,\ldots,p\}\setminus A], but they are fundamentally very different. The difference is that the null hypothesis in (11) is random, whereas that in (12) is fixed; this makes the covariance test a conditional hypothesis test, while the tests constructed in all of the aforementioned work are traditional (unconditional) hypothesis tests. It should be made clear that the goal of our work and these works also differ. Our test examines an adaptive subset of variables AA deemed interesting by the lasso procedure; for such a goal, it seems necessary to consider a random null hypothesis, as theory designed for tests of fixed hypotheses would not be valid here. In principle, fixed hypothesis tests can be used along with the appropriate correction for multiple comparisons in order to test a random null hypotheses. Aside from being conservative, it is unclear how to efficiently carry out such a procedure when the random null hypothesis consists of a group of coefficients (as opposed to a single one). The main goal of Zhang and Zhang 2014, Bühlmann 2013, van de Geer and Bühlmann 2013, Javanmard and Montanari 2013a (Javanmard and Montanari 2013a; Javanmard and Montanari 2013b), it appears, is to construct a new set of variables, say A~\widetilde{A}, based on testing the hypotheses in (12) with S={j}S=\{j\} for j=1,…,pj=1,\ldots,p. Though the construction of this new set A~\widetilde{A} may have started from a lasso estimate, it need not be true that A~\widetilde{A} matches the lasso active set AA, and ultimately it is this new set A~\widetilde{A} (and inferential statements concerning A~\widetilde{A}) that these authors consider the point of interest.

An orthogonal predictor matrix XX.

We examine the special case of an orthogonal predictor matrix XX, that is, one that satisfies XTX=IX^{T}X=I. Even though the results here can be seen as special cases of those for a general XX in Section 4, the arguments in the current orthogonal XX case rely on relatively straightforward extreme value theory and are hence much simpler than their general XX counterparts (which analyze the knots in the lasso path via Gaussian process theory). Furthermore, the Exp⁡(1)\operatorname{Exp}(1) limiting distribution for the covariance statistic translates in the orthogonal case to a few interesting and previously unknown (as far as we can tell) results on the order statistics of independent standard χ1\chi_{1} variates. For these reasons, we discuss the orthogonal XX case in detail.

As noted in the discussion following Lemma 1 (see the first point), for an orthogonal XX, we know that the covariance statistic for testing the entry of the variable at step kk in the lasso path is

Again using orthogonality, we rewrite ∥y−Xβ∥22=∥XTy−β∥22+C\|y-X\beta\|_{2}^{2}=\|X^{T}y-\beta\|_{2}^{2}+C for a constant CC (not depending on β\beta) in the criterion in (2), and then we can see that the lasso solution at any given value of λ\lambda has the closed-form:

Letting Uj=XjTyU_{j}=X_{j}^{T}y, j=1,…,pj=1,\ldots,p, the knots in the lasso path are simply the values of λ\lambda at which the coefficients become nonzero (i.e., cease to be thresholded),

where ∣U(1)∣≥∣U(2)∣≥⋯≥∣U(p)∣|U_{(1)}|\geq|U_{(2)}|\geq\cdots\geq|U_{(p)}| are the order statistics of ∣U1∣,…,∣Up∣|U_{1}|,\ldots,|U_{p}| (somewhat of an abuse of notation). Therefore,

Next, we study the special case k=1k=1, the test for the first predictor to enter the active set along the lasso path. We then examine the case k≥1k\geq 1, the test at a general step in the lasso path.

Consider the covariance test statistic for the first predictor to enter the active set, that is, for k=1k=1,

We are interested in the distribution of T1T_{1} under the null hypothesis; since we are testing the first predictor to enter, this is

Under the null, U1,…,UpU_{1},\ldots,U_{p} are i.i.d., Uj∼N(0,σ2)U_{j}\sim N(0,\sigma^{2}), and so ∣U1∣/σ,…,∣Up∣/σ|U_{1}|/\sigma,\ldots,|U_{p}|/\sigma follow a χ1\chi_{1} distribution (absolute value of a standard Gaussian). That T1T_{1} has an asymptotic Exp⁡(1)\operatorname{Exp}(1) null distribution is now given by the next result.

Let V1≥V2≥⋯≥VpV_{1}\geq V_{2}\geq\cdots\geq V_{p} be the order statistics of an independent sample of χ1\chi_{1} variates (i.e., they are the sorted absolute values of an independent sample of standard Gaussian variates). Then

This lemma reveals a remarkably simple limiting distribution for the largest of independent χ1\chi_{1} random variables times the gap between the largest two; we skip its proof, as it is a special case of the following generalization.

If V1≥V2≥⋯≥VpV_{1}\geq V_{2}\geq\cdots\geq V_{p} are the order statistics of an independent sample of χ1\chi_{1} variates, then for any fixed k≥1k\geq 1,

where Φ\Phi is the standard normal CDF. We first compute

the last equality using Mills’ ratio. Theorem 2.2.1 in de Haan and Ferreira 2006 then implies that, for constants ap=F−1(1−1/p)a_{p}=F^{-1}(1-1/p) and bp=pF′(ap)b_{p}=pF^{\prime}(a_{p}),

where E0E_{0} is a standard exponential variate, so −log⁡E0-\log{E_{0}} has the standard (or type I) extreme value distribution. Hence, according to Theorem 3 in Weissman 1978, for any fixed k≥1k\geq 1, the random variables W0=bp(Vk+1−ap)W_{0}=b_{p}(V_{k+1}-a_{p}) and Wi=bp(Vi−Vi+1)W_{i}=b_{p}(V_{i}-V_{i+1}), i=1,…,ki=1,\ldots,k, converge jointly:

where G0,E1,…,EkG_{0},E_{1},\ldots,E_{k} are independent, G0G_{0} is Gamma distributed with scale parameter 1 and shape parameter kk, and E1,…,EkE_{1},\ldots,E_{k} are standard exponentials. Now note that

We claim that ap/bp→1a_{p}/b_{p}\rightarrow 1; this would give the desired result as the second term converges to zero, using bp→∞b_{p}\rightarrow\infty. Writing ap,bpa_{p},b_{p} more explicitly, we see that 1−1/p=2Φ(ap)−11-1/p=2\Phi(a_{p})-1, that is, 1−Φ(ap)=1/(2p)1-\Phi(a_{p})=1/(2p), and bp=2pϕ(ap)b_{p}=2p\phi(a_{p}). Using Mills’ inequalities,

Since ap→∞a_{p}\rightarrow\infty, this means that bp/ap→1b_{p}/a_{p}\rightarrow 1, completing the proof.

Practically, Lemma 3 tells us that under the global null hypothesis y∼N(0,σ2)y\sim N(0,\sigma^{2}), comparing the covariance statistic TkT_{k} at the kkth step of the lasso path to an Exp⁡(1)\operatorname{Exp}(1) distribution is increasingly conservative [at the first step, T1T_{1} is asymptotically Exp⁡(1)\operatorname{Exp}(1), at the second step, T2T_{2} is asymptotically Exp⁡(1/2)\operatorname{Exp}(1/2), at the third step, T3T_{3} is asymptotically Exp⁡(1/3)\operatorname{Exp}(1/3), and so forth]. This progressive conservatism is favorable, if we place importance on parsimony in the fitted model: we are less and less likely to incur a false rejection of the null hypothesis as the size of the model grows. Moreover, we know that the test statistics T1,T2,…T_{1},T_{2},\ldots at successive steps are independent, and hence so are the corresponding pp-values; from the point of view of multiple testing corrections, this is nearly an ideal scenario.

Of real interest is the distribution of TkT_{k}, k≥1k\geq 1, not under the global null hypothesis, but rather, under the weaker null hypothesis that all variables excluded from the current lasso model are truly inactive (i.e., they have zero coefficients in the true model). We study this in next section.

2 A general step, k≥1k\geq 1.

We suppose that exactly k0k_{0} components of the true coefficient vector β∗\beta^{*} are nonzero, and consider testing the entry of the predictor at step k=k0+1k=k_{0}+1. Let A∗=supp⁡(β∗)A^{*}=\operatorname{supp}(\beta^{*}) denote the true active set (so k0=∣A∗∣k_{0}=|A^{*}|), and let BB denote the event that all truly active variables are added at steps 1,…,k01,\ldots,k_{0},

We show that under the null hypothesis (i.e., conditional on BB), the test statistic Tk0+1T_{k_{0}+1} is asymptotically Exp⁡(1)\operatorname{Exp}(1), and further, the test statistic Tk0+dT_{k_{0}+d} at a future step k=k0+dk=k_{0}+d is asymptotically Exp⁡(1/d)\operatorname{Exp}(1/d).

The basic idea behind our argument is as follows: if we assume that the nonzero components of β∗\beta^{*} are large enough in magnitude, then it is not hard to show (relying on orthogonality, here) that the truly active predictors are added to the model along the first k0k_{0} steps of the lasso path, with probability tending to one. The test statistic at the (k0+1)(k_{0}+1)st step and beyond would therefore depend on the order statistics of ∣Ui∣|U_{i}| for truly inactive variables ii, subject to the constraint that the largest of these values is smaller than the smallest ∣Uj∣|U_{j}| for truly active variables jj. But with our strong signal assumption, that is, that the nonzero entries of β∗\beta^{*} are large in absolute value, this constraint has essentially no effect, and we are back to studying the order statistics from a χ1\chi_{1} distribution, as in the last section. This is made precise below.

The same convergence in distribution holds conditionally on BB.

Note that Uj∼N(βj∗,σ2)U_{j}\sim N(\beta^{*}_{j},\sigma^{2}), independently for j=1,…,pj=1,\ldots,p. For j∈A∗j\in A^{*},

Hence, we are essentially back in the setting of the last section, and the desired convergence result follows from the same arguments as those for Lemma 3.

A general predictor matrix XX.

In this section, we consider a general predictor matrix XX, with columns in general position. Recall that our proposed covariance test statistic (5) is closely intertwined with the knots λ1≥⋯≥λr\lambda_{1}\geq\cdots\geq\lambda_{r} in the lasso path, as it was defined in terms of difference between fitted values at successive knots. Moreover, Lemma 1 showed that (provided there are no sign changes in the reduced lasso problem over [λk+1,λk][\lambda_{k+1},\lambda_{k}]) this test statistic can be expressed even more explicitly in terms of the values of these knots. As was the case in the last section, this knot form is quite important for our analysis here. Therefore, it is helpful to recall [Efron et al. 2004; Tibshirani 2013] the precise formulae for the knots in the lasso path. If AA denotes the active set and sAs_{A} denotes the signs of active coefficients at a knot λk\lambda_{k},

then the next knot λk+1\lambda_{k+1} is given by

where recall PA=XA(XATXA)−1XATP_{A}=X_{A}(X_{A}^{T}X_{A})^{-1}X_{A}^{T}, and (XAT)+=XA(XATXA)−1(X_{A}^{T})^{+}=X_{A}(X_{A}^{T}X_{A})^{-1}; and

As we did in Section 3 with the orthogonal XX case, we begin by studying the asymptotic distribution of the covariance statistic in the special case k=1k=1 (i.e., the first model along the path), wherein the expressions for the next knot (14), (15), (16) greatly simplify. Following this, we study the more difficult case k≥1k\geq 1. For the sake of readability, we defer the proofs and most technical details until the Appendix.

We assume here that XX has unit normed columns: ∥Xi∥2=1\|X_{i}\|_{2}=1, for i=1,…,pi=1,\ldots,p; we do this mostly for simplicity of presentation, and the generalization to a matrix XX whose columns are not unit normed is given in the next section (though the exponential limit is now a conservative upper bound). As per our discussion following Lemma 1 (see the second point), we know that the first predictor to enter the active set along the lasso path cannot leave at the next step, so the constant sign condition (8) holds, and by Lemma 1 the covariance statistic for testing the entry of the first variable can be written as

(the leading factor CC being equal to one since we assumed that XX has unit normed columns). Now let Uj=XjTyU_{j}=X_{j}^{T}y, j=1,…,pj=1,\ldots,p, and R=XTXR=X^{T}X. With λ0=∞\lambda_{0}=\infty, we have A=∅A=\varnothing, and trivially, no variables can leave the active set. The first knot is hence given by (15), which can be expressed as

Letting j1,s1j_{1},s_{1} be the first variable to enter and its sign (i.e., they achieve the maximum in the above expression), and recalling that j1j_{1} cannot leave the active set immediately after it has entered, the second knot is again given by (15), written as

The general position assumption on XX implies that ∣Rj,j1∣<1|R_{j,j_{1}}|<1, and so 1−ss1Rj,j1>01-ss_{1}R_{j,j_{1}}>0, all j≠j1j\neq j_{1}, s∈{−1,1}s\in\{-1,1\}. It is easy to show then that the indicator inside the maximum above can be dropped, and hence

Our goal now is to calculate the asymptotic distribution of T1=λ1(λ1−λ2)/σ2T_{1}=\lambda_{1}(\lambda_{1}-\lambda_{2})/\sigma^{2}, with λ1\lambda_{1} and λ2\lambda_{2} as above, under the null hypothesis; to be clear, since we are testing the significance of the first variable to enter along the lasso path, the null hypothesis is

The strategy that we use here for the general XX case—which differs from our extreme value theory approach for the orthogonal XX case—is to treat the quantities inside the maxima in expressions (17), (18) for λ1,λ2\lambda_{1},\lambda_{2} as discrete-time Gaussian processes. First, we consider the zero mean Gaussian process

We can easily compute the covariance function of this process:

where the expectation is taken over the null distribution in (19). From (17), we know that the first knot is simply

In addition to (20), we consider the process

An important property: for fixed j1,s1j_{1},s_{1}, the entire process h(j1,s1)(j,s)h^{(j_{1},s_{1})}(j,s) is independent of g(j1,s1)g(j_{1},s_{1}). This can be seen by verifying that

and noting that g(j1,s1)g(j_{1},s_{1}) and h(j1,s1)(j,s)h^{(j_{1},s_{1})}(j,s), all j≠j1j\neq j_{1}, s∈{−1,1}s\in\{-1,1\}, are jointly normal. Now define

and from the above we know that for fixed j1,s1j_{1},s_{1}, M(j1,s1)M(j_{1},s_{1}) is independent of g(j1,s1)g(j_{1},s_{1}). If j1,s1j_{1},s_{1} are instead treated as random variables that maximize g(j,s)g(j,s) (the argument maximizers being almost surely unique), then from (18) we see that the second knot is λ2=M(j1,s1)\lambda_{2}=M(j_{1},s_{1}). Therefore, to study the distribution of T1=λ1(λ1−λ2)/σ2T_{1}=\lambda_{1}(\lambda_{1}-\lambda_{2})/\sigma^{2}, we are interested in the random variable

It turns out that this event, which concerns the argument maximizers of gg, can be rewritten as an event concerning only the relative values of gg and MM [see Taylor, Takemura and Adler 2005 for the analogous result for continuous-time processes].

With g,Mg,M as defined in (20), (21), (22), we have

This is an important realization because the dual representation {g(j1,s1)>M(j1,s1)}\{g(j_{1},s_{1})>M(j_{1},s_{1})\} is more tractable, once we partition the space over the possible argument minimizers j1,s1j_{1},s_{1}, and use the fact that M(j1,s1)M(j_{1},s_{1}) is independent of g(j1,s1)g(j_{1},s_{1}) for fixed j1,s1j_{1},s_{1}. In this vein, we express the distribution of T1=λ1(λ1−λ2)/σ2T_{1}=\lambda_{1}(\lambda_{1}-\lambda_{2})/\sigma^{2} in terms of the sum

The terms in the above sum can be simplified: dropping for notational convenience the dependence on j1,s1j_{1},s_{1}, we have

where u(a,b)=(b+b2+4a)/2u(a,b)=(b+\sqrt{b^{2}+4a})/2, which follows by simply solving for gg in the quadratic equation g(g−M)/σ2=tg(g-M)/\sigma^{2}=t. Therefore,

We now examine the term inside the braces in (4.1), the difference between a ratio of normal survival functions and e−te^{-t}; our next lemma shows that this term vanishes as m→∞m\rightarrow\infty.

Hence, loosely speaking, if each M(j1,s1)→∞M(j_{1},s_{1})\rightarrow\infty fast enough as p→∞p\rightarrow\infty, then the right-hand side in (4.1) converges to zero, and T1T_{1} converges weakly to Exp⁡(1)\operatorname{Exp}(1). This is made precise below.

Consider M(j1,s1)M(j_{1},s_{1}) defined in (21), (22) over j1=1,…,pj_{1}=1,\ldots,p and s1∈{−1,1}s_{1}\in\{-1,1\}. If for any fixed m0>0m_{0}>0

The assumption in (25) is written in terms of random variables whose distributions are induced by the steps along the lasso path; to make our assumptions more transparent, we show that (25) is implied by a conditional variance bound involving the predictor matrix XX alone, and arrive at the main result of this section.

and the size of SS growing faster than log⁡p\log{p},

An example of a matrix XX that does not satisfy (26) and (27) is one with fixed rank as pp grows. (This, of course, would also not satisfy the general position assumption.) In this case, we would not be able to find a subset of the variables Ui=XiTyU_{i}=X_{i}^{T}y, i=1,…,pi=1,\ldots,p, that is both linearly independent and has size larger than r=rank⁡(X)r=\operatorname{rank}(X), which violates the conditions. We note that in general, since ∣S∣≤rank⁡(X)≤n|S|\leq\operatorname{rank}(X)\leq n, and ∣S∣/log⁡p→∞|S|/\log{p}\rightarrow\infty, conditions (26) and (27) require that n/log⁡p→∞n/\log{p}\rightarrow\infty.

2 A general step, k≥1k\geq 1.

In this section, we no longer assume that XX has unit normed columns (in any case, this provides no simplification in deriving the null distribution of the test statistic at a general step in the lasso path). Our arguments here have more or less the same form as they did in the last section, but overall the calculations are more complicated.

Fix an integer k0≥0k_{0}\geq 0, subset A0⊆{1,…,p}A_{0}\subseteq\{1,\ldots,p\} containing the true active set A0⊇A∗=supp⁡(β∗)A_{0}\supseteq A^{*}=\operatorname{supp}(\beta^{*}), and sign vector sA0∈{−1,1}∣A0∣s_{A_{0}}\in\{-1,1\}^{|A_{0}|}. Consider the event

First note that on BB, we have sA=sign⁡((XA)+y)s_{A}=\operatorname{sign}((X_{A})^{+}y), and as discussed in the third point following Lemma 1, this implies that the solution of the reduced problem (4) on XAX_{A} cannot incur any sign changes over the interval [λk,λk+1][\lambda_{k},\lambda_{k+1}]. Hence, we can apply Lemma 1 to write the covariance statistic on BB as

C(A,sA,jk,sk)=∥(XA∪{jk}T)+sA∪{jk}−(XAT)+sA∥22C(A,s_{A},j_{k},s_{k})=\|(X_{A\cup\{j_{k}\}}^{T})^{+}s_{A\cup\{j_{k}\}}-(X_{A}^{T})^{+}s_{A}\|_{2}^{2}, AA and sAs_{A} are the active set and signs at step k−1k-1, and jkj_{k} is the variable added to the active set at step kk, with sign sks_{k}. Now, analogous to our definition in the last section, we define the discrete-time Gaussian process

For any fixed A,sAA,s_{A}, the above process has mean zero provided that A⊇A∗A\supseteq A^{*}. Additionally, for any such fixed A,sAA,s_{A}, we can compute its covariance function

Note that on the event BB, the kkth knot in the lasso path is

For fixed jk,skj_{k},s_{k}, we also consider the process

(above, sA∪{jk}s_{A\cup\{j_{k}\}} is the concatenation of sAs_{A} and sks_{k}) and its achieved maximum value, subject to being less than the maximum of g(A,sA)g^{(A,s_{A})},

If jk,skj_{k},s_{k} indeed maximize g(A,sA)g^{(A,s_{A})}, that is, they correspond to the variable added to the active set at λk\lambda_{k} and its sign (note that these are almost surely unique), then on BB, we have λk+1=M(A,sA)(jk,sk)\lambda_{k+1}=M^{(A,s_{A})}(j_{k},s_{k}). To study the distribution of TkT_{k} on BB, we are therefore interested in the random variable

where we have replaced all instances of AA and sAs_{A} on the right-hand side above with the fixed subset A0A_{0} and sign vector sA0s_{A_{0}}. This is a helpful simplification, because in what follows we may now take A=A0A=A_{0} and sA=sA0s_{A}=s_{A_{0}} as fixed, and consider the distribution of the random processes g(A0,sA0)g^{(A_{0},s_{A_{0}})} and M(A0,sA0)M^{(A_{0},s_{A_{0}})}. With A=A0A=A_{0} and sA=sA0s_{A}=s_{A_{0}} fixed, we drop the notational dependence on them and write these processes as gg and MM. We also write the scaling factor C(A0,sA0,jk,sk)C(A_{0},s_{A_{0}},j_{k},s_{k}) as C(jk,sk)C(j_{k},s_{k}).

The setup in (4.2) looks very much like the one in the last section [and to draw an even sharper parallel, the scaling factor C(jk,sk)C(j_{k},s_{k}) is actually equal to one over the variance of g(jk,sk)g(j_{k},s_{k}), meaning that C(jk,sk)⋅g(jk,sk)\sqrt{C(j_{k},s_{k})}\cdot g(j_{k},s_{k}) is standard normal for fixed jk,skj_{k},s_{k}, a fact that we will use later in the proof of Lemma 8]. However, a major complication is that g(jk,sk)g(j_{k},s_{k}) and M(jk,sk)M(j_{k},s_{k}) are no longer independent for fixed jk,skj_{k},s_{k}. Next, we derive a dual representation for the event (34) (analogous to Lemma 4 in the last section), introducing a triplet of random variables M+,M−,M0M^{+},M^{-},M^{0}—it turns out that gg is independent of this triplet, for fixed jk,skj_{k},s_{k}.

Let gg be as defined in (29) (with A,sAA,s_{A} fixed at A0,sA0A_{0},s_{A_{0}}). Let Σj,j′\Sigma_{j,j^{\prime}} denote the covariance function of gg [short form for the expression in (30)]. To be perfectly clear, here Σj,j′\Sigma_{j,j^{\prime}} actually depends on s,s′s,s^{\prime}, but our notation suppresses this dependence for brevity. Define

the event E(jk,sk)E(j_{k},s_{k}) in (34), that jk,skj_{k},s_{k} maximize gg, can be written as an intersection of events involving M+,M−,M0M^{+},M^{-},M^{0}:

As a result of Lemma 7, continuing from (4.2), we can decompose the tail probability of TkT_{k} as

A key point here is that, for fixed jk,skj_{k},s_{k}, the triplet M+(jk,sk)M^{+}(j_{k},s_{k}), M−(jk,sk)M^{-}(j_{k},s_{k}), M0(jk,sk)M^{0}(j_{k},s_{k}) is independent of g(jk,sk)g(j_{k},s_{k}), which is true because

and g(jk,sk)g(j_{k},s_{k}), along with g(j,s)−(Σjk,j/Σjk,jk)g(jk,sk)g(j,s)-(\Sigma_{j_{k},j}/\Sigma_{j_{k},j_{k}})g(j_{k},s_{k}), for all j,sj,s, form a jointly Gaussian collection of random variables. If we were to now replace MM by M+M^{+} in the first line of (4.2), and define a modified statistic T~k\widetilde{T}_{k} via its tail probability,

Consider gg as defined in (29) (with A,sAA,s_{A} fixed at A0,sA0A_{0},s_{A_{0}}), and M+,M−,M0M^{+},M^{-},M^{0} as defined in (), (), (). Assume that for any fixed m0m_{0},

Consider g,Mg,M as defined in (29), (4.2), (4.2) (with A,sAA,s_{A} fixed at A0,sA0A_{0},s_{A_{0}}), and consider M+M^{+} as defined in (). Then for any fixed jk,skj_{k},s_{k}, on the event E(jk,sk)E(j_{k},s_{k}) in (34), we have

Though Lemma 9 establishes a (conservative) exponential limit for the covariance statistic TkT_{k}, it does so by enforcing assumption (42), which is phrased in terms of the tail distribution of a random process defined at the kkth step in the lasso path. We translate this into an explicit condition on the covariance structure in (30), to make the stated assumptions for exponential convergence more concrete.

Assume that the diagonal elements in RR are all of the same order, that is, Rii/Rjj≤CR_{ii}/R_{jj}\leq C for all i,ji,j and some constant C>0C>0. Finally assume that, for each fixed j∉A0j\notin A_{0}, there is a set S⊆{1,…,p}∖(A0∪{j})S\subseteq\{1,\ldots,p\}\setminus(A_{0}\cup\{j\}) such that for all i∈Si\in S,

where δ>0\delta>0 is a constant (not depending on jj), and the size of SS grows faster than log⁡p\log{p},

Some readers will likely recognize condition (43) as that of mutual incoherence or strong irrepresentability, commonly used in the lasso literature on exact support recovery [see, e.g., Wainwright 2009, Zhao and Yu 2006]. This condition, in addition to a lower bound on the magnitudes of the true coefficients, is sufficient for the lasso solution to recover the true active set A∗A^{*} with probability tending to one, at a carefully chosen value of λ\lambda. It is important to point out that we do not place any requirements on the magnitudes of the true nonzero coefficients; instead, we assume directly that the lasso converges (with probability approaching one) to some fixed model defined by A0,sA0A_{0},s_{A_{0}} at the (k0)(k_{0})th step in the path. Here, A0A_{0} is large enough that it contains the true support, A0⊇A∗A_{0}\supseteq A^{*}, and the signs sA0s_{A_{0}} are arbitrary—they may or may not match the signs of the true coefficients over A0A_{0}. In a setting in which the nonzero coefficients in β∗\beta^{*} are well separated from zero, a condition quite similar to the irrepresentable condition can be used to show that the lasso converges to the model with support A0=A∗A_{0}=A^{*} and

signs sA0=sign⁡(βA0∗)s_{A_{0}}=\operatorname{sign}(\beta_{A_{0}}^{*}), at step k0=∣A0∣k_{0}=|A_{0}| of the path. Our result extends beyond this case, and allows for situations in which the lasso model converges to a possibly larger set of “screened” variables A0A_{0}, and fixed signs sA0s_{A_{0}}.

In fact, one can modify the above arguments to account for the case that A0A_{0} does not contain the entire set A∗A^{*} of truly nonzero coefficients, but rather, only the “strong” coefficients. While “strong” is rather vague, a more precise way of stating this is to assume that β∗\beta^{*} has nonzero coefficients both large and small in magnitude, and with A0A_{0} corresponding to the set of large coefficients, we assume that the (left-out) small coefficients must be small enough that the mean of the process gg in (29) (with A=A0A=A_{0} and sA=sA0s_{A}=s_{A_{0}}) grows much faster than M+M^{+}. The details, though not the main ideas, of the arguments would change, and the result would still be a conservative exponential limit for the covariance statistic TkT_{k} at step k=k0+1k=k_{0}+1. We may pursue this extension in future work.

Simulation of the null distribution.

We investigate the null distribution of the covariance statistic through simulations, starting with an orthogonal predictor matrix XX, and then considering more general forms of XX.

Figure 3 shows the results for testing the 5th, 6th and 7th predictors to enter the lasso model. An Exp⁡(1)\operatorname{Exp}(1)-based test will now be conservative: at a nominal 5%5\% level, the actual type I errors are about 1%1\%, 0.2%0.2\% and 0.0%0.0\%, respectively. The solid line has slope 1, and the broken lines have slopes 1/2,1/3,1/41/2,1/3,1/4, as predicted by Theorem 1.

2 General predictor matrix.

In Table 2, we simulated null data (i.e., β∗=0\beta^{*}=0), and examined the distribution of the covariance test statistic T1T_{1} for the first predictor to enter. We varied the numbers of predictors pp, correlation parameter ρ\rho, and structure of the predictor correlation matrix. In the first two correlation setups, the correlation between each pair of predictors was ρ\rho, in the data and population, respectively. In the AR(1)\mathit{AR}(1) setup, the correlation between predictors jj and j′j^{\prime} is ρ∣j−j′∣\rho^{|j-j^{\prime}|}. Finally, in the block diagonal setup, the correlation matrix has two equal-sized blocks, with population correlation ρ\rho in each block. We computed the mean, variance and tail probability of the covariance statistic T1T_{1} over 500500 simulated data sets for each setup. We see that the Exp⁡(1)\operatorname{Exp}(1) distribution is a reasonably good approximation throughout.

In Table 3, the setup was the same as in Table 2, except that we set the first kk coefficients of the true coefficient vector equal to 4, and the rest zero, for k=1,2,3k=1,2,3. The dimensions were also fixed at n=100n=100 and p=50p=50. We computed the mean, variance, and tail probability of the covariance statistic Tk+1T_{k+1} for entering the next (truly inactive) (k+1)(k+1)st predictor, discarding those simulations in which a truly inactive predictor was selected in the first kk steps. (This occurred 1.7%1.7\%, 4.0%4.0\% and 7.0%7.0\% of the time, resp.) Again, we see that the Exp⁡(1)\operatorname{Exp}(1) approximation is reasonably accurate throughout.

In Figure 4, we estimate the power curves for significance testing via the drop in RSS test for forward stepwise regression, and the covariance test for the lasso. In the former, we use simulation-derived cutpoints, and in the latter we use the theoretically-based Exp⁡(1)\operatorname{Exp}(1) cutpoints, to control the type I error at the 5% level. We find that the tests have similar power, though the cutpoints for forward stepwise would not be typically available in practice. For more details, see the figure caption.

The case of unknown σ2\sigma^{2}.

Up until now, we have assumed that the error variance σ2\sigma^{2} is known; in practice it will typically be unknown. In this case, provided that n>pn>p, we can easily estimate it and proceed by analogy to standard linear model theory. In particular,

This follows because Fk=Tk/(σ^2/σ2)F_{k}=T_{k}/(\hat{\sigma}^{2}/\sigma^{2}), the numerator TkT_{k} being asymptotically Exp⁡(1)=χ22/2\operatorname{Exp}(1)=\chi_{2}^{2}/2, the denominator σ^2/σ2\hat{\sigma}^{2}/\sigma^{2} being asymptotically χn−p2/\penalty(n−p)\chi_{n-p}^{2}/\penalty(n-p), and we claim that the two are independent. Why? Note that the lasso solution path is unchanged if we replace yy by PXyP_{X}y, so the lasso fitted values in TkT_{k} are functions of PXyP_{X}y; meanwhile, σ^2\hat{\sigma}^{2} is a function of (I−PX)y(I-P_{X})y. The quantities PXyP_{X}y and (I−PX)y(I-P_{X})y are uncorrelated, and hence independent (recalling normality of yy), so TkT_{k} and σ^2\hat{\sigma}^{2} are functions of independent quantities and, therefore, independent.

As an example, consider one of the setups from Table 2, with n=100n=100, p=80p=80 and predictor correlation of the AR(1)\mathit{AR}(1) form ρ∣j−j′∣\rho^{|j-j^{\prime}|}. The true model is null, and we test the first predictor to enter along the lasso path. (We choose n,pn,p of roughly equal sizes here to expose the differences between the σ2\sigma^{2} known and unknown cases.) Table 4 shows the results of 1000 simulations from each of the ρ=0\rho=0 and ρ=0.8\rho=0.8 scenarios. We see that with σ2\sigma^{2} estimated, the F2,n−pF_{2,n-p} distribution provides a more accurate finite-sample approximation than does Exp⁡(1)\operatorname{Exp}(1).

When p≥np\geq n, estimation of σ2\sigma^{2} is not nearly as straightforward; one idea is to estimate σ2\sigma^{2} from the least squares fit on the support of the model selected by cross-validation. One would then hope that the resulting statistic, with this plug-in estimate of σ2\sigma^{2}, is close in distribution to F2,n−rF_{2,n-r} under the null, where rr is the size of the model chosen by cross-validation. This is by analogy to the low-dimensional n>pn>p case in (48), but is not supported by rigorous theory. Simulations (withheld for brevity) show that this approximation is not too far off, but that the variance of the observed statistic is sometimes inflated compared that of an F2,n−rF_{2,n-r} distribution (this unaccounted variability is likely due to the model selection process via cross-validation). Other authors have argued that using cross-validation to estimate σ2\sigma^{2} when p≫np\gg n is not necessarily a good approach, as it can be anti-conservative; see, for example, Fan, Guo and Hao 2012, Sun and Zhang 2012 for alternative techniques. In future work, we will address the important issue of estimating σ2\sigma^{2} in the context of the covariance statistic, when p≥np\geq n.

Real data examples.

We demonstrate the use of covariance test with some real data examples. As mentioned previously, in any serious application of significance testing over many variables (many steps of the lasso path), we would need to consider the issue of multiple comparisons, which we do not here. This is a topic for future work.

Table 5 shows the results for the wine quality data taken from the UCI database. There are p=11p=11 predictors, and n=1599n=1599 observations, which we split randomly into approximately equal-sized training and test sets. The outcome is a wine quality rating, on a scale between 0 and 10. The table shows the training set pp-values from forward stepwise regression (with the chi-squared test) and the lasso (with the covariance test). Forward stepwise enters 6 predictors at the 0.05 level, while the lasso enters only 3.

In the left panel of Figure 5, we repeated this pp-value computation over 500 random splits into training test sets. The right panel shows the corresponding test set prediction error for the models of each size. The lasso test error decreases sharply once the 3rd predictor is added, but then somewhat flattens out from the 4th predictor onward; this is in general qualitative agreement with the lasso pp-values in the left panel, the first 3 being very small, and the 4th pp-value being about 0.2. This also echoes the well-known difference between hypothesis testing and minimizing prediction error. For example, the CpC_{p} statistic stops entering variables when the pp-value is larger than about 0.16.

2 HIV data.

Rhee et al. (Rhee et al. 2003) study six nucleotide reverse transcriptase inhibitors (NRTIs) that are used to treat HIV-1. The target of these drugs can become resistant through mutation, and they compare a collection of models for predicting the (log) susceptibility of the drugs, a measure of drug resistance, based on the location of mutations. We focused on the first drug (3TC), for which there are p=217p=217 sites and n=1057n=1057 samples. To examine the behavior of the covariance test in the p>np>n setting, we divided the data at random into training and test sets of size 150 and 907, respectively, a total of 50 times. Figure 6 shows the results, in the same format as Figure 5. We used the model chosen by cross-validation to estimate σ2\sigma^{2}. The covariance test for the lasso suggests that there are only one or two important predictors (in marked contrast to the chi-squared test for forward stepwise), and this is confirmed by the test error plot in the right panel.

Extensions.

We discuss some extensions of the covariance statistic, beyond significance testing for the lasso. The proposals here are supported by simulations [in terms of having an Exp⁡(1)\operatorname{Exp}(1) null distribution], but we do not offer any theory. This may be a direction for future work.

The elastic net estimate [Zou and Hastie 2005] is defined as

with Uj=XjTyU_{j}=X_{j}^{T}y, j=1,…,pj=1,\ldots,p. This means that for an orthogonal XX, under the null,

and one is tempted to use this approximation beyond the orthogonal setting as well. In Figure 7, we evaluated the distribution of (1+γ)T1(1+\gamma)T_{1} (for the first predictor to enter), for orthogonal and correlated scenarios, and for three different values of γ\gamma. Here, n=100n=100, p=10p=10 and the true model was null. It seems to be reasonably close to Exp⁡(1)\operatorname{Exp}(1) in all cases.

2 Generalized linear models and the Cox model.

This is the implicit concept used by Efron 1986 in his definition of the “optimism” of the training error. The same idea could be used to define degrees of freedom for the penalized estimate in (50) for any λ>0\lambda>0, and this motivates the definition of the covariance statistic, as follows. If the tuning parameter value λ=λk\lambda=\lambda_{k} marks the entry of a new predictor into the active set AA, then we define the covariance statistic

we can analogously define the covariance test statistic at a knot λk\lambda_{k}, marking the entry of a predictor into the active set AA, as

Discussion.

We proposed a simple covariance statistic for testing the significance of predictor variables as they enter the active set, along the lasso solution path. We showed that the distribution of this statistic is asymptotically Exp⁡(1)\operatorname{Exp}(1), under the null hypothesis that all truly active predictors are contained in the current active set. [See Theorems 1, 2 and 3; the conditions required for this convergence result vary depending on the step kk along the path that we are considering, and the covariance structure of the predictor matrix XX; the Exp⁡(1)\operatorname{Exp}(1) limiting distribution is in some cases a conservative upper bound under the null.] Such a result accounts for the adaptive nature of the lasso procedure, which is not true for the usual chi-squared test (or FF-test) applied to, for example, forward stepwise regression.

We feel that our work has shed light not only on the lasso path (as given by LARS), but also, at a high level, on forward stepwise regression. Both the lasso and forward stepwise start by entering the predictor variable most correlated with the outcome (thinking of standardized predictors), but the two differ in what they do next. Forward stepwise is greedy, and once it enters this first variable, it proceeds to fit the first coefficient fully, ignoring the effects of other predictors. The lasso, on the other hand, increases (or decreases) the coefficient of the first variable only as long as its correlation with the residual is larger than that of the inactive predictors. Subsequent steps follow similarly. Intuitively, it seems that forward stepwise regression inflates coefficients unfairly, while the lasso takes more appropriately sized steps. This intuition is confirmed in one sense by looking at degrees of freedom (recall Section 2.4). The covariance test and its simple asymptotic null distribution reveal another way in which the step sizes used by the lasso are “just right.”

The problem of assessing significance in an adaptive linear model fit by the lasso is a difficult one, and what we have presented in this paper by no means a complete solution. We describe some current work and ideas for future projects below.

Significance test for generic lasso models. A natural direction to consider is the generic lasso testing problem: given a lasso model computed at some fixed value of λ\lambda, how do we carry out a significance test for each predictor in the active set? Work on this is in progress.

Nonasymptotic null distributions. A geometric characterization of the first knot in the lasso path provides an alternative test for the global null hypothesis, β∗=0\beta^{*}=0. When all predictors have unit norm, ∥Xi∥2=1\|X_{i}\|_{2}=1, for i=1,…,pi=1,\ldots,p, this test has the form

Remarkably, this above result is exact (nonasymptotic), valid for any nn and pp, requiring (essentially) only Gaussianity of the errors, and no real assumptions about the matrix XX. For most reasonably behaved predictor matrices XX, the Exp⁡(1)\operatorname{Exp}(1) approximation agrees closely with this test. Details are in Taylor, Loftus and Tibshirani 2013. Work to extend this formula to subsequent steps along the solution path, that is, to test a hypothesis beyond the global null, is underway.

Generalizations to other penalties and models. The manuscript of Taylor, Loftus and Tibshirani 2013 applies to a regularized regression setting with a general seminorm penalty, and derives explicit results for the group lasso and nuclear norm penalties (in addition to the lasso penalty). The nuclear norm result yields a test for principal components and matrix completion. The recent work of Grazier G’Sell, Taylor and Tibshirani 2013 studies the covariance test for graphical models, based on a sparse estimate of the inverse covariance matrix.

Sequential procedures with false discovery rate control. It is also interesting to consider how the sequence of covariance test pp-values can be used to construct a sequential test with good power properties, and a guaranteed bound on its false discovery rate. A number of such approaches are proposed in Grazier G’Sell et al. 2013.

Proper pp-values for forward stepwise. Perhaps surprisingly, a test analogous to the covariance test can be used in forward stepwise regression, to construct valid pp-values for this greedy procedure. This work is in progress.

Other related problems include: estimation of σ2\sigma^{2} when p≥np\geq n, in the context of the covariance test; power calculations and confidence interval estimation; theory for linear models having strong and weak signals (large and small true coefficients); theory for the elastic net, generalized linear models, and the Cox model.

As is clear from the above discussion, the covariance test work has created much excitement and activity among our close collaborators and students. It is our hope that the current paper will also broadly stimulate other researchers’ interest in this area, and that at some point, the joint efforts of the community will yield a full set of inferential tools for the lasso and other commonly used adaptive procedures.

Appendix

By continuity of the lasso solution path at λk\lambda_{k},

From this, we can obtain two identities: the first is

obtained by squaring both sides in (56) (more precisely, taking the inner product of the left-hand side with itself and the right-hand side with itself), and noting that (PA∪{j}−PA)2=PA∪{j}−PA(P_{A\cup\{j\}}-P_{A})^{2}=P_{A\cup\{j\}}-P_{A}; the second is

obtained by taking the inner product of both sides in (56) with yy, and then using (57). Plugging (57) and (.1) in for the first and second terms in (2.3), respectively, then gives the result in (9).

.2 Proof of Lemma 4.

the first step following since 1−ss1Rj,j1>01-ss_{1}R_{j,j_{1}}>0, and the second step following from the definition of h(j1,s1)h^{(j_{1},s_{1})}. The intersection of the right-hand side above, over all (j,s)≠(j1,s1)(j,s)\neq(j_{1},s_{1}), is equivalent to

But the former inequality is the same as g(j1,s1)>0g(j_{1},s_{1})>0, because g(j1,s1)g(j_{1},s_{1}) and g(j1,−s1)g(j_{1},-s_{1}) have opposite signs. Further, the inequality g(j1,s1)>0g(j_{1},s_{1})>0 is redundant, as M(j1,s1)≥0M(j_{1},s_{1})\geq 0. This gives the result.

.3 Proof of Lemma 5.

where ϕ\phi is the standard normal density. First, note that

Also, a straightforward calculation shows

where in the last step we used the fact that (1−1+4t/m2)/(2/m2)→−t/2(1-\sqrt{1+4t/m^{2}})/(2/m^{2})\rightarrow-t/2, again by l’Hôpital’s rule. Therefore, ϕ(u(t,m))/ϕ(m)→e−t\phi(u(t,m))/\phi(m)\rightarrow e^{-t}, which completes the proof.

.4 Proof of Lemma 6.

Fix ε>0\varepsilon>0, and choose m0m_{0} large enough that

Above, the term multiplying ε\varepsilon is equal to 1, and the second term can be made arbitrarily small (say, less than ε\varepsilon) by taking pp sufficiently large.

.5 Proof of Theorem 2.

We will show that for any fixed m0>0m_{0}>0 and j1,s1j_{1},s_{1},

where S⊆{1,…,p}∖{j1}S\subseteq\{1,\ldots,p\}\setminus\{j_{1}\} is as in the theorem for j=j1j=j_{1}, with size ∣S∣≥dp|S|\geq d_{p}, and c<1c<1 is a constant (not depending on j1j_{1}). This would imply that

where we used the fact that dp/log⁡p→∞d_{p}/\log{p}\rightarrow\infty by (27). The above sum tending to zero now implies the desired convergence result by Lemma 6, and hence it suffices to show (59). To this end, consider

where in both inequalities above we used the fact that ∣Rj,j1∣<1|R_{j,j_{1}}|<1. We can therefore use the bound

where we define Vj=(Uj−Rj,j1Uj1)/2V_{j}=(U_{j}-R_{j,j_{1}}U_{j_{1}})/2 for j∈Sj\in S. Let r=∣S∣r=|S|, and without a loss of generality, let S={1,…,r}S=\{1,\ldots,r\}. We will show that

for c=Φ(2m0/(σδ))−Φ(−2m0/(σδ))<1c=\Phi(2m_{0}/(\sigma\delta))-\Phi(-2m_{0}/(\sigma\delta))<1, by induction; this would complete the proof, as it would imply (59). Before presenting this argument, we note a few important facts. First, the condition in (26) is really a statement about conditional variances:

where recall that Uj=XjTyU_{j}=X_{j}^{T}y, j=1,…,pj=1,\ldots,p. Second, since U1,…,UrU_{1},\ldots,U_{r} are jointly normal, we have

Now we give the inductive argument for (60). For the base case, note that V1∼N(0,τ12)V_{1}\sim N(0,\tau_{1}^{2}), where its variance is

the second equality is due to the independence of V1V_{1} and Uj1U_{j_{1}}, and the last inequality comes from the fact that conditioning can only decrease the variance, as stated above in (.5). Hence,

We have, using the independence of V1,…,Vq+1V_{1},\ldots,V_{q+1} and Uj1U_{j_{1}},

and here we again used the fact that conditioning further can only reduce the variance, as in (.5). Therefore,

.6 Proof of Lemma 7.

We now handle division by 1−Σj,j′/Σjj1-\Sigma_{j,j^{\prime}}/\Sigma_{jj} in three cases:

if 1−Σj,j′/Σjj>01-\Sigma_{j,j^{\prime}}/\Sigma_{jj}>0, then

if 1−Σj,j′/Σjj<01-\Sigma_{j,j^{\prime}}/\Sigma_{jj}<0, then

if 1−Σj,j′/Σjj=01-\Sigma_{j,j^{\prime}}/\Sigma_{jj}=0, then

Using this breakdown, we see that the statement g(jk,sk)>g(j,s)g(j_{k},s_{k})>g(j,s) for all (j,s)≠(jk,sk)(j,s)\neq(j_{k},s_{k}) is then equivalent to

Noting that g(jk,sk)g(j_{k},s_{k}) and g(jk,−sk)g(j_{k},-s_{k}) must have opposite signs, the above is equivalent to

.7 Proof of Lemma 8.

Define σk=σ/C(jk,sk)\sigma_{k}=\sigma/\sqrt{C(j_{k},s_{k})} and u(a,b)=(b+b2+4a)/2u(a,b)=(b+\sqrt{b^{2}+4a})/2. Exactly as before (dropping for simplicity the notational dependence of g,M+g,M^{+} on jk,skj_{k},s_{k}),

Note that we have dropped the inequality g(jk,sk)>0g(j_{k},s_{k})>0 from each term, as it is implied by the first inequality g(jk,sk)/σk>u(t,M+(jk,sk)/σk)≥0g(j_{k},s_{k})/\sigma_{k}>u(t,M^{+}(j_{k},s_{k})/\sigma_{k})\geq 0. We can upper bound the right-hand side above by replacing g(jk,sk)<M−(jk,sk)g(j_{k},s_{k})<M^{-}(j_{k},s_{k}) with

because u(a,b)≥bu(a,b)\geq b for all a≥0a\geq 0 and bb. Furthermore, Lemma 10 (Appendix .10) shows that indeed σk2=σ2/C(jk,sk)=Var⁡(g(jk,sk))\sigma_{k}^{2}=\sigma^{2}/C(j_{k},s_{k})=\operatorname{Var}(g(j_{k},s_{k})) for fixed jk,skj_{k},s_{k}, and hence g(jk,sk)/σkg(j_{k},s_{k})/\sigma_{k} is standard normal for fixed jk,skj_{k},s_{k}. Therefore,

with FM+(jk,sk),M−(jk,sk),M0(jk,sk)F_{M^{+}(j_{k},s_{k}),M^{-}(j_{k},s_{k}),M^{0}(j_{k},s_{k})} the joint distribution of M+(jk,sk)M^{+}(j_{k},s_{k}),M−(jk,sk)M^{-}(j_{k},s_{k}), M0(jk,sk)M^{0}(j_{k},s_{k}), and we used the fact that gg is independent of M+,\penaltyM−,M0M^{+},\penalty M^{-},M^{0} for fixed jk,skj_{k},s_{k}. From (.7),

the last equality following by Lemma 7 (i.e., each term in the last sum is exactly the probability of jk,skj_{k},s_{k} maximizing gg). We show in Lemma 11 (Appendix .11) that

provided that m−>m+m^{-}>m^{+}. Hence, fix ε>0\varepsilon>0, and choose m0m_{0} sufficiently large, so that for each kk,

Note that the first term on the right-hand side above is ≤ε\leq\varepsilon, and the second term is

.8 Proof of Lemma 9.

For now, we reintroduce the notational dependence of the process gg on A,sAA,s_{A}, as this will be important. We show in Lemma 12 (Appendix .12) that for any fixed jk,sk,j,sj_{k},s_{k},j,s,

and hence on the event E(jk,sk)E(j_{k},s_{k}), since we have g(A,sA)(jk,sk)>M+(jk,sk)g^{(A,s_{A})}(j_{k},s_{k})>M^{+}(j_{k},s_{k}),

This means that (now we return to writing g(A,sA)g^{(A,s_{A})} as gg, for brevity)

.9 Proof of Theorem 3.

where S⊆{1,…,p}∖(A∪{jk})S\subseteq\{1,\ldots,p\}\setminus(A\cup\{j_{k}\}) is as in the statement of the theorem for j=jkj=j_{k}, with size ∣S∣≥dp|S|\geq d_{p}, and c<1c<1 is a constant (not depending on jkj_{k}). Also, as in the proof of Lemma 8, we abbreviated σk=σ/C(jk,sk)\sigma_{k}=\sigma/\sqrt{C(j_{k},s_{k})}. This bound would imply that

since dp/log⁡p→0d_{p}/\log{p}\rightarrow 0. The above sum converging to zero is precisely the condition required by Lemma 9, which then gives the desired (conservative) exponential limit for TkT_{k}. Hence, it is suffices to show (67). For this, we start by recalling the definition of M+M^{+} in ():

The first implication uses the assumption (43), as ∣sk−XjkT(XAT)+sA∣≤1+∥(XA)+Xjk∥1≤2−η|s_{k}-X_{j_{k}}^{T}(X_{A}^{T})^{+}s_{A}|\leq 1+\|(X_{A})^{+}X_{j_{k}}\|_{1}\leq 2-\eta and ∣s−XjT(XAT)+sA∣≥1−∥(XA)+Xjk∥1≥η|s-X_{j}^{T}(X_{A}^{T})^{+}s_{A}|\geq 1-\|(X_{A})^{+}X_{j_{k}}\|_{1}\geq\eta, and

the second simply follows from the definition of Σjk,j\Sigma_{j_{k},j} and Σjk,jk\Sigma_{j_{k},j_{k}}. Therefore,

Uj=XjT(I−PA)yU_{j}=X_{j}^{T}(I-P_{A})y and θjk,j=Rjk,j/Rjk,jk\theta_{j_{k},j}=R_{j_{k},j}/R_{j_{k},j_{k}} for j∈Sj\in S. By the arguments given in the proof of Lemma 12, we can rewrite the right-hand side above, yielding

where the last two inequalities above follow as ∣XjT(XA∪{jk})+sA∪{jk}∣ < 1|X_{j}^{T}(X_{A\cup\{j_{k}\}})^{+}s_{A\cup\{j_{k}\}}|\,{<}\,1 for all j∈Sj\in S, which itself follows from the assumption that ∥(XA∪{jk})+Xj∥∞<1\|(X_{A\cup\{j_{k}\}})^{+}X_{j}\|_{\infty}<1 for all j∈Sj\in S, in (46). Hence,

where Vj=(Uj−θjk,jUjk)/2V_{j}=(U_{j}-\theta_{j_{k},j}U_{j_{k}})/2. Writing without a loss of generality r=∣S∣r=|S| and S={1,…,r}S=\{1,\ldots,r\}, it now remains to show that

Similar to the arguments in the proof of Theorem 2, we will show (69) by induction, for the constant c=Φ(2m0C/(δη))−Φ(−2m0C/(δη))<1c=\Phi(2m_{0}\sqrt{C}/(\delta\eta))-\Phi(-2m_{0}\sqrt{C}/(\delta\eta))<1. Before this, it is helpful to discuss three important facts. First, we note that (44) is actually a lower bound on the ratio of conditional to unconditional variances:

Second, conditioning on a smaller set of variables can only increase the conditional variance:

give the inductive argument for (69). For the base case, we have V1∼N(0,τ12)V_{1}\sim N(0,\tau_{1}^{2}), where

Above, in the second equality, we used that V1V_{1} and UjkU_{j_{k}} are independent, and in the last inequality, that conditioning on fewer variables (here, none) only increases the variance. This means that

where ZZ is standard normal; note that in the last inequality above, we applied the upper bound

Using the independence of V1,…,Vq+1V_{1},\ldots,V_{q+1} and UjkU_{j_{k}},

where we again used the fact that conditioning on a smaller set of variables only makes the variance larger. Finally,

where we used σk2/(σ2Rq+1,q+1)≤C/η2\sigma_{k}^{2}/(\sigma^{2}R_{q+1,q+1})\leq C/\eta^{2} as above, and so

.10 Statement and proof of Lemma 10.

For any fixed A,sAA,s_{A}, and any j∉Aj\notin A, s∈{−1,1}s\in\{-1,1\}, we have

where sA∪{j}s_{A\cup\{j\}} denotes the concatenation of sAs_{A} and ss.

The right-hand side above, after a straightforward calculation, is shown to be equal to

Now let z=(XA∪{j}TXA∪{j})−1sA∪{j}z=(X_{A\cup\{j\}}^{T}X_{A\cup\{j\}})^{-1}s_{A\cup\{j\}}. In block form,

Solving for z1z_{1} in the first row yields

Solving for z2z_{2} in the second row of (73) gives

Plugging this value into (74) produces the left-hand side in (71), completing the proof.

.11 Statement and proof of Lemma 11.

If v=v(m)v=v(m) satisfies v>mv>m, then for any t≥0t\geq 0,

First note, using a Taylor series expansion of 1+4t/m3\sqrt{1+4t/m^{3}}, that for sufficiently large mm,

Also, a simple calculation shows that ∂(u(t,m)−m)/∂m≤0\partial(u(t,m)-m)/\partial m\leq 0 for all mm, so that

where the first inequality follows from (76), and the second from (75) (assuming mm is large enough). Continuing from the last upper bound,

It is clear that f(w,t)→1f(w,t)\rightarrow 1 as w→∞w\rightarrow\infty. Fixing ε\varepsilon, choose m0m_{0} large enough so that for all w≥m0w\geq m_{0}, we have ∣f(w,t)−1∣≤ε|f(w,t)-1|\leq\varepsilon. Then the term multiplying e−te^{-t} on the right-hand side in (.11), for m≥m0m\geq m_{0}, is

which shows that the right-hand side in (.11) is ≤ε⋅e−t≤ε\leq\varepsilon\cdot e^{-t}\leq\varepsilon, and completes the proof.

.12 Statement and proof of Lemma 12.

For any fixed jk,sk,j,sj_{k},s_{k},j,s (and fixed A,sA)A,s_{A}), we have

where Σjk,j\Sigma_{j_{k},j} denotes the covariance between g(A,sA)(jk,sk)g^{(A,s_{A})}(j_{k},s_{k}) and g(A,sA)(j,s)g^{(A,s_{A})}(j,s),

Simple manipulations of the left-hand side in (78) yield the expression

where θjk,j=XjkT(I−PA)Xj/(XjkT(I−PA)Xjk)\theta_{j_{k},j}=X_{j_{k}}^{T}(I-P_{A})X_{j}/(X_{j_{k}}^{T}(I-P_{A})X_{j_{k}}). Now it remains to show that (79) is equal to

We show individually that the numerators and denominators in (79) and (80) are equal. First the denominators: starting with (79), notice that

By the well-known formula for partial regression coefficients,

that is, θjk,j\theta_{j_{k},j} is the (jk)(j_{k})th coefficient in the regression of XjX_{j} on XA∪{jk}X_{A\cup\{j_{k}\}}. Hence, to show that (.12) is equal to the denominator in (80), we need to show that (XA)+(Xj−θjk,jXjk)(X_{A})^{+}(X_{j}-\theta_{j_{k},j}X_{j_{k}}) gives the coefficients in AA in the regression of XjX_{j} on XA∪{jk}X_{A\cup\{j_{k}\}}. This follows by simply noting that the coefficients (XA∪{jk})+Xj=(θA,j,θjk,j)(X_{A\cup\{j_{k}\}})^{+}X_{j}=(\theta_{A,j},\theta_{j_{k},j}) satisfy the equation

Now for the numerators: again beginning with (79), its numerator is

and by essentially the same argument as above, we have

therefore, (82) matches the numerator in (80).

Acknowledgements.

We thank Jacob Bien, Trevor Hastie, Fred Huffer and Larry Wasserman for helpful comments.

References