Question

I need help in R, on how to graph the distribution to the answer to the problem below and screenshot the work please. Thank you.

Assume that a component passes a test is 0.85 and that components perform independently. What is the probability that the thi

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Let X be a random variable denoting the number of trials until the third failure.
It is given that P(Failure) = 0.15.

Modeling of the p.m.f.
The last trial results in the third failure. That is in the \large x^{th} trial, the third failure occurs.
Out of the remaining (x-1) trials, 2 failures have occured.
The probability of 2 failures is \large 0.15^2 for these two failures.
Out of the first (x-1) trials, these two succeses can occur in \large \binom{x-1}{2} ways.
The probability of (x-3) successes is \large 0.85^{x-3}

Hence,
\large P(X=x)=\binom{x-1}{2}0.85^{x-3}*0.15^2*0.15
\large \Rightarrow P(X=x)=\binom{x-1}{2}0.85^{x-3}*0.15^3

Clearly, \large x\geq 3

This is coded in R as:
> x=seq(3,30,1)
> prob=choose(x-1,2)*0.85^(x-3)*0.15^3
>
> plot(x,prob,type="h",col=ifelse(x==10, "red", "black"))


We get the following graph:
1592770321700_image.png

I hope this clarifies your doubt. If you're satisfied with the solution, hit the Like button. For further clarification, comment below. Thank You. :)

Add a comment
Know the answer?
Add Answer to:
I need help in R, on how to graph the distribution to the answer to the...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • I want help to solve this question I want help to solve this question (9) A...

    I want help to solve this question I want help to solve this question (9) A device is composed of two components, A and B, subject to random failures. The components are connected in parallel and, consequently, the device is down only if both components are down. The two components are not independent. We estimate that the probability of a failure of component A is equal to 0.2; a failure of component B is equal to 0.8 if component A...

  • Hello, I need help for this problem. A system is composed of N identical components. Each independently operates a rando...

    Hello, I need help for this problem. A system is composed of N identical components. Each independently operates a random length of time until failure. This failure time is exponential with rate λ. When a component fails, it undergoes repair. The repair time is random, exponential with rate µ. The system is said to be in state n at time t if there are exactly n components under repair at time t. This process is a birth and death process....

  • I want the solution for this. Stat 352 Homework Set 2 Fall 2019: Conditional Probability and...

    I want the solution for this. Stat 352 Homework Set 2 Fall 2019: Conditional Probability and Independence Deadline: Monday November 11, 2019 (1) In throwing two dice with the sample space Define the following events on : = {(x,y):x, y = 1,2,3,4,5,6). A = {sum less than 4) = {(x, y): x + y < 4, x, y = 1,2,3,4,5,6) B = {first number is 1) = {(x,y): x = 1, y = 1,2,3,4,5,6) C = {sum of number is...

  • I need help. PLEASE DONT USE THE STANDARD NORMAL DISTRIBUTION TABLE. use normalcdf as part of...

    I need help. PLEASE DONT USE THE STANDARD NORMAL DISTRIBUTION TABLE. use normalcdf as part of your answer. Thank you 8.1.19 Suppose the lengths of the pregnancies of a certain animal are approximately normally distributed with mean u 212 days and standard deviation a 13 days. Complete parts (a) through () below. Click here to view the standard normal distribution table (page 1). Click here to view the standard normal distribution table (page 2), (a) What is the probability that...

  • I need help understanding how to graph the inverse functions. I have you all th steps but it's pa...

    I need help understanding how to graph the inverse functions. I have you all th steps but it's part C i dont get. I dont know how to translate the informstion into the graph so cpuld you please shoe me step by step. 3. (25 points) The market demand function for corn is Q'(P) 5-2P and the market supply function for corn is Q(P)5P 6, where both quantities are measured in billions of bushels per year (a) (5 points) Calculate...

  • Please help guide or explain how I would graph this? Thank you so much IV. Data...

    Please help guide or explain how I would graph this? Thank you so much IV. Data Table • Fill in the remaining columns on your data table. Calculate the solubility at each temperature by dividing the mass of KNO, used by the volume of solution at that temperature. (Watch sig tig! V. Graphing the data - Temperature (°C) on the x-axis and Solubility (g KNO/mL solution) on the y-axis • Orient graph paper as noted "up" with long dimension on...

  • Any help? 2. The Prussian horse-kick data: The derivation of the Poisson distribution that we did...

    Any help? 2. The Prussian horse-kick data: The derivation of the Poisson distribution that we did in class is due to Poisson. However, this distribution did not see much application until a text by Bortkiewicz in 1898. One famous example from that text is the use of the “Prussian horse-kick data" to illustrate how the Poisson distribution may help evaluate whether rare events are really occurring independently or randomly. Bortkiewicz studied the distribution of 122 men kicked to death by...

  • I really need your help to answer this question for Tables 1 - 5. Thank you...

    I really need your help to answer this question for Tables 1 - 5. Thank you so much I appreciate it!!! For each set of values, determine whether an exponential function is a good model. If so, find the function. If not, explain why. Part C-Linear and Exponential Models (possible 15 points) You can transform an exponential function into a linear function by taking the logarithm of each side. Since linear models are easy to recognize, you can then determine...

  • NOTE: NEED HELP FINDING TWO QUESTIONS FOR LOWER AND UPPER BOUND 1) The manufacturer of hardness...

    NOTE: NEED HELP FINDING TWO QUESTIONS FOR LOWER AND UPPER BOUND 1) The manufacturer of hardness testing equipment uses​ steel-ball indenters to penetrate metal that is being tested.​ However, the manufacturer thinks it would be better to use a diamond indenter so that all types of metal can be tested. Because of differences between the two types of​ indenters, it is suspected that the two methods will produce different hardness readings. The metal specimens to be tested are large enough...

  • Hey there! i need help with a few questions from my Physics B class. Thank you...

    Hey there! i need help with a few questions from my Physics B class. Thank you <3 1. The graph illustrates a standing wave along a string that spans x = -2 to x = 2. The string is held stationary at both ends. Which harmonic is shown? fourth second first third ---------------------------- 2. The graph illustrates one moment in the propagation of a transverse wave down a rope. What is the wavelength of the wave? 12 cm 8 cm...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT