Linear regression outputs (regstat function)
4 次查看(过去 30 天)
显示 更早的评论
Why does t value in tstat (using the regstat function) shows two outputs? It’s the same for the “beta” output. Why is there two outputs?
0 个评论
采纳的回答
Ridwan Alam
2020-1-24
编辑:Ridwan Alam
2020-1-24
The first one is for the constant coefficient (aka intercept term).
I believe you have only one predictor x, then your model is y ~ beta0 + beta1*x.
The two values correspond to these two coefficients beta0 and beta1.
Hope this helps.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Regression 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!