How can one get t-stat of fitlm as an output?

2 次查看(过去 30 天)
I checked
but it does not seem to say how one can get t-stat as an output. Please advise.

采纳的回答

Rik
Rik 2020-12-1
It is in the top example:
load carsmall
X = [Weight,Horsepower,Acceleration];
mdl = fitlm(X,MPG);
mdl.Coefficients.tStat
ans = 4×1
12.3699 -5.8023 -1.7663 -0.0599

更多回答(0 个)

标签

Community Treasure Hunt

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

Start Hunting!

Translated by