I have some t-values and degrees of freedom and want to find the p-values from them (it's two-tailed). In the real world I would use a t-test table in the back of a Statistics textbook; how do I do the equivalent in Python?
e.g.
t-lookup(5, 7) = 0.00245
or something like that.
I know in SciPy if I had arrays I could do scipy.stats.ttest_ind
, but I don't. I just have t-statistics and degrees of freedom.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…