how to check the 'contribution' of each predictor in a linear regression
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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
0 Commenti
Risposta accettata
Star Strider
il 19 Nov 2018
You are describing a stepwise multiple linear regression. Seee the documentation on the stepwiselm (link) function and its friends for details.
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Linear Regression in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!