Elina Azrilyan

October 8th, 2019

  1. The Poisson distribution with parameter λ = .3 has been assigned for the outcome of an experiment. Let X be the outcome function. Find P (X = 0), P (X = 1), and P (X > 1).
#P (X = 0)
lam<-0.3

P<- ppois(0, lam)

P
## [1] 0.7408182
#P (X = 1)
P<- ppois(1, lam) - ppois(0, lam)

P
## [1] 0.2222455
#P (X > 1)
P<- ppois(1, lam, lower.tail = FALSE)

P
## [1] 0.03693631