Bayes Rule
Where:
-
= prior;
-
= likelihood;
-
= posterior;
Random Variables
Probability Density Function Formula
The cumulative distribution function (CDF) is a function that gives the probability that a random variable takes on a value less than or equal to a given value. It is denoted as . The CDF is defined as:
Where is the random variable.
Cumulative Distribution Function as an Integral
Where is the probability density function (PDF) of the random variable .
Joint Probability Distributions
The joint probability density function (PDF) is a function that describes the probability of multiple random variables taking on specific values simultaneously. It is denoted as , where are the values of the random variables.
Properties:
-
Non-negativity: for all .
-
Normalization: , where the integral is taken over the entire range of each random variable.
The joint cumulative distribution function (CDF) is a function that gives the probability that multiple random variables take on values less than or equal to given values simultaneously. It is denoted as , where are the values of the random variables.
For a joint distribution of multiple random variables , the joint CDF is given by:
This integral formula allows us to calculate the probability that multiple random variables take on values less than or equal to given values simultaneously.
Probability Distributions
Binomial Distribution
The binomial distribution gives the probability of number of successes in independent trials, where each trial has a probability of success.
Characteristics:
-
Mean:
-
Variance:
Examples:
-
Coin flips
-
Binary outcome events
Poisson Distribution
The Poisson distribution gives the probability of the number of events occurring within a fixed interval where the known, constant rate of each event’s occurrence is .
Characteristics:
-
Mean:
-
Variance:
Examples:
- Assessing counts over a continuous interval
- Number of visits to a website in a certain period of time
Continuous Probability Distributions
Uniform Distribution
The uniform distribution implies that all outcomes are equally likely within a given range.
PDF:
Characteristics:
-
Mean:
-
Variance:
Examples:
-
Rolling a fair die
-
Sampling (random number generation)
Exponential Distribution
The exponential distribution represents the probability of the interval length between events of a Poisson process having a set rate parameter of .
PDF:
Characteristics:
-
Mean:
-
Variance:
-
Memoryless Property:
Normal Distribution
The normal distribution is characterized by a bell-shaped curve where the mean, median, and mode are all equal.
PDF:
Characteristics:
-
Mean:
-
Variance:
Markov Chains
-
probability of being in a particular state is only dependent on the previous state
-
state space: set of all possible states
-
transition matrix: where is the probability of transitioning from state to state
Each row of the matrix represents the probabilities of transitioning from a particular state to all other states. The sum of probabilities in each row should be equal to 1.
-
recurrent state: a state that can be reached again from itself
-
transient state: a state that cannot be reached again from itself
stationary distribution for markov chain:
* is the transition matrix