Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

7. For the following problems, write down how you would code the probabilities requested into R. You should use the specialized distribution functions mentioned in

7. 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(18, 0.42). Find P(X < 11). (b) Suppose a box shipped to Jennifer's Restaurant contains 300 cupcakes. For some reason, there were 25 smashed cupcakes in the box. A manager randomly chooses 12 cupcakes for inspection. The manager wants to know the probably that, among the 12, that 3 or less are smashed. (c) Suppose X Pois(t = 13). Find P(X 9). (d) Suppose X Geom(p = 0.43). Define X to be the number of trials until the first success occurs. We want to find P(X = 4). Note: Be sure to check out how R defines a geometric random variable.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Calculus

Authors: Dale Varberg, Edwin J. Purcell, Steven E. Rigdon

9th edition

131429248, 978-0131429246

More Books

Students also viewed these Mathematics questions

Question

What are the first signs that a person might be depressed?

Answered: 1 week ago

Question

Why did his psychologist, Dr. Willard, recommend a psychiatrist?

Answered: 1 week ago