Abstract
For regression models with functional responses and scalar predictors, it is common for the number of predictors to be large. Despite this, few methods for variable selection exist for function-on-scalar models, and none account for the inherent correlation of residual curves in such models. By expanding the coefficient functions using a B-spline basis, we pose the function-on-scalar model as a multivariate regression problem. Spline coefficients are grouped within coefficient function, and group-minimax concave penalty (MCP) is used for variable selection. We adapt techniques from generalized least squares to account for residual covariance by “pre-whitening” using an estimate of the covariance matrix, and establish theoretical properties for the resulting estimator. We further develop an iterative algorithm that alternately updates the spline coefficients and covariance; simulation results indicate that this iterative algorithm often performs as well as pre-whitening using the true covariance, and substantially outperforms methods that neglect the covariance structure. We apply our method to two-dimensional planar reaching motions in a study of the effects of stroke severity on motor control, and find that our method provides lower prediction errors than competing methods.
Keywords: Group MCP, Splines, Pre-whitening, Kinematic Data
1 Introduction
Regression models with functional responses and scalar predictors are routinely encountered in practice. These models face a challenge that also arises for traditional models: how to identify the important predictors among a potentially large collection. Functional-response models face the additional challenges of high dimensionality and residual correlation. There are few methods for variable selection in this class of models and none of them properly account for the correlation structure in the residuals. The purpose of this article is to address the current lack of methods for variable selection that account for residual correlation in function-on-scalar regression problems.
Our work is motivated by two-dimensional planar reaching data. As an assessment of upper extremity motor control, stroke patients and healthy controls made repeated reaching movements from a central point to eight targets arranged on a circle. The dataset consists of 57 subjects, including 33 patients suffering a unilateral stroke (meaning only one arm is affected) and 24 healthy controls, and contains motions made with both the dominant and non-dominant hands to each of the eight targets. Our analytic goal is to explore the effects of the potential predictors of motor control on these motions and to identify the most essential ones using variable selection. Among the potential predictors, the Fugl-Meyer score is a quantity that measures the severity of arm motor impairment (Fugl-meyer et al., 1975). It ranges from 0 to 66 with smaller values indicating more severe impairment and 66 indicating healthy function. Other potentially important predictors include target direction, whether the hand used was the dominant or non-dominant, and whether the hand used was contralesional (directly affected by the stroke) or ipsilesional (indirectly affected or unaffected).
Figure 1 shows the observed reaching motions for three subjects: a stroke patient with contralesional dominant hand in the left column; a stroke patient with contralesional non-dominant hand in the center column and a heathy control in the right column. Reaching motions made by contralesional hand display deviation from straight paths from the starting point to each target; these deviations may be consistent for contralesional dominant or non-dominant hands. While deviation from straightness is not obvious in the ipsilesional arm, other effects, like over-reach, are observed. The potential for differential effects of stroke severity on reaching motions indicates the importance of allowing interactions between predictors of interest.
Figure 1.
Observed reaching motions for three subjects. The top row shows the dominant hand and the bottom row shows the non-dominant hand of three subjects. The left column is a subject with a contralesional dominant hand. The center column is a subject with a contralesional non-dominant hand. The right column is a healthy control subject. Dashed lines are the straight paths to the eight targets terminating at the target location.
The observed data are horizontal and vertical coordinates of the hand position for each reaching motion as functions of time. We construct function-on-scalar regression models for the two outcome functions separately. Given scalar predictors xij, i = 1, ··· , n, j = 1, ··· , p and functional responses , where is some compact finite interval in , the linear function-on-scalar regression model is
| (1) |
where βj(·), j = 0, ··· , p are the p + 1 coefficient functions and εi(·) ~ (0, Σ) is the error function drawn from a continuous stochastic process with expectation zero and covariance function .
A common model fitting framework for function-on-scalar regression is outlined by Chapter 13 of Ramsay and Silverman (2005), in which the coefficient functions βj(·) are expanded using some set of basis functions and basis coefficients are estimated using ordinary least squares. The imposition of quadratic roughness penalties to enforce smoothness of the estimated coefficient functions is also common. Reiss et al. (2010) developed a fast automatic method for choosing tuning parameters in this model and accounted for correlated errors using generalized least squares. Goldsmith and Kitago (2015) develop a Bayesian approach that jointly models coefficient functions and the covariance structure, and applied their methods to the stroke kinematics dataset considered here.
When p is large, many scalar predictors may have no effect on the functional response and the corresponding coefficient functions would equal zero over all time points. In order to accurately identify the important predictors, we apply variable selection techniques when estimating the coefficient functions in Model (1). Since the coefficient functions are expanded using basis functions, the shape of each coefficient function is determined by a distinct group of basis coefficients. We therefore apply variable selection at the group level to include or exclude the vector of basis coefficients. The group lasso, proposed by Yuan and Lin (2006), is an extension of the classic lasso (Tibshirani, 1994) to the problem of selecting grouped variables. The lasso is known to induce biases in the included variables, so two alternative penalties, the smoothy clipped absolute deviation (SCAD) penalty (Fan and Li, 2001) and the minimax concave penalty (MCP) (Zhang, 2010), were proposed. These achieve consistency and asymptotic unbiasedness, and have been extended to grouped variable selection problem (Wang et al. (2007); Breheny and Huang (2013)).
Few approaches that consider variable selection in the context of functional regression models have been proposed in current literature. Wang et al. (2007) developed a penalized estimation procedure using group SCAD for variable selection in function-on-scalar regression assuming errors εi(·) are uncorrelated over their domain; this assumption is clearly violated in practice. Barber et al. (2015) presented Function-on-Scalar LASSO (FS-LASSO), a framework which extends the group LASSO to function-on-scalar regression; theory is developed for cases in which predictors are observed over dense or sparse grids. However, the bias for non-zero coefficients introduced by LASSO was not addressed, and the method does not account for correlation among residual curves. Gertheiss et al. (2013) proposed a variable selection procedure for generalized scalar-on-function linear regression models, in which the predictors are in the form of functions and responses are scalar; though they also consider regression models for functional data, the structure of their models is very different from the one considered here.
The main contributions of this paper is a method for variable selection in function-on-scalar regression that accounts for residual correction using tools from generalized least squares. We develop theory for this method and demonstrate its effectiveness in simulations that mimic our real-data application; direct comparisons with the method of Wang et al. (2007) and Barber et al. (2015) indicate superior performance of our proposed method for variable selection and prediction.
The rest of the article is organized as follows. In Section 2, we describe an estimation procedure for function-on-scalar regression models with errors that are uncorrelated over t using grouped variable selection methods. We then introduce our methods for the estimation of function-on-scalar regression models with correlated errors, including the development of an iterative method that refines the estimation of the error covariance and the variable selection. Simulations that resemble our motivating data examine and compare the numerical performance of competing methods in Section 3. An application of our method to the reaching motion data is given in Section 4. Finally, we present concluding remarks in Section 5. Our method is implemented in the user-friendly fosr.vs() function in the refund package (Ciprian Crainiceanu et al., 2014), available on CRAN, and code for our simulations is included in the supplementary material.
2 Methodology
2.1 Estimation for models with i.i.d. errors
Suppose {ϕ1(·), ··· , ϕK(·)} is a set of pre-specified basis functions. The coefficient functions βj(·), j = 0, ··· , p can be expanded as
| (2) |
Hence, Model (1) is expressed as
| (3) |
The problem is thereby reduced to estimating the basis coefficients {bjk}j=0,··· , p; k=1,··· ,K.
In practice, functions are observed on a discrete grid. For simplicity, we assume that the grid, denoted {t1, ··· , tD}, is shared across subjects. Let Y be the n × D matrix whose rows are vector-valued functional responses; Φ be the D × K matrix whose columns correspond to the K basis functions evaluated at {t1, ··· , tD}; and B be the (p + 1) × K matrix with jth row being the vector of basis coefficients for βj(·). Then Model (3) can be expressed as
| (4) |
where X is the n×(p+1) design matrix and E is the n×D matrix containing vector-valued error functions.
Model (4) can be posed as a standard linear model in the following way. Let vec(YT) be the vector formed by concatenating the rows of Y, and note that where represents the Kronecker product of two matrices. Then
| (5) |
and vec(BT) can be estimated using least squares. An estimate of B̂ is obtained by rearranging vec (B̂T).
To accurately identify the zero coefficient functions, we apply variable selection techniques when estimating vec(BT) in Model (5). Let Bj be the vector of coefficients associated with the jth coefficient function βj(·), specifically the jth row of B. Note that the “zeroth” row of B corresponds to the intercept function β0(t), which we do not penalize. Setting the entire βj(·) function to 0 is equivalent to setting all the entries of Bj to zero. Therefore, we apply variable selection techniques at the group level.
Variable selection can be achieved by penalizing the estimates of the coefficients. The general form of a group penalty is , where pλ,γ(·) is the penalty function for the specific method and λ and γ are the tuning parameters. Therefore, the penalized estimator is obtained by minimizing
| (6) |
We use group MCP to perform variable selection; the penalty has the form
where λ and γ are tuning parameters. When ∥Bj∥ is small, the MCP penalty behaves exactly as lasso, but as ∥Bj∥ increases the amount of penalization is reduced until there is no penalization at all, thereby avoiding bias in the estimate of large coefficients.
In terms of tuning parameter selection, γ is set to be 3 as recommended in Zhang (2010) and λ is chosen by cross-validation. Another parameter to be determined is K, the number of basis functions used in the expansion of the coefficient functions. In the following implementations of our method, a cubic B-spline basis with 10 basis functions was used. However, since we do not explicitly penalize the roughness of the estimated coefficient functions, the exact choice of K will vary from application to application and should be chosen with care.
2.2 Estimation for models with correlated errors
The estimation framework discussed in Section 2.1 assumes that errors are independent and identically distributed over the entire domain, and is similar to the framework of Wang et al. (2007). In most cases, however, within-function errors are correlated. Let Σ denote the D × D covariance matrix for discretely observed data. For estimation of the Model (4) with correlated errors, we use techniques from generalized least squares. If Σ is known, one can “pre-white” both sides of (4) with the lower triangular matrix L obtained by Cholesky decomposition of Σ, i.e., Σ = LLT, to construct a new model
| (7) |
where Y* = Y(L−1)T, Φ* = L−1Φ and the error E* = E(L−1)T is independent. Similarly, parameters in model (7) can be estimated by minimizing
| (8) |
For a given Σ, the minimizer of (8) can be obtained using existing software by pre-whitening as described; our implementation is publicly available and uses the grpreg function in the grpreg package (Breheny and Huang, 2013).
The covariance matrix Σ is unknown in practice and it is necessary to obtain an estimate of Σ and to use this estimate to pre-whiten data. To obtain this estimate, we first fit Model (5) using ordinary least squares under the assumption of independence; this provides an unbiased estimate B̂ of the coefficient matrix B. From this model fit, we obtain the estimated residual matrix Ê = Y – XB̂ΦT. Using Ê, we consider two approaches for estimating Σ. The first, which we refer as the raw estimate, is constructed using a method-of-moments approach based on the residual matrix. The second approach uses functional principal component analysis (Yao et al., 2005). Here, the off-diagonal elements of the raw covariance are smoothed and an eigen-decomposition of the resulting matrix is obtained. Our estimate is
| (9) |
where are the estimated eigenfunctions over the grid {t1, ··· , tD}, are the corresponding eigenvalues, is the estimated measurement error variance and I is the identity matrix. The truncation level L is determined by the cumulative proportion of variability explained by eigenfunctions. This approach separates Σ into a smooth covariance over the observed grid and an additional uncorrelated measurement error process. Although we focus on these methods for estimating Σ, others that provide consistent estimators can be substituted.
2.3 Oracle properties of generalized group MCP estimator
We now discuss the theoretical properties of the method described in Section 2.2. Without loss of generality, we assume . Hence, is an n × p matrix with the ith row being . We also assume the true coefficient functions βj(t) are in the space spanned by the set of basis functions Φ. Additionally, we assume the first s groups of coefficients, , are nonzero and the remaining p – s groups of coefficients, , are zero. Let xi+ denote the vector associated with B+ and xi0 denote the one associated with B0. Therefore, we have and , where and . We further assume that the tuning parameter γ of the penalty is fixed. The additional conditions required for the theorems are
is a positive definite matrix;
λn → 0 and as n → ∞;
there exists an estimate to Σ for which each elements is -consistent;
Σ is non-singular.
Then we have the following results:
Theorem 1 (Estimation consistency)
Under assumptions 1-4, there exists a local minimizer of
such that .
Theorem 2 (Oracle property)
Under assumptions 1-4, the -consistent local minimizer satisfies
-
(1)
Sparsity: B̂0 = 0, with probability tending to 1;
-
(2)Asymptotic normality:
The proof of these theorems is provided in Appendix A.
2.4 Iterative algorithm for models with correlated errors
The method described in Section 2.2 uses ordinary least squares to estimate basis coefficients and obtains an estimate of the covariance Σ; this estimate is then used to pre-whiten the data prior to the application of variable selection techniques. However, re-estimating the covariance after variable selection may give a refined estimate which can, in turn, be used to pre-whiten the data. This intuition suggests an iterative algorithm:
Fit a model using ordinary least squares to obtain an initial estimate B̂(0);
Compute residuals and obtain an estimate of Σ;
- For k > 0, iterate the following steps until convergence:
-
(a)Pre-whiten using the covariance ;
-
(b)Minimize (8) to obtain B̂(k);
-
(c)Use B̂(k) to construct fitted values and residual curves, and use these to construct
-
(a)
.
Various criteria of convergence can be used to monitor convergence of this iterative algorithm; one possible criterion is , which we use in our implementations. This iterative method will be compared to the one-step approach of Section 2.2 in simulations.
3 Simulation
We conducted simulation studies to examine the properties of the proposed approach. Specifically, we constructed 500 training samples, each consisting of 100 random curves, and 1 test sample containing 1000 random curves. All curves are generated from the model
where , β1(t), β2(t), β3(t) are non-zero functions, and the remaining coefficient functions are zero. All functions are observed on a equally spaced grid of length 25. Errors εi(td) are generated from a multivariate Gaussian distribution with mean zero and covariance Σ = G + I where G is the error covariance and I is the identity matrix. the non-zero coefficient functions β1(t), β2(t) and β3(t) are derived from the motivating data in the following way. Focusing on y position curves for reaching motions made to the target at 0 degrees, we estimated motions made by healthy controls, moderately affected stroke patients, and severely affected patients (stroke severity was defined by thresholding the Fugl-Meyer score). These estimated motions were the non-zero coefficients, and are shown in the middle panel of Figure 2. The error covariance G was constructed using an FPCA decomposition of residual curves after subtracting the group-specific means.
Figure 2.
Estimates of zero functions (left) and non-zero functions (middle) obtained using the iterative approach with FPCA-based covariance matrix estimate using PVE=0.99 across all simulated datasets. The true functions are overlaid (bold curves). The right panel shows the both MSE (solid) and squared bias (dashed) as functions of time for all the coefficient functions.
Four implementations of our proposed method are considered: one-step approaches as described in Section 2.2 using raw and FPCA-based covariance matrix estimates, and iterative approaches as described in Section 2.4 using raw and FPCA-based covariance matrix estimates. For the FPCA-based covariance matrix estimate, we used two different values, 0.5 and 0.99, as the cumulative proportion of variance explained (PVE) threshold to determine L. For comparison, we include an approach that pre-whitens using true covariance matrix, as well as ordinary least squares, a variational Bayes method that includes a smoothness penalty (Goldsmith and Kitago, 2015), the FS-LASSO method that uses group LASSO but does not account for residual correlation or biases due to the LASSO penalty, and a group MCP method that assumes uncorrelated error curves, analogously to Wang et al. (2007).
Table 1 reports the true positive (TP) and true negative (TN) rates of the estimates of both zero and non-zero coefficient functions. We define functions estimated to be non-zero as “positive” while functions estimated to be zero as “negative”. Our iterative approach using a FPCA-based covariance matrix estimate with PVE=0.99 outperforms most competing approaches in terms of correctly identifying the zero functions; its performance is comparable to the approach that uses the true covariance matrix. The approaches using PVE=0.5 perform less well because the estimate of the covariance matrix omits important structure. Our proposed methods substantially outperform the method that assumes uncorrelated errors in accurately identifying zero functions. FS-LASSO has the highest true negative rate but the lowest true positive rate for β1(t), potentially indicating a tendency to over-shrink coefficients to zero. All methods are able to identify β2(t) and β3(t) as non-zero.
Table 1.
true positive (TP) and true negative (TN) rates of estimated coefficient functions, where FN is false negative and FP is false positive. They are estimated across all the training samples.
| FS-LASSO | 0.953 | 0.850 | 1.000 | 1.000 |
| MCP Assuming Independent Errors | 0.567 | 1.000 | 1.000 | 1.000 |
| One-step with Raw Matrix | 0.370 | 1.000 | 1.000 | 1.000 |
| Iterative with Raw Matrix | 0.813 | 0.962 | 1.000 | 1.000 |
| One-step with FPCA-based Matrix (PVE = 0.5) | 0.755 | 0.996 | 1.000 | 1.000 |
| Iterative with FPCA-based Matrix (PVE = 0.5) | 0.779 | 0.996 | 1.000 | 1.000 |
| One-step with FPCA-based Matrix (PVE = 0.99) | 0.863 | 0.986 | 1.000 | 1.000 |
| Iterative with FPCA-based Matrix (PVE = 0.99) | 0.915 | 0.956 | 1.000 | 1.000 |
| Pre-whiten with True Σ | 0.913 | 0.964 | 1.000 | 1.000 |
Estimates of zero and non-zero coefficient functions obtained using the iterative algorithm with FPCA-based covariance matrix estimate using PVE=0.99 are shown in the left and middle panels of Figure 2, respectively. Because their coefficients are relatively large, the estimate of β2(·) and β3(·) are approximately unbiased owing to the structure of the penalty. For β1(·), coefficients are shrunk toward and sometimes set equal to zero. We show the mean squared error and squared bias as functions of t in the right panel of Figure 2, where is the average curve across all the simulation datasets. For β1(·), both the MSE and squared bias curves present a sinusoidal shape, which is driven by the sinusoidal shape of the coefficient function itself and by the shrinkage to zero. There is an increasing trend in general as t increases for the MSE of β2(·) and β3(·), which is mostly caused by the increased variability of curves at the end of the distribution as the biases are relatively small. This plot further emphasizes the lack of bias for large coefficients stemming from the use of the group MCP penalty, especially in the case of β3(·).
The left and middle columns of Figure 3 display the root mean integrated squared error (RMISE), for zero and non-zero functions, respectively; in the top row, the FPCA-based covariance estimate is based on PVE=0.99 and in the bottom row based on PVE=0.5. The iterative approach with FPCA-based covariance matrix estimate compares favorably to other approaches, reinforcing the results from Table 1. Indeed, the RMISE of our iterative method is comparable to pre-whitening using the true covariance for both zero and non-zero functions. Although FS-LASSO is comparable for zero functions, it has substantially higher RMISE for non-zero functions. Prediction errors on the test sample are shown in the right panel of Figure 3. These errors reflect a combination of RMISEs for zero and non-zero functions, and display similar patterns: our proposed methods, in particular when using the FPCA-based estimate of the covariance, have excellent numerical performance. Although there is a slight decline in performance when PVE=0.5, the proposed method still outperforms OLS, FS-LASSO and the method that assumes uncorrelated errors.
Figure 3.
The top row shows the comparison among the algorithms when PVE = 0.99 while the second row shows the comparison when PVE = 0.5. The three columns show RMISE for zero functions (left) and non-zero functions (middle); and prediction error (right).
Additional simulations that generate uncorrelated errors are presented in detail in Appendix B. In this case, there is no noticeable disadvantage to using our proposed approach, which outperforms competing methods in prediction error.
4 Application
We now apply our iterative algorithm using the FPCA-based covariance matrix estimate described in Section 2.4 to our motivating dataset. The X and Y position functions are the outcomes of interest, and potential predictors include the Fugl-Meyer score, whether the hand was dominant or non-dominant, whether the hand was contralesional or ipsilesional, target direction (as a categorical predictor) and the interactions between these variables. In general, not a lot of correlation is observed between the residuals from models for X and Y position functions (Goldsmith and Kitago, 2015). It is not a great reason to consider a bivariate analysis. We thus analyze the X and Y position functions separately, using the same models and steps.
First, we perform a cross validation analysis to evaluate the algorithm in terms of prediction error on the motivating data. Training and test sets are generated in the following way. For each subject and each hand, we randomly select one motion to each of the eight target directions. These motions are partitioned so that four are in the training set and four are in the test set. Previous work on this dataset (Goldsmith and Kitago, 2015) indicates little or no correlation between motions to different targets made by the same subject, and so our training and test sets are approximately independent even though they contain data from the same subjects. This procedure results in 452 curves in the training set and 452 curves in the test set; an example is shown in Figure 4.
Figure 4.
One training sample (left) and one test sample (middle) generated from the planar reaching data. Highlighted curves are from one subject and show how each subject contributes to the training and test sets. Violin plots (right) of cross validation errors using the variational Bayes approach and iterative algorithm.
A function-on-scalar regression model is then constructed on the training sample, and prediction errors are obtained for the test sample. Four predictors of interest, the target direction (a categorical variable with eight levels), Fugl-Meyel score (a continuous variable), hand used (dominant/non-dominant) and arm affectedness (contralesional/ipsilesional), are considered in these models. In addition to main effects, all the possible interactions are included to maximize flexibility and scientific interpretation. Thus, the model has 64 coefficient functions to estimate. Rather than the typical design that assigns a reference level for each categorical predictor, a constraint is imposed to the construction of design matrix so that target-specific interpretations are available. This design matrix is equivalent to building the following model for each target:
| (10) |
where we use the ipsilesional (unaffected) dominant hand of a healthy control as the reference β0(t). Coefficients β1(t), β2(t) and β3(t) compare ipsilesional nondominant, contralesional dominant, and contralesional nondominant to the reference, respectively. The effect of increasing motor impairment in the ipsilesional dominant arm is estimated by β5(t), while differences in the effect of increasing motor impairment comparing other groups to baseline are given by β6(t), β7(t) and β8(t).
The complete procedure described above, consisting of generating training and test sets, fitting the full model to the training set, and producing predictions for the test set, is repeated 100 times. We fit the model using 5, 10, 15 and 20 basis functions, and found that K = 15 gave the smallest cross-validated prediction errors. The right panel of Figure 4 presents the prediction errors obtained using our iterative algorithm with FPCA-based covariance matrix estimate; we compare to the variational Bayes approach (without variable selection but with a standard second-derivative penalty). Our iterative algorithm decreases mean prediction error by around 10% (X direction: 163.8 vs. 144.8; Y direction: 143.6 vs. 132.9) compared to the variational Bayes approach. In addition, the iterative algorithm seems to be more stable than the variational Bayes approach as it has fewer outliers and lower median prediction error.
We next conduct our analysis without splitting data into training and test sets. The function-on-scalar regression model is estimated using one motion for each subject and hand to each target with motions drawn randomly for each target and hand. We repeat this analysis 100 times, and Table 2 presents the proportion of times selected by the algorithm for each of the 64 coefficient functions. Each row of Table 2 corresponds to coefficients β0(t), β1(t), ··· , β7(t) in Model (10) for a specific target. For instance, the value 0.24 in the third entry of the first row indicates that, in 24 of 100 datasets, there was an estimated difference between contralesional and ipsilesional dominant hands when reaching to the target at 0°.
Table 2.
Proportions of 64 coefficient functions being selected, obtained from models with X trajectories (top) and Y trajectories (bottom).
| Target Direction | Fugl-Meyer = 66 | Δ Fugl-Meyer = −1 | ||||||
|---|---|---|---|---|---|---|---|---|
| Ips.Dom. | Ips.Non. | Con.Dom. | Con.Non. | Ips.Dom. | Ips.Non. | Con.Dom. | Con.Non. | |
| 0° | 1.00 | 0.21 | 0.24 | 0.35 | 0.41 | 0.38 | 0.58 | 0.34 |
| 45° | 1.00 | 0.20 | 0.03 | 0.15 | 0.16 | 0.08 | 0.46 | 0.37 |
| 90° | 0.31 | 0.65 | 0.31 | 0.33 | 0.30 | 0.17 | 0.23 | 0.60 |
| 135° | 1.00 | 0.22 | 0.16 | 0.24 | 0.11 | 0.48 | 0.64 | 0.57 |
| 180° | 1.00 | 0.35 | 0.13 | 0.40 | 0.18 | 0.38 | 0.48 | 0.35 |
| 225° | 1.00 | 0.18 | 0.16 | 0.33 | 0.08 | 0.22 | 0.45 | 0.36 |
| 270° | 0.83 | 0.37 | 0.19 | 0.34 | 0.14 | 0.35 | 0.52 | 0.33 |
| 315° | 1.00 | 0.41 | 0.20 | 0.33 | 0.28 | 0.35 | 0.57 | 0.67 |
| Target Direction | Fugl-Meyer = 66 | Δ Fugl-Meyer = −1 | ||||||
|---|---|---|---|---|---|---|---|---|
| Ips.Dom. | Ips.Non. | Con.Dom. | Con.Non. | Ips.Dom. | Ips.Non. | Con.Dom. | Con.Non. | |
| 0° | 0.34 | 0.10 | 0.14 | 0.11 | 0.13 | 0.18 | 0.66 | 0.20 |
| 45° | 1.00 | 0.02 | 0.02 | 0.05 | 0.01 | 0.20 | 0.36 | 0.12 |
| 90° | 1.00 | 0.07 | 0.16 | 0.15 | 0.08 | 0.21 | 0.17 | 0.43 |
| 135° | 1.00 | 0.05 | 0.22 | 0.29 | 0.05 | 0.40 | 0.79 | 0.43 |
| 180° | 0.40 | 0.13 | 0.11 | 0.31 | 0.15 | 0.25 | 0.79 | 0.27 |
| 225° | 1.00 | 0.05 | 0.03 | 0.11 | 0.01 | 0.12 | 0.33 | 0.21 |
| 270° | 1.00 | 0.03 | 0.15 | 0.14 | 0.06 | 0.24 | 0.13 | 0.22 |
| 315° | 1.00 | 0.03 | 0.22 | 0.18 | 0.06 | 0.36 | 0.52 | 0.54 |
Large numbers in the table suggest consistent non-zero effects or differences in effect across datasets. Targets at 90° and 270° may have zero effects in the X trajectories, since for those targets the X position is roughly constant over time. The same is true for Targets at 0° and 180° for the Y trajectories. The results in Table 2 indicate relatively few differences between ipsilesional and contralesional dominant arms for very mild strokes (Fugl-Meyer = 66), and some differences between the non-dominant arms and the ipsilesional dominant arm. An effect of increasing stroke severity is relatively rarely found for the ipsilensional arms but, as expected, is much more frequently found for the contralesional arms. The conclusions are further reinforced by Figure 5, where the predicted motions of subjects with different combinations of Fugl-Meyel Score(66/26), hand used (dominant/non-dominant) and arm affectedness (contralesional/ipsilesional) are presented.
Figure 5.
Predicted reaching motions for eight subjects with different combinations of Fugl-Meyel Score(66/26), hand used (dominant/non-dominant) and arm affectedness (contralesional/ipsilesional). Motions to different targets are distinguished by colors.
5 Discussion
We proposed a model fitting framework that performs variable selection in the context of function-on-scalar regression allowing within-function correlation. This work was motivated by two-dimensional planar reaching data gathered to understand the mechanisms of motor deficit following stroke. We developed an iterative algorithm that alternatively estimates the coefficient functions and covariance structure. Our method relies on a reasonable estimate of the covariance structure, and in our simulations and application we found that an estimation procedure based on FPCA works well. Results from the simulation studies demonstrate the effectiveness of our proposed method in identifying the true zero functions. Indeed, our proposed method has performance comparable to performing variable selection using the true covariance. The application to the motivating data indicates our proposed iterative algorithm makes a significant improvement in terms of decreasing prediction errors and identifying true zero functions.
Future extension of our methodology may take several directions. Quadratic roughness penalties are often applied to enforce smoothness of the coefficient functions in spline-based estimation frameworks. It would be worthwhile to incorporate an explicit roughness penalty in addition to the variable selection penalty to reduce sensitivity to the size of the basis expansion. Motivated by our application (in which repeated motions are made to each target by each subject), the development of methods that account for subject- and target-specific random effects is necessary.
Supplementary Material
Appendices to: Variable Selection in Function-on-Scalar Regression
Yakuan Chen, Jeff Goldsmith and Todd Ogden
A Proof of the theorems
These proofs follow the same general strategy of Zeng and Xie (2014) and Peng and Lu (2012).
For convenience of notation, we denote vec(YT) as w, X Φ as Z, vec(BT) as θ and vec(ET) as ε. Then Model (5) can be rewritten as
where is a vector of length nD with wi = (wi1, ··· , wiD)T, i = 1, ··· , n; is a nD × pK matrix with Zi = (Zi1, ··· , Zip), i = 1, ··· , n, where Zij, j = 1 ··· , p is a D × K matrix; and is a vector of length Kp with θj = (θj1, ··· , θjK)T, j = 1, ··· , p. Without loss of generality, we assume the first s groups of coefficients, , are nonzero and the rest p – s groups of coefficients, , are zeros. Let Zi+ denote the design matrix associated with θ+ and Zi0 denote the one associated with θ0 for i = 1, ··· , n. Therefore, we have and Zi = (Zi+|Zi0), where Zi+ = (Zi1, ··· , Zis) and Zi0 = (Zi(s+1), ··· , Zip). Also, where V is a nD × nD block diagonal matrix with diagonal elements, the D × D matrix Σ, i.e. and . Let denote the true values of the parameters. Everything is regarded as fixed unless specified otherwise. The conditions required for the proofs are
is a positive definite matrix;
λn → 0 and as n → ∞;
there exists an estimate of Σ for which each element is -consistent;
Σ is non-singular.
Proof of Theorem 1
The penalized least square objective function for estimating θ is
Let's consider a ball where C is a constant. Since B is a compact set and Q(θ) is a continuous function on B, there exists a minimum of Q(θ) on B. If Q(θ) > Q(θ*) for every θ on the boundary of B, then there exists a local minimizer inside the ball B.
Therefore it suffices to show that for any given ε > 0, there exists a constant C such that
| (A.1) |
This implies with probability at least 1 – ε that there exists a local minimizer in the ball B. Equivalently, for any given ε > 0, there exists a constant C such that , where is the local minimizer that satisfies .
Since pλn,γ(0) = 0, we have
First,
Let ν1 ≥ ··· ≥ νD > 0 and QΣ denote, respectively, the eigenvalues and the matrix formed by aligning the eigenvectors of Σ in columns; and QZ denote, respectively, the eigenvalues and the matrix formed by aligning the eigenvectors of of in columns. Under conditions (1), (3) and (4) and by the definition of eigen decomposition,
Therefore, .
Because ,
Additionally, since ,
which implies .
Because ,
Hence,
Then I1 ≥ 0 in ∥u∥ = C by choosing a sufficiently large C.
Moreover,
Since λn → 0 as n → ∞, for sufficiently large n, and for that satisfies by the definition of the MCP function.
Hence, by choosing a sufficiently large C, I1 + I2 ≥ 0 when n is large enough. Then we have Q(θ* + n−1/2u) > Q(θ*) with arbitrarily large probability 1 – ε, i.e., Inequality A.1 holds. Based on the discussions above, there exists a local minimizer such that
Proof of Theorem 2
The partial derivative of Q(θ) with respect to θj is
First,
Since and ,
Hence, .
In addition,
For any θn that satisfies ∥θn – θ*∥ = Op(n−1/2), under condition (1),
where has been shown in the proof of Theorem 1.
Also,
Therefore, we have .
Furthermore,
Since as n → ∞, there exists a C such that for any n. When , we have . Hence, J2 = Op(n) and the sign of is determined by θjk when n is large enough.
This means as n → ∞, with probability tending to 1, for any θ satisfying ∥θ – θ*∥ ≤ and constant C,
which implies
In other words, with probability approaching 1, Q(θ) reaches its minimum when θj = 0, j > s. In the proof of Theorem 1, we have shown that there exists a constant C such that . Therefore, with probability approaching 1.
Next we will prove the asymptotic normality of . is the minimizer of i.e. .
By expanding the equation above and dividing both sides of the equation by , we have, for j = 1, ··· , s,
By the definition of MCP function, when m > 2, therefore,
Since λn → 0 as n → ∞, we have , j = 1, ··· , s when n is large enough. Then for sufficiently large n, and , which indicates is negligible.
Therefore, by rearranging the equation above and combining all the s equations, we have
Since , by Slutsky's theorem, we have
Additionally, since ε1, ··· , εn are i.i.d. and is positive definite,
Hence,
By Slutsky's theorem again,
i.e.,
B Simulation results for data with i.i.d. errors
Similar simulation studies were conducted for the case that within-function errors are uncorrelated. Datasets were constructed in the same way as what we did for the correlated case in Section 3 except that the errors were generated from a Gaussian distribution with covariance Σ = I. Likewise, we implemented four of our proposed method: one-step approaches using raw and FPCA-based covariance matrix estimates, and iterative approaches using raw and FPCA-based covariance matrix estimates. Two different values for PVE, 0.5 and 0.99, were used in the approaches involving FPCA-based covariance matrix estimate. In addition, the approach that pre-whitens using true covariance matrix, as well as ordinary least squares, the variational Bayes approach, FS-LASSO and a method that assumes uncorrelated error curves, were included for comparison.
Table A.1 reports the true positive (TP) and true negative (TN) rates of the estimates of both zero and non-zero coefficient functions. Our iterative approaches using FPCA-based covariance matrix estimate outperform all competing approaches in terms of correctly identifying the zero functions. In this case, there is no sign of a substantial decline in performance for the approaches using PVE=0.5 compared with the ones using PVE=0.99. Most methods are capable of identifying β1(t), β2(t) and β3(t) as non-zero functions.
Estimates of zero and non-zero coefficient functions obtained using the iterative algorithm with FPCA-based covariance matrix estimate using PVE=0.99, as well as the mean squared error and squared bias are shown in Figure A.1. As indicated in Table A.1, none of the estimates of β1(·), β2(·) and β3(·) are set equal to zero. Driven by the sinusoidal shape of the coefficient function itself and by the shrinkage to zero, the squared bias curve of β1(·) presents a sinusoidal shape. On the contrary, the estimate of β2(·) and β3(·) are approximately unbiased owing to the structure of the penalty since their coefficients are relatively large. Due to the increased variability of curves at both ends of the distribution, large MSE is observed at both ends of the curves for all three non-zero coefficient functions.
Table A.1.
true positive (TP) and true negative (TN) rates of estimated coefficient functions, where FN is false negative and FP is false positive. They are estimated across all the training samples.
| FS-LASSO | 0.908 | 0.990 | 1.000 | 1.000 |
| MCP Assuming Independent Errors | 0.943 | 1.000 | 1.000 | 1.000 |
| One-step with Raw Matrix | 0.371 | 1.000 | 1.000 | 1.000 |
| Iterative with Raw Matrix | 0.822 | 1.000 | 1.000 | 1.000 |
| One-step with FPCA-based Matrix (PVE = 0.5) | 0.944 | 1.000 | 1.000 | 1.000 |
| Iterative with FPCA-based Matrix (PVE = 0.5) | 0.950 | 1.000 | 1.000 | 1.000 |
| One-step with FPCA-based Matrix (PVE = 0.99) | 0.945 | 1.000 | 1.000 | 1.000 |
| Iterative with FPCA-based Matrix (PVE = 0.99) | 0.951 | 1.000 | 1.000 | 1.000 |
| Pre-whiten with True Σ | 0.943 | 1.000 | 1.000 | 1.000 |
Figure A.1.
Estimates of zero functions (left) and non-zero functions (middle) obtained using the iterative approach with FPCA-based covariance matrix estimate using PVE=0.99 across all simulated datasets. The true functions are overlaid (bold curves). The right panel shows the both MSE (solid) and squared bias (dashed) as functions of time for all the coefficient functions.
RMISE for estimated zero and non-zero functions, as well as the prediction errors on the test sample are presented in Figure A.2. Comparisons based on PVE=0.99 and PVE=0.5 are shown in the top and bottom rows, respectively. Our iterative algorithm with FPCA-based covariance matrix estimate, in particular when PVE=0.99, compares favorably to other approaches, reinforcing the results from Table A.1. In terms of both RMISE and prediction error, it is comparable to the method assuming independent error and the one that pre-whitens using true Σ.
Figure A.2.
The top row shows the comparison among the algorithms when PVE = 0.99 while the second row shows the comparison when PVE = 0.5. The three columns show RMISE for zero functions (left) and non-zero functions (middle); and prediction error (right).
References
- Barber RF, Reimherr M, Schill T. The Function-on-Scalar LASSO with Applications to Longitudinal GWAS (technical report) 2015 [Google Scholar]
- Breheny P, Huang J. Group descent algorithms for nonconvex penalized linear and logistic regression models with grouped predictors. Statistics and Computing. 2013;23:1–15. doi: 10.1007/s11222-013-9424-2. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Crainiceanu Ciprian, Reiss Philip, Goldsmith Jeff, Huang Lei, Huo Lan, Scheipl Fabian. refund: Regression with Functional Data. R package version 0.1-11. 2014 [Google Scholar]
- Fan J, Li R. Variable selection via nonconcave penalized likelihood and its oracle properties. Journal of the American Statistical Association. 2001;96:1348–1360. [Google Scholar]
- Fugl-meyer AR, Jaasko L, Leyman I, Olsson S, Steglind S. The post-stroke hemiplegic patient: a method for evaluation of physical performance. Scandinavian Journal of Rehabilitation Medicine. 1975;7:13–31. [PubMed] [Google Scholar]
- Gertheiss J, Maity A, Staicu A-M. Variable selection in generalized functional linear models. Stat. 2013;2:86–101. doi: 10.1002/sta4.20. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Goldsmith J, Kitago T. Assessing systematic effects of stroke on motor control using hierarchical function-on-scalar regression. Journal of the Royal Statistical Society: Series C. 2015 doi: 10.1111/rssc.12115. Accepted. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Peng H, Lu Y. Model selection in linear mixed effect models. Journal of Multivariate Analysis. 2012;109:109–129. [Google Scholar]
- Ramsay JO, Silverman BW. Springer Series in Statistics. second edition Springer; 2005. Functional Data Analysis. [Google Scholar]
- Reiss P, Huang L, Mennes M. Fast function-on-scalar regression with penalized basis expansions. International Journal of Biostatistics. 2010;6:article–28. doi: 10.2202/1557-4679.1246. [DOI] [PubMed] [Google Scholar]
- Tibshirani R. Regression shrinkage and selection via the lasso. Journal of the Royal Statistical Society: Series B (Statistical Methodology) 1994;58:267–288. [Google Scholar]
- Wang L, Chen G, Li H. Group SCAD regression analysis for microarray time course gene expression data. Bioinformatics. 2007;23:1486–1494. doi: 10.1093/bioinformatics/btm125. [DOI] [PubMed] [Google Scholar]
- Yao F, Müller H-G, Wang J-L. Functional data analysis for sparse longitudinal data. Journal of the American Statistical Association. 2005;100:577–590. [Google Scholar]
- Yuan M, Lin Y. Model selection and estimation in regression with grouped variables. Journal of the Royal Statistical Society: Series B. 2006;68:49–67. [Google Scholar]
- Zeng L, Xie J. Group variable selection via SCAD-L2. Statistics. 2014;48:49–66. [Google Scholar]
- Zhang C-H. Nearly unbiased variable selection under minimax concave penalty. The Annals of Statistics. 2010;38:894–942. [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.







