Linear regression outputs (regstat function)
조회 수: 3 (최근 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개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!