Evaluating the probability as a one tailed students t distribution
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Ahmed Abdulla
le 13 Juin 2020
Modifié(e) : John D'Errico
le 13 Juin 2020
I have a value “tj” and I would like to evaluate the probability of this value using the students t distribution. I also have a variable “Df” degrees of freedom
Réponse acceptée
John D'Errico
le 13 Juin 2020
Modifié(e) : John D'Errico
le 13 Juin 2020
Just use tcdf.
df = 10;
ti = 2.35;
tcdf(-ti,df)
ans =
0.02032
tcdf(ti,df)
ans =
0.97968
So the probability you would see -ti OR less, is around 2% with 10 degrees of freedom. Likewise, the probability in the upper tail is
1 - tcdf(ti,df)
ans =
0.02032
0 commentaires
Plus de réponses (0)
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!