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
what is 5 4/5 simplified I need helppppppppppppppp
nydimaria [60]

u can not simplefly  it doyyyyyyyyyy
6 0
3 years ago
Read 2 more answers
Recall that a right triangle is a triangle with one right angle.one angle of the triangle measures 89.99 degrees.can the triangl
Shtirlitz [24]
Yes because you only need a 90 degree to become a right
4 0
3 years ago
True or False: The slope of the line that passes through (9, 9) and (6, 4) is 3/5.
emmainna [20.7K]

Answer:

False.

General Formulas and Concepts:

<u>Pre-Algebra</u>

  • Order of Operations: BPEMDAS

<u>Algebra I</u>

  • Slope Formula: m=\frac{y_2-y_1}{x_2-x_1}

Step-by-step explanation:

<u>Step 1: Define</u>

Point (9, 9)

Point (6, 4)

<u>Step 2: Find slope </u><em><u>m</u></em>

  1. Substitute:                     m=\frac{4-9}{6-9}
  2. Subtract:                        m=\frac{-5}{-3}
  3. Simplify:                         m=\frac{5}{3}
6 0
2 years ago
Quick guys, I need some help on this
worty [1.4K]

Answer:

I think c

(not sure though)

3 0
2 years ago
two boxes of apples contain a total of 24 apples. if you halve the number of apples in the first box and add 4 apples to the sec
Llana [10]
There was 16 apples in the first box and 8 apples in the second box initially.
8 0
3 years ago
Read 2 more answers
Other questions:
  • Use the segment addition postulate to solve for BC when AB = 37 and AC
    5·1 answer
  • The diagonal of a square is 2 inches.Find the area of the square.
    5·1 answer
  • Lisa drove 7,000 miles in 70 days. She drove the same number of miles each day.
    9·2 answers
  • At what point does the graph of y=9x cross the y-axis?
    11·1 answer
  • Help please? not sure about this
    14·1 answer
  • Brian is buying some tickets for his family to go to a concert. The normal ticket price for one person is £120. There are discou
    6·1 answer
  • 01101 + 10010 help please
    7·1 answer
  • A bag contains 3 red cubes, 4 yellow cubes, and 3 green cubes. You choose a cube without looking, note its color, and put the cu
    12·2 answers
  • What is the volume of a cylinder with base radius 2 and height 9?
    8·1 answer
  • Identify which property you would use first to solve the following equation.
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!