how to check the 'contribution' of each predictor in a linear regression

조회 수: 3 (최근 30일)
cgo
cgo 2018년 11월 19일
답변: Star Strider 2018년 11월 19일
I have linear regression model, say with 5 predictors, . I wanted to know how we can perform tests regarding the 'contribution' of each predictor.
Does matlab have a function that tests all possible subsets of predictors and outputs the error?
Thanks

채택된 답변

Star Strider
Star Strider 2018년 11월 19일
You are describing a stepwise multiple linear regression. Seee the documentation on the stepwiselm (link) function and its friends for details.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Linear Regression에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by