Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Where
i=# of positive results
p= probability of a positive result
given a normal feed=0.03
If normal will get 3 positive tests with 99% probability!
Not the same!
Translation: We want the following
P(normal | 3 or fewer positive results from 10 tests)
1. Joint Probability
2. Conditional Probability
3. Marginalization
Three Probability Definitions
P(A,B)
P(A| B)
P(A) = P(A | B
i
)P(B
i
)
i=1
n
1. Joint Probability
Three Probability Definitions
P(A,B)
What is the probability of drawing
an ace first and then a jack from a
deck of 52 cards?
What is the probability of a protein
being highly expressed and
phosphorylated?
What is the probability that valves
A and B both fail?
4
52
|
\
|
.
|
4
51
|
\
|
.
|
(# highly expressed and
phosphorylated
proteins)/(total proteins)
(# times A & B fail)
(total observations)
2. Conditional Probability
Three Probability Definitions
P(A| B)
What is the probability of
drawing an ace given that you
just drew a jack from a deck of
52 cards?
What is the probability of a
protein being highly expressed
given that it is phosphorylated?
What is the probability that valve
A fails given that B has failed?
4
51
|
\
|
.
|
(# highly expressed
phosphorylated
proteins)/(total
phosphorylated proteins)
(# times A & B fail)
(total observations where B
fails)
3. Marginalization
Three Probability Definitions
P(A) = P(A | B
i
)P(B
i
)
i=1
n
=(0)(0.24)+(0.9998)(0.76)=0.75988
P(runny | 3 or fewer positive results from 10 tests)=
(0.9998) (0.76)= 1
0.75988
Acceptance sampling criteria will
identify runny feeds essentially 100%
of the time.. May be too strict!
=P(3 of 10 positive | runny)P(runny)+
P(3 of 10 positive | normal)P(normal)
P(normal | 3 or fewer positive results from 10 tests)=
P(3 or fewer positive results from 10 tests | normal) P(normal)
P(3 or fewer positive results from 10 tests)
Test different acceptance sampling criteria:
Acceptance
sampling criteria will
identify normal
feeds >99.99% of
the time
Remember:
0 in 10 positive: very likely normal
10 in 10 positive: very likely runny
0 to 10 positive: no information
--> 0 to 6 positive: likely normal
Runnyfeedometer
TM
Image from http://controls.engin.umich.edu/wiki/index.php/PHandViscositySensors
Analysis result:
If 6 of 10 samples report
positive then I am
>99.99% sure the feed is
normal.
Acceptance criteria:
If 6 of 10 tests are positive, use feed, otherwise reject feed.
Q: What are the odds of rejecting normal feed?
P(normal | 7 or more positive results from 10 tests)=
P(7 or more positive results from 10 tests | normal) P(normal)
P(7 or more positive results from 10 tests)
Very rarely..
Take Home Messages
Acceptance sampling provides an easy
to implement way to eliminate variation
Basic probability rules like Bayes Rule
help to rearrange your expressions to
get to things you can solve.