# How is the p value calculated in this example?

Hi,

how is the p value calculated to be 0.304?

I tried using the p value from T score calculator at https://www.socscistatistics.com/pvalues/tdistribution.aspx with df = 9, significance level = 0.05, one-tailed and T score of 1.83 but I get, "The *p*-value is .050248."

Thank you.

T-score is 2.29 not 1.83. And also in excel I found the formula to calculate the P-value. T.DIST.RT(T-score, DF)

Hi Timur, how did you derive the t-value of 2.29? For 9 df, at 5% significance level for one-sided test, it is 1.833, in the table.

Dear Ariful Amin, sorry I forgot about which part was the question about.

If it is hypothesis testing on two means, dependent, then the T-score is calculated Sample mean/std. error.

I hope this helps.

Sorry Ariful, you are saying "t-value" but this was Confidential interval. in Hypothesis testing there are "T-score" and "t critical value".

T-score is calculated sample mean - zero hypothesis/std.error which equal to -2.29, and the t critical value is 1.83 for one-side testing. And there is the p-value 0.024. And seemingly p-value for left and right tests are calculated differently. I cannot explain that but.