Probability and Information theory
Frequentist Probability and Bayesian Probability:
When we say that an outcome has a probability of occuring, it means that if we repeated the experiment infinitely many times, then the proportion of the repetitions would result in that outcome.
If a doctor analyses a patient and says that the patient has 40% chance of having the flu, we use probability to represent a degree of belief.
The former kind of probability, related directly to the rates at which the events occur is called the frequentist probability.
The latter, related to qualitative levels of certainty is known as Bayesian Probability.
Random Variables:
A random variable is a variable that can take on different values randomly.
On its own a random variable is just a description of the states that are possbile; it must be coupled with a probability distribution that specifies how likely each of these states are.
Probability Distributions:
A probability distribution is the description of how likely is a random variable or a set of random variable is to take on each of its possible states.
Discrete Variables and Probability Mass Function:
A probability distribution over discrete variables may be described using a probability mass function.
Probability mass function can act on many variables at the same time. Such a probability distribtion over many variables is known as join probability distribution. denotes the probability that and simultaneously.
For a the following conditions should hold:
the domain of must be set of all possible states of .
for all states the probability is in [0, 1]
. We refer to this property as being normalized.
Continuous Variables and Probability Density Function:
When working with random variables we describe probability density function rather than a probability mass function .
A , does not give the probability of a specific state directly, instead the probability of landing inside an infinitesimal region with the volume is given by
Marginal Probability:
We know the distribution over a set of variables and we want to know the distribution over just a subset of them. This is known as marginal probability distribution.
Suppose we have discrete random variables and , and we know . We can find with the sum rule.
For continuous random variable and we can write
Conditional Probability:
In many cases we want to calculate the probability of some event given that some other event has happened. This is called conditional probability.
These two events happen in one single experiment and not one after another.
We denote the conditional probability that given that is given by
A joint probability distribution over many random variables may be decomposed into conditional distributions over only one variable
Expectation Variance and CoVariance:
The expectation or expected value of some function with respect to a probability distribution is the average value that takes on when is drawn from .
Variance gives a measure of how much the values of a function of a random variable vary as we sample different from its distribution.
Understanding CoVariance:
High absolute values of the covariance means that the values change very much and are both far form their repective means at the same time
Positive then both the variables tend to take on relatively high values simultaneously
Negative then both variables tend to take on a relatively high values ar times that the other takes relatively low value and vice versa.
CoVariance and Dependence:
The notions of covariance and dependence are related, but in fact are distinct concepts. They are relate because two variables are
- Independent if
- Dependendent if
However, independence is a stronger requirement, than non-zero covariance. It is possible for two variables to be dependent but have zero covariance.
Common Probability Distribution:
1. Bernoulli Distribution:
The distribution is over a single binary random variable.
Parameterized by a single random variable , which gives the probability of the random variable being equal to .
2. Multinoulli Distribution:
The multinoulli or categorical distribution over a single discrete variable with different states, where is finite.
Parameterized by a vector , where gives the probability of the state.
3. Gaussian Distribution:
Also known as the normal distribution
Parameterized by two quatities
, gives the coordinates of the central peak , is the mean of the distribution.
, gives the standard deviation of the distribution is given by , and the variance is given by
Central Limit Theorem:
Sum of many independent random variables is approximately normally distributed.
Many complicated systems can be modeled as normally distributed noise, even if the system can be decomposed into parts with more structured behavior.
4. Dirac and Empirical Distribution:
We wish to specify that all of the mass in a probability distribution clusters around a single point. This can be done using defining a Dirac Delta function
The dirac delta function is defined such that it is zero every where except at , still integrates to
Bayes Rule:
TODO
