1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Reika [66]
4 years ago
15

Choose the family of distributions that best fits the described situation: You want to model the number of lines of code run unt

il the first 'bug' is detected. The probability a line of code has a bug is 0.003 or 0.3%.
Mathematics
1 answer:
damaskus [11]4 years ago
3 0

Answer is : Geometric distribution

Let X be the number of lines of codes run until the first bug is detected

That is X is the random variable which is the number of trials needed to get first success. Success here is detection of bug . Success has constant probability in each trail which is p= 0.003 . That is before the first success we have    X-1 failures with probability (1-0.003)

The probability mass function of X is

P(X=x) = (1-p)x-1 p

P(X=x ) = (1-0.003)x-1 *0.003 , x= 1,2,....

This distribution is also Negative Binomial distribution  

As geometric distribution is special case of Negative Binomial Distribution

In Negative Binomial distribution , we have r success ( r\geq 1) and the random variable is the number of Bernouli trials needed to get r successes .

If we put , r= 1, that is number of success is 1

Then the given situation , that is number of lines code run(X) before the first bug follow negative binomial distribution

The probability mass function of Negative Binomial distribution is

P(X=x) = (1-p)x-r pr ,x= r , r+1 , .....

The probability mass function of X is

P(X=x, r=1 ) = (1-0.003)x-1 *0.003 , x= 1,2,....

You might be interested in
Solve the following linear system by graphing <br> 4x+5y=10<br> 3x-3y=21
Inga [223]

Answer:

y = 2

x = 5

Step-by-step explanation:

4x + 5y = 10 | ×3 |

3x - 3y = 21 | ×4 |

12x + 15y = 30

12x - 12y = 84

____________--

27y = -54

y = -54/27

y = 2

4x + 5y = 10 | ×3 |

3x - 3y = 21 | ×5 |

12x + 15y = 30

15x - 15y = 105

____________+

27x = 135

x = 135/27

x = 5

6 0
4 years ago
Exact solutions. X^2-5x-1=0
Romashka [77]

Answer:

x= (5±√29)÷2

Step-by-step explanation:

Quadratic formula:

x= (-b±√b²-4ac)÷2a

7 0
3 years ago
Change the order or grouping to find the sum. Explain how you used properties to find the sum. 63 + 86 + 77
notsponge [240]
You can't change the sum by changing the grouping. Any way you cut it, you will always get 226, as you only have addition operations, and the commutative property [a+(b+c)=(a+b)+c] means that the sum will always be the same.
8 0
3 years ago
Read 2 more answers
HELP MOI. Ty friends
stiv31 [10]
$3.19

That will be the answer sir/ma’am
6 0
3 years ago
Read 2 more answers
How to write an equation in slope intercept form
hjlf
Slope intercept form is y=mx+b.
Y and x stay. 
M is your slope.
B is your y-intercept.
Hope that this helps!
8 0
3 years ago
Other questions:
  • What’s the equation of 4,-1,-2,-5
    10·1 answer
  • The value of an investment is expected to grow by 5% per year.
    14·1 answer
  • There are 18 oranges in box A and 36 in box B. What is the ratio of the oranges in Box A to Box B?
    6·2 answers
  • Simplify (15x+25)-(8x-15)
    11·2 answers
  • What is 3 5/8 *1 3/4
    9·2 answers
  • Someone help me &amp; extra points also brainlest!
    5·1 answer
  • GEOMETRY. What am I suppose to do?
    11·1 answer
  • Square?<br>i neeed 200000000 charaters reeeeeeeee
    14·1 answer
  • x + a)(x + 3)(2x+1) = bx^3 + cx^2 + dx -1(x + a)(x + 3)(2x+1) = bx^3 + cx^2 + dx -10. find values for a b c and d​
    14·1 answer
  • Which representation shows a nonproportional relationship between x and y? 6 4 2 1 FA 11 3 y = -X -9-8-7-6-5-4-3-2-1 334 5 6 7 8
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!