0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

scipy.stats: ベイズ統計による信頼区間 bayes_mvs

Last updated at Posted at 2022-06-08

scipy.stats: ベイズ統計による信頼区間 bayes_mvs

ベイズ統計による,平均値,分散,標準偏差およびそれらの信頼区間を求める。

bayes_mvs(data, alpha=0.9)

戻り値は,平均値,分散,標準偏差およびそれらの信頼区間である。

from scipy.stats import bayes_mvs
import numpy as np

x = np.array([49.3, 57.4, 40.4, 57.8, 60.9, 62.8, 51.5, 42.3, 53.3, 46.1])
bayes_mvs(x)
(Mean(statistic=52.17999999999999, minmax=(47.72731707529156, 56.632682924708426)),
 Variance(statistic=75.85942857142857, minmax=(31.38582084623029, 159.6986403355363)),
 Std_dev(statistic=8.405156481984777, minmax=(5.602304958339049, 12.637192739510477)))
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?