The Poisson distribution with parameter lambda = .3 has been assigned for the outcome of an experiment. Let X be the outcome function. Find P(X = 0), P(X = 1).
P(X = 0)
(.3)^0 * exp(-.3) / factorial(0)
## [1] 0.7408182
P(X = 1)
(.3)^1 * exp(-.3) / factorial(1)
## [1] 0.2222455