Linear regression outputs (regstat function)

조회 수: 3 (최근 30일)
Vedi Ghahremanyans
Vedi Ghahremanyans 2020년 1월 24일
댓글: Vedi Ghahremanyans 2020년 1월 24일
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?

채택된 답변

Ridwan Alam
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 CenterFile Exchange에서 Model Building and Assessment에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by