关于t分布我们可以通过查t分布表的方式来获取其单边或双边的置信区间的数值,那么在python中有没有什么方法可以计算,而不需要人工查表。如下图所示:
走同样的路,发现不同的人生
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.
Just use the inverse function of the cumulative density function to determine it.
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.
Just use the inverse function of the cumulative density function to determine it.