store residuals of fitlm model
16 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Christoph Meier
am 13 Aug. 2015
Kommentiert: Qinyao Zhou
am 4 Dez. 2019
Dear Matlab community,
I made a multiple time series regression model, using the command
M1 = fitlm(model,Y)
I now would like to store the residuals as a separate variable.
the command
Resid1 = residuals(M1)
does not work somehow, as it says it is for mixed effect models.
What would be the right command for a fitlm model?
Thank you very much in advance!
Chris
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Analysis of Variance and Covariance finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!