Probability Review
@NainAKNain-2022
The study of probability (and most of statistics) revolves around “containers of information” that can hold different contents based on different associated events.
Random variables
Section titled “Random variables”Containers of random values. Can be discrete (e.g. coin flip) or
continuous (e.g. height of a person). Notation:
Independence
Section titled “Independence”Two random variables
Expectation
Section titled “Expectation”The expected value of a random variable
Variance
Section titled “Variance”The variance of a random variable
Distribution
Section titled “Distribution”A distribution is a function that gives the probability of a random variable
Uniform distribution
Section titled “Uniform distribution”The uniform distribution is a distribution where all events are equally likely.
Binomial distribution
Section titled “Binomial distribution”The binomial distribution is a distribution that models the number of success in
Normal/Gaussian distribution
Section titled “Normal/Gaussian distribution”The normal distribution is a distribution that models the distribution of random
variables that are normally distributed. Notation:
Probability density function
Section titled “Probability density function”The probability density function is a function that gives the probability of a
random variable
For a real-valued random variable
For a standard normal distribution (
Multivariate normal distribution
Section titled “Multivariate normal distribution”Multivariate normal distribution is the extension of univariate normal
distribution to the case where we deal with a real-valued vector input
instead of a single real-valued random variable. Like in the univariate case,
the multivariate normal distribution has associated parameters
This is the probability density function for multivariate case:
- Random variable
is a -dimensional vector - Mean
is a -dimensional vector$ - Covariance matrix
is a matrix
Covariance
Section titled “Covariance”Let’s say
i.e., the covariance is difference between the expectation of the product of
Covariance tells us:
- Covariance gives a sense of how much two random variables as well their scales are linearly related
- Covariance captures only linear dependence and gives no information about other kind of relationships
- If the sign of the covariance is positive, then both variables tend to take on relatively high values simultaneously. If the sign of the covariance is negative, then one variable tends to take on a relatively high value at the times that the other takes on a relatively low value and vice versa.
- If two variables
and are independent, then but the reverse is not true. Why? Because covariance doesn’t take into account non-linear relationships
Covariance matrix
Section titled “Covariance matrix”If
Also:
Isotropic Gaussian distribution
Section titled “Isotropic Gaussian distribution”An isotropic Gaussian distribution is a distribution where the covariance matrix is:
the identity matrix is the scalar variance
This form is desriable because as the dimensions of a multivariate Gaussian
grows, the mean
A few things to note about isotropic Gaussian:
- Eq. (4) represents a diagonal matrix multiplied by a scalar variance. This means that the variance along each dimension is equal. Hence an isotropic multivariate Gaussian is circular or spherical.
- We discussed that
doesn’t mean and are independent but if the distribution is multivariate normal and , it implies that and are independent. - If the multivariate distribution is isotropic, that means: i. Covariance
Matrix is diagonal ii. The distribution can be represented as a product of
univariate Gaussians i.e.
..