The Poisson distribution models the number of times an event happens in a fixed interval of time or space, when events occur independently and at a constant average rate.
Click to reveal answer
beginner
What parameter does the Poisson distribution use?
It uses a single parameter called lambda (λ), which represents the average number of events in the interval.
Click to reveal answer
intermediate
How do you calculate the probability of exactly k events in Poisson distribution?
The probability is given by P(k) = (λ^k * e^(-λ)) / k!, where k is the number of events, λ is the average rate, and e is Euler's number.
Click to reveal answer
beginner
In Python's scipy library, which function generates Poisson probabilities?
The function is scipy.stats.poisson.pmf(k, mu), where k is the number of events and mu is the average rate λ.
Click to reveal answer
beginner
What real-life example fits the Poisson distribution?
Counting the number of emails you receive in an hour, assuming emails come independently and at a steady average rate.
Click to reveal answer
What does the parameter λ represent in a Poisson distribution?
AThe variance of the events
BThe average number of events in the interval
CThe total number of events observed
DThe time between events
✗ Incorrect
λ (lambda) is the average number of events expected in the fixed interval.
Which scipy function calculates the probability mass function for Poisson?
Ascipy.stats.poisson.pmf
Bscipy.stats.poisson.cdf
Cscipy.stats.norm.pdf
Dscipy.stats.binom.pmf
✗ Incorrect
pmf stands for probability mass function, which gives the probability of exactly k events.
If λ = 3, what is the probability of 0 events occurring?
A3^0
B0
Ce^(-3)
D1
✗ Incorrect
P(0) = (3^0 * e^(-3)) / 0! = e^(-3).
Poisson distribution assumes events occur:
AOnly once
BIn clusters
CWith increasing frequency over time
DIndependently and at a constant average rate
✗ Incorrect
Poisson assumes independent events with a steady average rate.
Which of these is NOT a typical use of Poisson distribution?
AHeight of people in a group
BNumber of cars passing a checkpoint
CNumber of decay events from a radioactive source
DNumber of phone calls received per hour
✗ Incorrect
Height is continuous and usually modeled by normal distribution, not Poisson.
Explain the Poisson distribution and when it is used.
Think about counting rare events over time or space.
You got /4 concepts.
Describe how to calculate the probability of k events using the Poisson formula.
Remember the role of e and factorial in the formula.
You got /4 concepts.
Practice
(1/5)
1. What does the Poisson distribution model in data science?
easy
A. The probability of a variable being normally distributed
B. The average value of a continuous variable
C. The relationship between two categorical variables
D. The number of events happening in a fixed interval of time or space
Solution
Step 1: Understand the Poisson distribution concept
The Poisson distribution is used to model counts of events that happen independently in a fixed interval of time or space.
Step 2: Match the concept to the options
The number of events happening in a fixed interval of time or space correctly describes this as the number of events in a fixed interval, while others describe unrelated concepts.
Final Answer:
The number of events happening in a fixed interval of time or space -> Option D
Quick Check:
Poisson models event counts in intervals = A [OK]
Hint: Poisson counts events in fixed intervals, not averages or categories [OK]
Common Mistakes:
Confusing Poisson with normal distribution
Thinking Poisson models averages instead of counts
Mixing Poisson with categorical data analysis
2. Which of the following is the correct way to import the Poisson distribution from scipy.stats?
easy
A. from scipy.stats import poisson
B. import poisson from scipy.stats
C. from scipy import poisson.stats
D. import scipy.poisson
Solution
Step 1: Recall correct Python import syntax
Python imports use 'from module import object' format. The Poisson distribution is in scipy.stats as 'poisson'.
Step 2: Check each option's syntax
from scipy.stats import poisson uses correct syntax. Options A, B, and C have incorrect import statements.
Final Answer:
from scipy.stats import poisson -> Option A
Quick Check:
Correct import syntax = D [OK]
Hint: Use 'from scipy.stats import poisson' to import Poisson [OK]