search

Home  >  Q&A  >  body text

python中如何计算t分布的值?

关于t分布我们可以通过查t分布表的方式来获取其单边或双边的置信区间的数值,那么在python中有没有什么方法可以计算,而不需要人工查表。如下图所示:

怪我咯怪我咯2786 days ago1553

reply all(2)I'll reply

  • 迷茫

    迷茫2017-04-18 10:25:51

    If you can use a third-party library, scipy is recommended. Commonly used probability distributions are provided, student distribution in scipy.
    You can directly get the confidence interval by using its interval method.

    reply
    0
  • PHP中文网

    PHP中文网2017-04-18 10:25:51

    Just use the inverse function of the cumulative density function to determine it.

    reply
    0
  • Cancelreply