Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Leer Challenge | Discrete Distributions
Probability Theory

book
Challenge

Taak

Swipe to start coding

Imagine you posted something to your favorite social network and decided to calculate the number of likes and decide to calculate the probability receive 990990 likes. Follow the algorithm:

  1. Import poisson object.
  2. Calculate the probability of receiving exactly 990990 likes with the mean value 1000000.

Look to the graph that corresponds to the distribution:

task

Oplossing

# Import 'poisson' object
from scipy.stats import poisson

# Calculate the probability
prob = poisson.pmf(k = 990990, mu = 1000000)

print("The probability is", prob)

Was alles duidelijk?

Hoe kunnen we het verbeteren?

Bedankt voor je feedback!

Sectie 4. Hoofdstuk 7
single

single

# Import 'poisson' object
___

# Calculate the probability
prob = ___.___(k = ___, mu = ___)

print("The probability is", prob)

Vraag AI

expand

Vraag AI

ChatGPT

Vraag wat u wilt of probeer een van de voorgestelde vragen om onze chat te starten.

some-alt