MATLAB Answers

Obtaining the P values for the t stat

651 views (last 30 days)
Ahmed Abdulla
Ahmed Abdulla on 10 Jun 2020
Answered: dpb on 10 Jun 2020
I have both the tstat and the degrees of freedom, is there a quick way to find the P value of a two tailed hypothesis at a significance of 0.05

  0 Comments

Sign in to comment.

Accepted Answer

dpb
dpb on 10 Jun 2020
p = 1-tcdf(t,n-1) % Probability of larger t-statistic
requires Statistics Toolbox...

  0 Comments

Sign in to comment.

More Answers (0)

Tags

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!