Help needed with statistics, probability

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
19 replies · 7K views
Messages
6,221
Reaction score
31
URGENT help needed with statistics, probability

Homework Statement



1)
A plane functions iff at least 2 of its 3 engines function.
P(each engine functions)=p, the engines operate independently of each other. Find the

probability that the plane functions.

The Attempt at a Solution



A=engine 1, B=engine 2, C=engine 3.

P(plane functions)= P(AuB)+P(AuC)+P(BuC)

P(AnBnC)=p3

P(AnB)=P(AnC)=P(BnC)=p2

P(AuBuC)=P(A)+P(B)+P(C)-P(AnB)-P(AnC)-P(BnC)-P(AnBnC)=3p-3p2-p3

http://img168.imageshack.us/img168/2991/venn.jpg

But the regions they want are P(AuB)+P(AuC)+P(BuC) which is just 3(p-p2-2p3)



Homework Statement


2)

2% of products in a factory are defective. Products are sold in packages of 100. What

proportion of cartons contain at least 'x' defective products? x=1,2,3,...,100. (use

binomial distribution)


Homework Equations



Binomial distribution: P(X=x) = nCx px(1-p)n-x , where p is the probability of success.

The Attempt at a Solution


P(defective)=0.02
P(not defective)=0.98

I need to get X~Bin(100,0.98)

P(X=x)= 100Cx0.98x0.02100-x

So my answer is just P(X=x)/100 ? (replacing P(X=x) with the above)

Homework Statement



3)
A shipment of 8 items contain 3 that are defective. A person makes a random selection of 2

of these items, find the probability distribution for the number of defectives X. Find the

cumulative functions of X as well.


The Attempt at a Solution



So P(X=x) is defined as follows:

0 for x<1

3/8 for 1<x<2

5/56 for 2<x<3 ( 2 defective is 3/8 * 2/7)

6/336 for x>3 (3 defective is 3/8 * 2/7 *1/6)

And to get the cdf I just integrate the functions (in the regions) between 'x' and -infinity?
 
Last edited by a moderator:
Physics news on Phys.org


[itex]P(A \cup B)[/itex] is the probability that at least one of engines A and B is functioning, but you want the probability that both are functioning at the same time. Same problem with the other pairs.

Also, you should have

P(AuBuC)=P(A)+P(B)+P(C)-P(AnB)-P(AnC)-P(BnC) + P(AnBnC)

not a negative sign on the last term.
 


vela said:
[itex]P(A \cup B)[/itex] is the probability that at least one of engines A and B is functioning, but you want the probability that both are functioning at the same time. Same problem with the other pairs.

Also, you should have

P(AuBuC)=P(A)+P(B)+P(C)-P(AnB)-P(AnC)-P(BnC) + P(AnBnC)

not a negative sign on the last term.

I typed the formula wrong :blushing:

Then I would get P(AnB)+P(AnC)+P(BnC)=3p2, if that is the case, I don't understand why they told me to use that formula.
 


rock.freak667 said:
I typed the formula wrong :blushing:

Then I would get P(AnB)+P(AnC)+P(BnC)=3p2, if that is the case, I don't understand why they told me to use that formula.
Now you're triple-counting the intersection of A, B, and C, so you need to subtract the extra from your result. You can just add up the probabilities you have in your Venn diagram from the relevant regions to see what the answer should be.
 


vela said:
Now you're triple-counting the intersection of A, B, and C, so you need to subtract the extra from your result. You can just add up the probabilities you have in your Venn diagram from the relevant regions to see what the answer should be.

It would just be the intersections alone, so it'd be 3(p2-p3)+p3
 


vela said:
Yes, that's right. I see what they wanted you to do now. The plane functions if (A and B) or (A and C) or (B and C). Do you see how that's the union of 3 sets, so that that formula would apply?


Wouldn't that give a different answer to the post above?

P(AuBuC)=3p-3p2+p3, I'd have a 'p' term here.
 


rock.freak667 said:

Homework Statement


2) 2% of products in a factory are defective. Products are sold in packages of 100. What proportion of cartons contain at least 'x' defective products? x=1,2,3,...,100. (use binomial distribution)

Homework Equations



Binomial distribution: P(X=x) = nCx px(1-p)n-x, where p is the probability of success.

The Attempt at a Solution


P(defective)=0.02
P(not defective)=0.98

I need to get X~Bin(100,0.98).

P(X=x) = 100Cx0.98x0.02100-x

So my answer is just P(X=x)/100 ? (replacing P(X=x) with the above)
All good until the last line.

If P(X=x)=0.10, that means 10% of the cartons have x defects. There's no need to divide by 100. The probability is already the proportion.

Also, the problem isn't asking for P(X=x). That would be the probability that a carton has exactly x defective parts. The problem asks for the probability that a carton has at least x defective parts.
 


rock.freak667 said:
Wouldn't that give a different answer to the post above?

P(AuBuC)=3p-3p2+p3, I'd have a 'p' term here.
No, because the three sets aren't A, B, and C.

Both engines A and B working corresponds to [itex]A \cap B[/itex], and so on. (A and B) or (A and C) or (B and C) corresponds to the union of those intersections.
 


vela said:
All good until the last line.

If P(X=x)=0.10, that means 10% of the cartons have x defects. There's no need to divide by 100. The probability is already the proportion.

Also, the problem isn't asking for P(X=x). That would be the probability that a carton has exactly x defective parts. The problem asks for the probability that a carton has at least x defective parts.

So then if I find P(X=x-1), I'd get exactly 'x-1' defective, and then if I put 1-P(X=x-1), I should get 'x or more defective', which would be at least x, right?
 


vela said:
No, because the three sets aren't A, B, and C.

Both engines A and B working corresponds to [itex]A \cap B[/itex], and so on. (A and B) or (A and C) or (B and C) corresponds to the union of those intersections.

Oh now I get it.

vela said:
No, that would give you the probability of 0, 1, ..., x-2 defects or x, x+1, x+2, ... 100 defects. You only want the second part, not the 0 through x-2 part.

This part has me confused :confused:
 


vela said:
You would sum the probabilities P(0)+P(1)+P(2)+...+P(x-1).

I know it would be a binomial expansion, but of what? The normal bin distribution is (p+q)n where q=1-p
 


vela said:
It'll be part of a binomial expansion. As far as I know, there's no closed form expression for it.



[tex]P(X \geq x) = 1 - \sum_{x=0} ^{x-1} ^{100}C_x 0.98^x 0.02^{100-x}[/tex]

there is no way to simplify that term?
 


vela said:
Not that I know of.

Then I have to leave my answer like that then.

any help for the 3rd one?


EDIT: I got out the 3rd one.
 
Last edited: