We just started learning R in my statistics class, and I am confused by the use of the rbinom and pbinom functions.
Here is the type of problem I am trying to do.
Suppose we roll a die 50 times. The random variable Y=the number of rolls that show a 5 or a 6.
How would I find:
Sorry if the post is not in the right place but I am new here. I am comparing the performance of two monte carlo methods.
The results I got are the marginals for the same set of random variables. Lets say for example:
First Method Second Method