User’s Guide : Advanced Single Equation Analysis : Elastic Net and Lasso : Working with Elastic Net Equations
  
Working with Elastic Net Equations
 
Estimation Output
Elastic Net Views and Procs
Coefficient Path
Graphs
Lambda Path Matrix
Lambda Path
Graphs
Fit Summary
Estimation Summary
Model Selection
Criteria Graph
Summary Table
Cross-validation Graph
Forecast
An elastic net equation estimated by EViews is a penalized regression specification featuring a number of specialized views and procedures. We describe below the basics of working with your estimated equation
Estimation Output
After you estimate your elastic net specification, EViews will display the main estimation output table which is customized for penalized regression. Alternatively, you can display the output by clicking on View/Estimation Output.
If you specify a single penalty parameter, EViews will display a single column of results:
Note that estimation at a single penalty value as illustrated here is not recommended by Hastie, Tibshirani, and Friedman (2010). For a variety of reasons, they recommend estimating models for an entire -path.
The header portion of the output describes the underlying equation specification information, including the sample information, the penalty specification, the specified penalty parameter, and any scaling of dependent variable or regressor scaling.
Here, we have estimated an elastic net model with and user-specified . There was no dependent variable scaling and the regressors were scaled using the population standard deviation.
The next section of the output shows the non-zero estimated coefficients reported at the original data scale. Notably, AGE, LBPH, and the other variables with zero coefficient are omitted. Note that standard errors are not provided for the penalized regression estimators since they may be misleading given the inherently biased nature of the estimator.
Below the coefficients section are reports of the usual measures of fit (R-squared, Adjusted R-squared, S.E. of regression, Sum squared resid), along with information on the number of Non-zero coefficients and Zero coefficients. In this case, in addition to the 3 displayed non-zero coefficients, there are 6 coefficients that estimation set to zero.
If you specify more than one penalty parameter, EViews will display modified output:
In addition to basic information, the header section now describes the path used in estimation. Here we see that the values are automatically determined, that the optimal of 0.11228 is selected using K-Fold cross-validation using a mean-squared error objective function and 5 folds.
If 3 or more penalties are provided, the coefficient output will have 3 columns of output. The first column shows estimation results for the optimal . The remaining columns illustrate the trade-off between higher penalties and poorer values of the cross-validation selection objective by displaying results for the most penalized specifications with objective values within 1 and 2 standard deviations of the optimum.
Here, 0.367659 is the largest yielding a cross-validation MSE within 1 standard deviation of the optimum, and 0.521147 is the largest producing a cross-validation MSE within 2 standard deviations of the optimum.
For 3 or fewer penalties, the output will display a column for each penalty value.
The coefficients section of the output shows estimates for all coefficients which are non-zero for at least one of the displayed penalty values. The coefficients for LBPH and PGG45, for example, are non-zero at the optimal value, but are 0 for the two other higher penalized specifications. Similarly the estimated coefficient for LWEIGHT is non-zero for the two lower values, but is 0 for the larger penalty.
The summary section at the bottom of the table shows the measures of fit, and information about the number of zero and non-zero coefficients for each value of .
The columns in this table may show results for only a subset of the in the path. Additional information about the full set of path coefficients, measures of fit, and cross-validation information is available in other equation views.
Elastic Net Views and Procs
While many of the views and procs for other equation estimators are not applicable in elastic net equations, most of those that are supported are based on the results for the optimal , but are otherwise self-explanatory. For example, the Actual-Fitted-Residuals and Representations views simply shows the standard views using residuals computed using results for the optimal . Similarly, the Forecast proc produces forecasts using coefficients obtained using the sole or optimal .
We focus here on the views specific to elastic net estimators. The views are divided into three main categories: coefficient path, lambda path, and model selection.
Coefficient Path
The Coefficient Path views show the behavior of the coefficient estimates along the -path. The results are displayed in graphical or matrix table form:
Graphs
If you select View/Coefficient Path/Graphs EViews displays a spool containing graphs of coefficient values against various values defined along the -path:
The Lambda graph is a plot of each of the coefficients (excluding the intercept) against the log of the penalty parameter showing the effect of increasing the penalty parameter on the estimates; as the value of the regularization penalty increases, the absolute value of each of the coefficients decreases, with coefficient driven to zero for large enough penalties.
Note that EViews will only display non-intercept coefficients that have a non-zero value in the path; coefficients that are always zero are not displayed and the graph titles will be modified to reflect this fact.
The vertical line shows the value of the log lambda at the cross-validation optimum.
The next set of graphs plot coefficients against various measures of fit such as the R‑squared, Adjusted R-squared, and S.E. of Regression:
The remaining graphs plot the non-intercept coefficients against the components of the estimation objective function: the Sum-of-squared Residuals, the L1-norm of the coefficients, the Squared L2-norm of the coefficients, and the Estimation Objective:
All of these graphs display a vertical line at the value corresponding to the cross-validation optimum .
Lambda Path Matrix
To display the coefficient values for the entire path of values, select View/Coefficient Path/Lambda Path Matrix.
The sheet shows the values of the coefficients along with the corresponding values of . If there are coefficients that have only zero values along the path, they will be dropped and the title will change to reflect this fact.
Lambda Path
The Lambda Path views show the behavior of various log values along the -path. The results are displayed in graphical or table form:
Graphs
If you select View/Lambda Path/Graphs, EViews displays a spool containing graphs of various values against the log values in the path:
All of the graphs display results plotted against the corresponding values of the log in the path:
The Non-zero Coefficients graph plots the number of non-zero coefficients.
The Model Selection graph plots the model selection objective.
The Fit Statistics graph plots the and Adjusted .
The Sum-of-squared Residuals, L1-norm, Squared L2-norm, and Estimation Objective display the corresponding elements of the estimation objective function.
The vertical line shows the value of the log of lambda at the cross-validation optimum.
Fit Summary
Selecting View/Lambda Path/Fit Summary displays a table showing the number of non-zero coefficients, the and adjusted fit statistics, and the SSR for the values in the path:
The row containing the selected optimal penalty will be highlighted.
Estimation Summary
Selecting View/Lambda Path/Estimation Summary displays a table showing the number of non-zero coefficients, estimation objective, components of the estimation objective, and the convergence status of the estimates for each value in the path:
The SSR Penalty, L1-norm Penalty, and L2-norm Penalty are the individual components of the Estimation Objective in Equation (37.1).
The row containing the selected optimal penalty will be highlighted.
Model Selection
The Model Selection views summarize results from the model selection procedure used to determine the optimal value of . While some of these views are standard model selection views, others have been customized for the current setting.
Criteria Graph
Click on View/Model Selection/Criteria Graph to show the top values for the model selection criteria along the corresponding :
Summary Table
Selecting View/Model Selection/Summary Table to show a table of model selection and fit statistics:
The Selection Objective column shows the values of the objective, in this case the K-Fold MSE, for each value of . Also displayed are the number of Non-zero Coefs associated with this specification.
The columns for SSR, MSE (df), R-squared, Adj. R-sq are measures of fit for the models associated with . They repeat the information from the Lambda Path Fit Summary to provide additional context to the model selection results.
The row containing the selected optimal penalty will be highlighted.
Cross-validation Graph
The cross-validation error graph (View/Model Selection/Cross-validation Graph), offers additional information about the distribution of the cross-validation results, showing the mean and +/- 1 standard deviation of the objective for each value of log .
The vertical line shows the value of the log of the penalty parameter at the cross-validation optimum.
Forecast
Clicking on Proc/Forecast brings up the standard forecast dialog. EViews will produce a forecast using the coefficients associated with the optimal penalty parameter if estimates are available for more than one .