Re: Re: Re: Re: Untitled

From Sole Agouti, 5 Months ago, written in Plain Text, viewed 113 times. This paste is a reply to Re: Re: Re: Untitled from Sloppy Hummingbird - go back
URL http://codebin.org/view/f2e4a0e1/diff Embed
Viewing differences between Re: Re: Re: Untitled and Re: Re: Re: Re: Untitled
from scipy.stats math import poisson

guests_threshold 
sqrt
from scipy import stats as st

550000  # ??????? ????? ????????? 
p = 11.4 # ????????????? ?????????????

mu = n * p # ??????????? ????????? 
sigma = sqrt(n * p * (1 - p))
#sigma = sqrt(n * p * (1 - p)) # ??????????? ?????????????

distr = st.norm(mu, sigma)# ??????? ?????????? ?????????????

result = distr.cdf(63000)# ??????? 
???????????
lmbd = 20/4  # ??????? ??? ??????????? ???????? ??????

# ???????? ?? ????? ???????????? ???????????
print( 1 - poisson.cdf(guests_threshold, lmbd)
)
print(result)

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

Title Name Language When
Re: Re: Re: Re: Re: Untitled Sweet Motmot text 3 Months ago.

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

Here you can reply to the paste above