Linear regression outputs (regstat function)
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Vedi Ghahremanyans
il 24 Gen 2020
Commentato: Vedi Ghahremanyans
il 24 Gen 2020
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 Commenti
Risposta accettata
Ridwan Alam
il 24 Gen 2020
Modificato: Ridwan Alam
il 24 Gen 2020
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.
Più risposte (0)
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!