Question: please please please be clear 8. For the following problems, write down how you would code the probabilities requested into R. You should use the

please please please be clear

please please please be clear 8. For the following problems, write down

8. For the following problems, write down how you would code the probabilities requested into R. You should use the specialized distribution functions mentioned in the lecture notes from Sections 5.2-5.5. There is one problem for each distribution (Binomial, Poisson, Geometric, and Hypergeometric). You do not need to provide the final answer. (a) Suppose X ~ Bin(12, 0.24). Find P(X 12). (c) Suppose X ~ Geom(p = 0.78). Define X to be the number of trials until the first success occurs. We want to find P(X = 2). Note: Be sure to check out how R defines a geometric random variable. (d) Suppose a box shipped to JP's Restaurant contains 200 eggs. For some reason, there are 10 cracked eggs in the box. A manager randomly chooses 24 eggs for inspection. The manager wants to know the probability that, among the 24, 2 or less are cracked

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!