Can one get fitted value without going to predict?
Afficher commentaires plus anciens
I have a regression
mdl=fitlm(X,Y)
How can one obtain the fitted value of the regression without going for predict?
1 commentaire
Scott MacKenzie
le 30 Juil 2021
I had posted an answer but then read Jeff's answer, posted a few hours after mine. As Jeff is "guessing" so was I.
@alpedhuez, if Jeff's answer is what you are looking for, that's great. Please accept his answer.
If it's not what you are looking for, then please explain what you want. Explain what you mean by "fitted value" (why singular? coefficients? predictions? just one prediction? closeness of fit? etc.) and "without going for predict".
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Linear Predictive Coding dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!