As far as I am concerned MASS::lm.ridge does not calculate p-values for your coefficients. You could use the linearRidge function from the ridge package, however, which does. See the following example:
楼主,你好~请问你用R做岭回归之后的显著性有没有做出来呢??我用了总是出现下面的错误
library(ridge)
Warning message:
package ‘ridge’ was built under R version 3.0.2
> mymod <- linearRidge(y ~ ., d)
Error in numeric(nPCs) : invalid 'length' argument
求指点~万分感谢[em:9:]