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
Which statement best describes the graph of this polynomial function f(x)=x^4+x^3-2x^2
jenyasd209 [6]

Answer:

See below description.

Step-by-step explanation:

The function f(x) = x^4+x^3-2x^2 has the following characteristics:

  • Factors: x^2(x+2)(x-1)
  • Zeros/roots: x=0, x=-2, amd x=1
  • Positive leading coefficient
  • Graph starts up, curves down through -2 on the x-axis and back up to 0 where it touches and curves down and back up again again. It comes down back through 1 and crosses.
  • Its graph s the shape of a W.
  • It has minimum values at -2.83 and -0.397
3 0
3 years ago
Please enter the missing number: 2, 9, 20, 37, 64, 107, ?
k0ka [10]
174 is the missing number
4 0
3 years ago
A 943-foot tree has grown at a constant rate each year. In the equation below, t is the age of the three in years.
Mazyrski [523]

Answer:

B. 41 feet per year

Step-by-step explanation:

943/23= 41

Total feet / coefficient= feet per year

7 0
3 years ago
Read 2 more answers
1
LekaFEV [45]
The answer should be B.
8 0
2 years ago
32​% of college students say they use credit cards because of the rewards program. You randomly select 10 college students and a
Tems11 [23]

Answer:

a) P(X=2)=(10C2)(0.32)^2 (1-0.32)^{10-2}=0.211

b) P(X> 2)=1-P(X\leq 2)=1-[0.0211+0.0995+0.211]=0.668

c) P(2 \leq x \leq 5)=0.211+0.264+0.218+0.123=0.816

Step-by-step explanation:

1) Previous concepts

The binomial distribution is a "DISCRETE probability distribution that summarizes the probability that a value will take one of two independent values under a given set of parameters. The assumptions for the binomial distribution are that there is only one outcome for each trial, each trial has the same probability of success, and each trial is mutually exclusive, or independent of each other".

2) Solution to the problem

Let X the random variable of interest, on this case we now that:

X \sim Binom(n=10, p=0.32)

The probability mass function for the Binomial distribution is given as:

P(X)=(nCx)(p)^x (1-p)^{n-x}

Where (nCx) means combinatory and it's given by this formula:

nCx=\frac{n!}{(n-x)! x!}

Part a

P(X=2)=(10C2)(0.32)^2 (1-0.32)^{10-2}=0.211

Part b

P(X> 2)=1-P(X\leq 2)=1-[P(X=0)+P(X=1)+P(X=2)]

P(X=0)=(10C0)(0.32)^0 (1-0.32)^{10-0}=0.0211  

P(X=1)=(10C1)(0.32)^1 (1-0.32)^{10-1}=0.0995

P(X=2)=(10C2)(0.32)^2 (1-0.32)^{10-2}=0.211

P(X> 2)=1-P(X\leq 2)=1-[0.0211+0.0995+0.211]=0.668

Part c

P(2 \leq x \leq 5)=P(X=2)+P(X=3)+P(X=4)+P(X=5)

P(X=2)=(10C2)(0.32)^2 (1-0.32)^{10-2}=0.211

P(X=3)=(10C3)(0.32)^3 (1-0.32)^{10-3}=0.264

P(X=4)=(10C4)(0.32)^4 (1-0.32)^{10-4}=0.218

P(X=5)=(10C5)(0.32)^5 (1-0.32)^{10-5}=0.123

P(2 \leq x \leq 5)=0.211+0.264+0.218+0.123=0.816

6 0
3 years ago
Other questions:
  • The quotient of 9 times an unknown number and 16 is 81. What is the value of the unknown number?
    10·2 answers
  • 2x+3=5x-42 what is the number that belongs in the green box
    12·1 answer
  • HELP WITH THIS QUESTION PLEASE!!
    10·1 answer
  • -25+4h=50.25 solve for h
    5·2 answers
  • What percent of $x$ is equal to $40\%$ of $50\%$ of $x$?
    8·1 answer
  • Helpppppppppppp!!!!!!!!!
    12·1 answer
  • OKAY I'M RE-ASKING BECAUSE I STILL DON'T UNDERSTAND
    14·1 answer
  • What is the slope of the line that passes through the points (-2, 2), and (-4,-2)?
    11·2 answers
  • Solve the system of linear equations by substitution: (SHOW UR WORK)<br> y=-x<br> y=3x-4
    6·1 answer
  • Why is it appropriate to use the trigonometric functions on triangle FGJ but not on triangle FHJ?
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!