Untitled

From Tinct Butterfly, 7 Months ago, written in Plain Text, viewed 317 times.
URL http://codebin.org/view/2809e330 Embed
Download Paste or View Raw
  1. from math import sqrt
  2. from scipy import stats as st
  3.  
  4. n = 550000 # задайте параметры
  5. p = 0.114 # биномиального распределения
  6.  
  7. mu = n * p # рассчитайте параметры
  8. sigma =sqrt(n * p * (1 - p))  #нормального распределения
  9.  
  10. distr = st.norm(mu, sigma)  #задайте нормальное распределение
  11.  
  12. result = distr.cdf(63000) # найдите вероятность
  13. print(result)

Replies to Untitled rss

Title Name Language When
Re: Untitled Abrupt Porcupine text 1 Day ago.
Re: Untitled Harmless Echidna text 1 Week ago.
Re: Untitled Cream Owl text 1 Month ago.
Re: Untitled Hot Matamata text 1 Month ago.
Re: Untitled Diminutive Hog text 3 Months ago.
Re: Untitled Unique Iguana text 3 Months ago.
Re: Untitled Toxic Treeshrew text 5 Months ago.

Reply to "Untitled"

Here you can reply to the paste above