Path: blob/master/notebook-for-learning/Chapter-1-Probability-Theory.ipynb
388 views
Chapter 1 - Probability Theory
Probabilities
Introduction
Statistics and probability theory constitute a branch of mathematics for dealing with uncertainty. The probability theory provides a basis for the science of statistical inference from data
Sample: (of size n) obtained from a mother population assumed to be represented by a probability
Descriptive statistics: description of the sample
Inferential statistics: making a decision or an inference from a sample of our problem
Sample Spaces
Experiment: any process or procedure for which more than one outcome is possible
Sample Space: set of all the possible experimental outcomes
Probability Values
A set of probability values for an experiment with sample space consists of some probabilities that satisfy: and The probability of outcome occurring is said to be and it is written: In cases in which the outcomes are equally likely, then each probability will have a value of .
Events
Events and Complements
Events: subset of the sample space
The probability of an event , , is obtained by the probabilities of the outcomes contained withing the event
An event is said to occur if one of the outcomes contained within the event occurs
Complement of events: event is the event consisting of everything in the sample space that is not contained within
Elementary (or simple) event: event consisting of an individual outcome
Combinations of Events
Intersections of Events
Intersections of Events: consists of the outcomes contained within both events and
Probability of the intersection, , is the probability that both events occur simultaneously
Properties:
Mutually exclusive events: if
Union of Events
Union of Events: consists of the outcomes that are contained within at least one of the events and
The probability of this event, is the probability that at least one of these events and occurs
Properties
If the events are mutually exclusive, then
Other simple results:
Combinations of Three or More Events
Union of Mutually Exclusive Events: given a sequence of mutually exclusive events:
Partition of sample space S: given a sequence of mutually exclusive events such that is called a partition of S
Conditional Probability
Definition of Conditional Probability
Conditional Probability: of an event conditional on an event is:
Probabilities of Event Intersections
General Multiplication Law
In general, for a sequence of events :
Independent Events
Two events and are independent if:
These conditions are also equivalent
Interpretation: events are independent if the knowledge about one event does not affect the probability of the other event
Mutual independence: are mutually independent if for any subset :
Pairwise independence: the events satisfying:
Posterior Probabilities
Law of Total Probability
Given a partition of sample space , the probability of an event , can be expressed as:
Bayes' Theorem
Given a partition of a sample space, then the posterior probabilities of the event conditional on an event can be obtained from the probabilities and using the formula: