Re: Re: Re: Re: Untitled

From Sole Agouti, 2 Months ago, written in Plain Text, viewed 75 times. This paste is a reply to Re: Re: Re: Untitled from Sloppy Hummingbird - view diff
URL http://codebin.org/view/f2e4a0e1 Embed
Download Paste or View Raw
  1. from math import sqrt
  2. from scipy import stats as st
  3.  
  4. n = 550000  # задайте параметры
  5. p = 11.4 # биномиального распределения
  6.  
  7. mu = n * p # рассчитайте параметры
  8. sigma = sqrt(n * p * (1 - p))
  9. #sigma = sqrt(n * p * (1 - p)) # нормального распределения
  10.  
  11. distr = st.norm(mu, sigma)# задайте нормальное распределение
  12.  
  13. result = distr.cdf(63000)# найдите вероятность
  14. print(result)

Replies to Re: Re: Re: Re: Untitled rss

Title Name Language When
Re: Re: Re: Re: Re: Untitled Sweet Motmot text 1 Month ago.

Reply to "Re: Re: Re: Re: Untitled"

Here you can reply to the paste above