Does stepwisefit function is able to evaluate using adjusted R-squared instead p-value?

조회 수: 1 (최근 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.

채택된 답변

Tom Lane
Tom Lane 2016년 3월 11일
There is a newer function that can do that:
load hald
stepwiselm(ingredients,heat,'Criterion','adjrsquared')

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Functional Programming에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by