Stepwisefit without the constant term

조회 수: 1 (최근 30일)
Maria445
Maria445 2019년 4월 16일
댓글: dpb 2019년 5월 2일
Hi, does anyone know of a way to force the function stepwisefit to yield a model with NO intercept term?
I would like to remove it from my model, but don't know how
  댓글 수: 3
Maria445
Maria445 2019년 5월 2일
Thank you for the suggestion! I tried and (temporarily) modified the stepwisefit.m file (as the local copy didn't run). It seems to do the job!
dpb
dpb 2019년 5월 2일
Yeah, it's often a mess to do that (local copies, that is) because they rely on private functions and the like that aren't publicly visible outside the particular directory...

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

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

제품


릴리스

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by