Linear regression outputs (regstat function)

4 ビュー (過去 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 Center および File ExchangeModel Building and Assessment についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by