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]
3 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]3 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
If you have 8 slices of pis and gave away 3/4 how many are left
Maru [420]
8 - 3/4 = 4.6 let me know if I made any mistakes =^-^=
3 0
3 years ago
Read 2 more answers
Steve cut a circular piece of mirror glass with the diameter of 20 cm in order to make a frame for it he needed to calculate the
Marianna [84]

Answer:

The circumference is 62.8 cm.

Step-by-step explanation:

To find the circumference, use 3.14 * 20 = 62.8

7 0
3 years ago
Find the value of x in the triangle shown below.<br> 9<br> 12
leva [86]
The answer would be 14
7 0
3 years ago
Read 2 more answers
The equation for line A is y = -2/3 x -4. Line A and Line B are perpendicular and the point ( -2 , 1) lies on Line B. Write the
gavmur [86]

A23425

Step-by-step explanation:

5 0
3 years ago
Whats 500000 x 700=
Alexxandr [17]

Answer:

PERIOD

Step-by-step explanation:

4 0
3 years ago
Other questions:
  • Q # 11 please help to find the area
    15·2 answers
  • Anna gets paid $8.75/ hour working as a barista at Coffee Break. Her boss pays her $9.00/hour for creating the weekly advertisem
    11·2 answers
  • One fourth plus one half equal
    10·2 answers
  • Rahim sets outs to cross a firest
    7·1 answer
  • (√2-3)(√2+3) what is this?
    11·2 answers
  • Cynthia invests some money into a bank which pays 5% compound interest per year she wants it to be worth over £8000 at the end o
    9·1 answer
  • The product of two numbers is 48, and one of the numbers is 12. Find the other number.
    7·2 answers
  • Please help me with this question...​
    15·1 answer
  • Log 2x=-1<br> solve for x
    7·1 answer
  • Ben wants to go fishing on the lake
    10·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!