cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Register for our Discovery Summit 2024 conference, Oct. 21-24, where you’ll learn, connect, and be inspired.
%3CLINGO-SUB%20id%3D%22lingo-sub-783398%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E5%A6%82%E4%BD%95%E5%BE%9E%20Elastic%20Net%20Regression%20%E5%B9%B3%E5%8F%B0%E5%8F%96%E5%BE%97%20R-Sq%E3%80%81L1%E3%80%81L2%20%E5%92%8C%20lambda%20%E7%9A%84%E5%80%BC%E4%BB%A5%E4%BE%BF%E6%AF%94%E8%BC%83%E6%A8%A1%E5%9E%8B%EF%BC%9F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-783398%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E6%88%91%E6%AD%A3%E5%9C%A8%E6%AF%94%E8%BC%83%E8%BC%83%E5%B0%8F%E8%B3%87%E6%96%99%E9%9B%86%E4%B8%8A%E4%B8%80%E4%BA%9B%E5%BD%88%E6%80%A7%E7%B6%B2%E8%B7%AF%E5%9B%9E%E6%AD%B8%E6%A8%A1%E5%9E%8B%E7%9A%84%E4%B8%8D%E5%90%8C%E5%8F%83%E6%95%B8%E8%A8%AD%E7%BD%AE%EF%BC%8C%E4%BB%A5%E6%BC%94%E7%A4%BA%E4%BD%95%E6%99%82%E8%B3%87%E6%96%99%E9%9B%86%E5%B0%8D%E6%96%BC%E5%9B%9E%E6%AD%B8%E6%96%B9%E6%B3%95%E4%BE%86%E8%AA%AA%E5%A4%AA%E5%B0%8F%EF%BC%8C%E4%B8%A6%E4%B8%94%E6%83%B3%E8%A6%81%E5%9C%A8%20JMP%E3%80%81SAS%E3%80%81R%20%E5%92%8C%20Python%20%E4%B9%8B%E9%96%93%E9%80%B2%E8%A1%8C%E6%AF%94%E8%BC%83%E3%80%82%E9%9B%96%E7%84%B6%E6%88%91%E5%8F%AF%E4%BB%A5%E8%A8%AD%E5%AE%9A%20alpha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%9F%E6%A8%A1%E5%9E%8B%E6%AF%94%E8%BC%83%E6%91%98%E8%A6%81%E7%B5%B1%E8%A8%88%E8%B3%87%E6%96%99%EF%BC%88%E5%A6%82%E6%9E%9C%E6%88%91%E9%81%B8%E6%93%87%20AICc%20%E6%88%96%20BIC%20%E4%BD%9C%E7%82%BA%20CV%20%E6%96%B9%E6%B3%95%EF%BC%8C%E5%89%87%E7%94%A2%E7%94%9F%EF%BC%89...%E6%98%AF%E9%80%99%E6%A8%A3%E5%97%8E%EF%BC%9F%3C%2FP%3E%3CP%3E%E6%8F%90%E5%89%8D%E8%87%B4%E8%AC%9D%E3%80%82%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-783398%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3E%E9%80%B2%E9%9A%8E%E7%B5%B1%E8%A8%88%E5%BB%BA%E6%A8%A1%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-783411%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E5%9B%9E%E8%A6%86%EF%BC%9A%E5%A6%82%E4%BD%95%E5%BE%9E%E5%BD%88%E6%80%A7%E7%B6%B2%E8%B7%AF%E5%9B%9E%E6%AD%B8%E5%B9%B3%E5%8F%B0%E5%8F%96%E5%BE%97%20R-Sq%E3%80%81L1%E3%80%81L2%20%E5%92%8C%20lambda%20%E7%9A%84%E5%80%BC%E4%BB%A5%E4%BE%BF%E6%AF%94%E8%BC%83%E6%A8%A1%E5%9E%8B%EF%BC%9F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-783411%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E6%82%A8%E5%8F%AF%E4%BB%A5%E9%80%8F%E9%81%8E%E5%8F%B3%E9%8D%B5%E5%96%AE%E6%93%8A%E6%95%B8%E5%AD%97%E5%88%97%E4%B8%A6%E9%81%B8%E6%93%87%E2%80%9C%E7%94%9F%E6%88%90%E8%B3%87%E6%96%99%E8%A1%A8%E2%80%9D%E4%BB%A5%E4%BA%92%E5%8B%95%E6%96%B9%E5%BC%8F%E6%8F%90%E5%8F%96%E9%80%99%E4%BA%9B%E5%80%BC%E3%80%82%E6%82%A8%E5%8F%AF%E4%BB%A5%E7%B7%A8%E5%AF%AB%E6%AD%A4%E6%93%8D%E4%BD%9C%E6%88%96%E6%9B%B4%E5%85%B7%E9%AB%94%E7%9A%84%E6%8F%90%E5%8F%96%E8%85%B3%E6%9C%AC%E3%80%82%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-783602%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E5%9B%9E%E8%A6%86%EF%BC%9A%E5%A6%82%E4%BD%95%E5%BE%9E%20Elastic%20Net%20Regression%20%E5%B9%B3%E5%8F%B0%E5%8F%96%E5%BE%97%20R-Sq%E3%80%81L1%E3%80%81L2%20%E5%92%8C%20lambda%20%E7%9A%84%E5%80%BC%E4%BB%A5%E4%BE%BF%E6%AF%94%E8%BC%83%E6%A8%A1%E5%9E%8B%EF%BC%9F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-783602%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E6%84%9F%E8%AC%9D%E9%80%99%E5%80%8B%E9%A6%AC%E5%85%8B%EF%BC%8C%E4%BD%86%E6%88%91%E4%BB%80%E8%87%B3%E7%84%A1%E6%B3%95%E5%9C%A8%E8%BC%B8%E5%87%BA%E4%B8%AD%E6%89%BE%E5%88%B0%E8%83%BD%E5%A4%A0%E5%81%9A%E5%88%B0%E9%80%99%E4%B8%80%E9%BB%9E%E7%9A%84%E5%80%BC%E3%80%82%20JMP%20%E6%8A%80%E8%A1%93%E4%BA%BA%E5%93%A1%E7%9A%84%E5%9B%9E%E6%87%89%E8%AA%AA%E2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%BA%BC%20JMP%20%E4%B8%8D%E9%80%99%E6%A8%A3%E5%81%9A%EF%BC%9F%3C%2FP%3E%3C%2FLINGO-BODY%3E
Choose Language Hide Translation Bar
gemmahodgson
Level III

