Does stepwisefit function is able to evaluate using adjusted R-squared instead p-value?
3 次查看(过去 30 天)
显示 更早的评论
I want to select the most relevant variables for a model. I use stepwise fit which evaluates individually by p-value, instead I want to evaluate by using adjusted R-Squared to have an idea of how much the selected variables explain the model.
0 个评论
采纳的回答
Tom Lane
2016-3-11
There is a newer function that can do that:
load hald
stepwiselm(ingredients,heat,'Criterion','adjrsquared')
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!