08.02.2013 Views

Biostatistics for Animal Science

Biostatistics for Animal Science

Biostatistics for Animal Science

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

20 <strong>Biostatistics</strong> <strong>for</strong> <strong>Animal</strong> <strong>Science</strong><br />

The intersection A and B is an event such that the result is an even number and a number<br />

greater than 3 at the same time. This is the set:<br />

(A ∩ B) = {4,6}<br />

with the probability:<br />

P(A ∩ B) =P(4) + P(6) = 2 /6, because the probability of an event is the sum of probabilities<br />

of the simple events that make up the set.<br />

The union of the events A and B is an event such that the result is an even number or a<br />

number greater than 3. This is the set:<br />

(A ∪ B) = {2,4,5,6}<br />

with the probability<br />

P(A ∪ B) = P(2) + P(4) + P(5) + P(6) = 4 /6<br />

Figure 2.1 presents the intersection and union of the events A and B.<br />

Event A<br />

Event B<br />

2 4 5 4<br />

6<br />

6<br />

A ∩ B<br />

2 4<br />

6<br />

A ∪ B<br />

Figure 2.1 Intersection and union of two events<br />

5<br />

A conditional probability is the probability that an event will occur if some assumptions are<br />

satisfied. In other words a conditional probability is a probability that an event B will occur<br />

if it is known that an event A has already occurred. The conditional probability of B given A<br />

is calculated by using the <strong>for</strong>mula:<br />

P<br />

( B | A)<br />

P(<br />

A∩<br />

B)<br />

=<br />

P(<br />

A)<br />

Events can be dependent or independent. If events A and B are independent then:<br />

P(B | A) = P(B) and P(A | B) = P(B)<br />

If independent the probability of B does not depend on the probability of A. Also, the<br />

probability that both events occur is equal to the product of each probability:

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!