In the previous note on Essentials of Data Science – Probability and Statistical Inference – Sample Space and Events, we have seen how to define and set up experiments, sample space, and how events are associated with sample space. This note will further extend the concept of sample space and events and learn how to utilize set theory concepts such as union, intersection, and complement to find the relationship or the association among the events.
Probability is very important concept and it can be interpreted in a number of ways. One of the ways it can be interpreted using operations of set theory.
Set Theory & Probability Theory
A set is a collection of objects, and these objects are called the elements of the set. If S is a set and x is an element of S, we say x S. Even it is possible that a set does not contain any element. Those type of set is called an empty set.
Union of Events
Suppose A and B are any two events of a sample space . Let us consider a new event C = A B. It is a union of the events A and B. The union of A and B consist of all the outcomes that either in A or in B or in both A and B.
Example 1:
If the outcome of an experiment consists in the determination of the gender of a newly born child, then = {M,F} where M and F indicate Male and Female child, respectively.
If A = {M}, then A is the event that the child is a male (boy). Similarly, if B = {F}, then B is the event that the child is a female (girl). Thus A B = {M, F}, i.e., A B is the whole sample sapce . This is also called as sure event.
Intersection of Events
Suppose A and B are any two events of a sample space . Let us consider a new event C = A B. It is an intersection of events A and B. The intersection of A and B consist of all the outcomes that are in both A and B. It means, event A B will occur if both A and B occur.
The intersection of events A B is the set of all simple events of A and B which occurs when the simple events of A and B occur.
Difference of Events
Suppose A and B are any two events of a sample space . Let us consider a new event C = A – B. It means, the event A – B contains all simple events of A, which are not contained in B. This event can also be read as A but not B or A minus B occurs, if A occurs but B does not occur. Also A – B = A
It is an intersection of events A and B. The intersection of A and B consist of all the outcomes that are in both A and B. It means, event A B will occur if both A and B occur.
Complement of Event
Suppose A is an event of a sample space and is another event which contains all the simple events or outcomes which are not the part of event A. The complementary event of A whenever A does not occur.
Subset of Events
It is also possible that an event A can be subset of another event B. It is represented as A . It means, all the simple events of A are also part of the sample space of B.
Disjoint Events
Two events A and B are disjoint if A B = holds, i.e. if both events cannot occur simultaneously.
Mutually Disjoint Events
The events are said to be mutually or pairwise disjoint, if whenever i j = 1,2,3,….,m.
Example 1:
Rolling a die: If a die is rolled once, then the possible outcomes are the numbers of dots on the upper surface: 1,2,3,4,5,6.
Sample space is the set of simple events and these are = “1”, = “2”, = “3”, = “4”, = “5”, = “6”. Thus = {}.
Suppose if A = {} and B is the set of all odd numbers, then B = {} and thus B A.
Suppose if A = {} is the set of even numbres and B = {} is the set of all numbers which are divisible by 3, then A B = {} is the collection of simple events for which the number is either even or divisible by 3 or both.
Suppose if A = {} is the set of odd numbers and B = {} is the set of the numbers which are divisible by 3, then A = {} is the set of simple events in which the numbers are odd and divisible by 3.
Suppose if A = {} is the set of odd numbers and B = {} is the set of the numbers which are divisible by 3, then A – B = {} is the set of simple events in which the numbers are odd but not divisible by 3.
Suppose if A = {} is the set of even numbers, then = {} is the set of odd numbers. Then the events A and B are disjoint.
References
- Essentials of Data Science With R Software – 1: Probability and Statistical Inference, By Prof. Shalabh, Dept. of Mathematics and Statistics, IIT Kanpur.
106 total views, 1 views today