Hi,

I had a questions about doing ridge regression in R. 

Why is it that when I try this on datasets with more predictors than samples 
(p>n) using lambda=0, it still finds coefficients for all predictors? I thought 
when lambda=0, it should be like ordinary regression and therefore not find 
coefficients for all due to singularity? 

I would greatly appreciate your help.

Thank you,

--James K.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to