Skip to main content
. Author manuscript; available in PMC: 2016 Aug 23.
Published in final edited form as: Mol Psychiatry. 2016 Feb 23;21(9):1194–1201. doi: 10.1038/mp.2016.5

Figure 1. LASSO plots generated in GLMNET.

Figure 1

A. Plot of variable fit. Each curve corresponds to an independent variable in the full model prior to optimization. Curves indicate the path of each variable coefficient as λ varies. Lambda.min corresponds to the λ which minimizes mean squared error in the model and was used for the selection of the seven predictor variables B. Plot of non-zero variable fit after cross validation. Representation of the 10-fold cross validation performed in LASSO that chooses the optimal λ. Lambda.min corresponds to the λ which minimizes mean squared error and was used for variable selection. Lambda.1se corresponds to the λ that is one standard error from the lambda.min.