Seems straight forward but how would I get a p value if I have calculated the test statistic and have the degrees of freedom.
This example uses the method in Zar(1996) for comparing regression equations (Chapter 17)
the formula for the t-statistic is
t = (b1-b2) / (sb1-sb2)
where b1 and b2 is the calculated coefficient of two different lines here the values are:
b1=1.353712741
b2 = 1.249425897
and the errors for those coefficients are:
sb1 = 0.32542874
sb2 = 0.197671413
Using the formula for the t-statistic I get an answer of:
t = 8.480670589
alpha = 0.05
d.f.= 17
Essentially what I am looking for is a similar function to T.Dist.2T(test statistic, degrees of freedom) in Excel.