Stepwisefit without the constant term

1 visualizzazione (ultimi 30 giorni)
Maria445
Maria445 il 16 Apr 2019
Commentato: dpb il 2 Mag 2019
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 Commenti
Maria445
Maria445 il 2 Mag 2019
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 il 2 Mag 2019
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...

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Programming in Help Center e File Exchange

Prodotti


Release

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by