Re: [R] Bionomial and possion

2012-08-28 Thread peter dalgaard
On Aug 28, 2012, at 10:43 , quantum wrote: > 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 =

[R] Bionomial and possion

2012-08-28 Thread quantum
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) *