How do I get the value of the R-Sq, L1, L2 and lambda out of Elastic Net Regression platform so I can compare models?

I am comparing different parameter settings for some elastic net regression models on a smallish data set to demonstrate at what point datasets are too small for regression methods and want to compare between JMP, SAS, R and Python. Although I can set the alpha, I can't see how to directly output the lambda, L1 and L2 values that are used in the chosen models and the resulting R-Sq for the model. Is there a secret right click somewhere I'm missing as I would've thought these are pretty straightforward things that people want to see? And the other software seem to give these in varying ways.

I am using JMP Po 18 and using the Leave one out cross validation method - which also seems to mean no model comparison summary statistics are generated (they are if I choose AICc or BIC as the CV method)...is that right?

Thanks in advance.

2 REPLIES 2

Re: How do I get the value of the R-Sq, L1, L2 and lambda out of Elastic Net Regression platform so I can compare models?

You can interactively extract these values by right-clicking on the column of numbers and selecting Make Into Data Table. You can script this action or a more specific extraction.

gemmahodgson
Level III

Re: How do I get the value of the R-Sq, L1, L2 and lambda out of Elastic Net Regression platform so I can compare models?

Thanks for this Mark, but I can't even find the values in the output to be able to do that. A reply from a JMP technician said "they don't surface these values", which I find a bit hard to understand as surely one wants to be able to see the lambda, L1 and L2 at the very least. Unless they are called by a different name in the JMP output?

They also said you don't get an R-Sq if you use K-Fold or LOO as validation - but no explanation as to why not - any ideas? I'm pretty sure SAS gives these directly so I'm not sure why JMP is not doing it?