Stats

Popular Posts

Followers

SPSS macro for Ridge regression

養花種魚數月亮賞星星 於 2008年2月24日星期日 下午7:49 發表

In Regression model, collinearity means that within the set of predictor variables, some of the predictor variables are (nearly) totally predicted by the other independent variables . When the predictor variables are highly correlated amongst themselves, the coefficients of the resulting least squares fit may be very imprecise. By allowing a small amount of bias in the estimates, more reasonable coefficients may often be obtained. Ridge regression is one method to address these issues. Often, small amounts of bias lead to dramatic reductions in the variance of the estimated model coefficients. In SPSS, you can use the following syntax to perform Ridge regression.

INCLUDE 』C:\Program Files\SPSS\Ridge regression.sps'.
RIDGEREG DEP=Y /ENTER = X1 to Xp

Tags: ,

讀者回應 ( 0 意見 )

發佈留言

Please leave your name and tell me what you thought about this site. Comments, suggestions and views are welcomed.

如果這篇文章對你有幫助,那請留個訊息給我~