Hello,

We are required to do the following:

Find the frequencies of 1000 random numbers obtained from a binomial distribution whose parameters are n=10 and probability = .5

I'm curious to know if what I have done in R is correct:

> rbinom(10,1000,.5)
[1] 493 507 498 501 518 508 524 485 487 498
> (rbinom(10,1000,.5))/1000
[1] 0.495 0.491 0.517 0.509 0.477 0.504 0.493 0.498 0.515 0.501

My other question is, what exactly is this? what makes this different from dbinom, qbinom, pbinom?

So there are 10 trials and 50% probability on each trial. What is the 1000 for?

Thank you all for your help,

M