What is actually going on in R (the statistics behind rbinom(3, 10, 0.75)?
I know the 3 is the number of observations, the 10 is the number of trials and 0.75 is the probability of success).
The first result from running the R code rbinom(3,10,0.75)
was 9 ,8 , 9.
The second result was 7, 8 ,7 .
The third result was 9, 6, 6 .
How is R creating the sequence of numbers? I know it is using the binomial distribution. nCx *p^x * (1-p)^(n-x) where p= 0.75, 1-p= 0.25, n=10, what is x?
What is the range of possible values? Thank you