Linear regression outputs (regstat function)
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Vedi Ghahremanyans
le 24 Jan 2020
Commenté : Vedi Ghahremanyans
le 24 Jan 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 commentaires
Réponse acceptée
Ridwan Alam
le 24 Jan 2020
Modifié(e) : Ridwan Alam
le 24 Jan 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.
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Regression dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!