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
There are 346 children going for an excursion.
NeTakaya

Answer:

26 children

Step-by-step explanation:

346-8*40

346-320

26

5 0
2 years ago
Subtract:<br> (-4x-7)-(-5x-2)
Pepsi [2]
I hope this helps you




-4x-7+5x+2


x-5
4 0
3 years ago
Jack has two square based pyramids that are the same size.he stick the square faces togather to make a new 3-d shape.how many fa
RideAnS [48]
I think it's
8faces and 6edges?
6 0
3 years ago
-x+3=-3d-3r, for x .
OLga [1]

Answer:

x=3d+3r+3

Step-by-step

5 0
3 years ago
For every integer k from 1 to 10, inclusive the kth term of a certain sequence is given by [(−1)^(k+1)]∗[1/2^(k)].
jarptica [38.1K]
For every integer k from 1 to 10, inclusive the kth term of a certain sequence is given by [(−1)^(k+1)]∗[1/2^(k)].
If T is the sum of the first 10 terms in the sequence, then T is:


B.

A. Greater than 2
B. Between 1 and 2
C. Between 1/2 and 1
D. Between 1/4 and 1/2
E. Less than 1/4
4 0
3 years ago
Other questions:
  • In the first round of a card game,niki scored 20 points.Then,she lost 10 point on one turn and am additional 25 points on her fi
    9·1 answer
  • Matthew is shopping for shoes and socks. He has $75.00 to spend. The shoes he likes cost $28.00, and the socks cost 4.00. Write
    9·2 answers
  • What is 3x/2 × 2/3x=1
    14·1 answer
  • A grocery sells fruit boxes which include four oranges, three apples and one banana. One day they sell 48 oranges in their fruit
    13·2 answers
  • If f(x)=x+7 and g(x)= 1 divided by x-13, what is the domain of (f•g)(x)?
    7·1 answer
  • Write the number described by 1 ten 16 ones.
    15·2 answers
  • If Tanisha has ​$1000 to invest at 7​% per annum compounded semiannually​, how long will it be before she has ​$1600​? If the co
    8·1 answer
  • What is the other answer for 9 + 10 ?​
    15·2 answers
  • Alexis treats her friends to lunch at the ski lodge. The cost of the meal is $58.48. If Alexis leaves an 18% tip, how much is th
    7·1 answer
  • X ≥ -2 is the inequality of the graph below<br><br> True or False
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!