Make a plot in R where you compare the probability distributions for the
Binomial distributions with N=1000 trials and succes probability 0.005 and
the Possion Distribution with rate lambda=5.

My answer is 

b<-binom(x, 1000, 0.005, log = FALSE)
plot(b)

p<-dpois(x, lambda, log = FALSE)
plot(p)

*Is this the right way to solve the problem?*



--
View this message in context: 
http://r.789695.n4.nabble.com/Bionomial-and-possion-tp4641531.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to