This is from Stack Overflow:
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:
data(longley)
names(longley)[1] <- "y"
# install ridge package first
library(ridge)
mymod <- linearRidge(y ~ ., longley)
summary(mymod)



雷达卡





京公网安备 11010802022788号







