How do I obtain the linear intercept from each iteration using stepwisefit or stepwiselm?
1 次查看(过去 30 天)
显示 更早的评论
I'm performing a multi-variate regression analysis on 4 predictor variables (X) and a response variable (y). I want to be able to force all 4 of the predictor variables into the regression analysis and obtain the intercept for this. I'm able to force all the predictor variables into the analysis using the Stepwisefit function, however the intercept is only output for the final iteration. Does anyone know how I could obtain the y intercept for each iteration using either of these functions?
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Regression 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!