BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
dunrokay
Calcite | Level 5
My question:
If you have a set of features/variables for which you perform ridge regression (X features with a Y dependent variable), to generate weights/scores,
which is the most statistically sound approach of applying the ridge weights to the original standardized (mean = 0, SD=1) X matrix so that you can perform other downstream analyses?
 
Is it okay to just apply the ridge weights directly: |ridge weights| * Xmatrix? Where you multiply the i_th row of X by ridge weights [i].
 
Just to be clear, I am aware of Rick's response here https://communities.sas.com/t5/Statistical-Procedures/Ridge-regressions-with-weights-proc-reg/td-p/3...  BUT I need some clarity..got a little confused with the square root explantion.
 
I'm trying to understand how to make use of the weights in the most appropriate manner/multiply the original X matrix with the weights.
 
Many thanks!
1 ACCEPTED SOLUTION

Accepted Solutions
Rick_SAS
SAS Super FREQ

I'm sorry, but I cannot understand your question. Please provide data and output from the ridge regression (PROC REG) so that we can clarify what you are trying to do.

 

If you want to understand how to formulate ridge-regression in terms of matrix operations on centered and scaled data, see the article "Understanding ridge regression in SAS," which shows the matrix formulation and how to reproduce the output of PROC REG by using the matrix equations.

View solution in original post

1 REPLY 1
Rick_SAS
SAS Super FREQ

I'm sorry, but I cannot understand your question. Please provide data and output from the ridge regression (PROC REG) so that we can clarify what you are trying to do.

 

If you want to understand how to formulate ridge-regression in terms of matrix operations on centered and scaled data, see the article "Understanding ridge regression in SAS," which shows the matrix formulation and how to reproduce the output of PROC REG by using the matrix equations.

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 714 views
  • 0 likes
  • 2 in conversation