Discrete bivariate distributions
Univariate Distributions
- Started with a table of x and probability of x.
- Answered questions about probabilities, expected value, and variance.
- Introduced binomial, Poisson, and hypergeometric distributions.
- These distributions have special formulas.
- Binomial Distribution: has a binomial distribution with parameters and , where is the probability of success.
- Poisson Distribution: is a Poisson distribution with parameter (average).
- Hypergeometric Distribution: Parameters are , , and .
- These distributions are used to create probability tables.
- Univariate refers to having only one variable.
- Example table:
- x values: 0, 1, 2
- Probabilities: 0.1, 0.5, 0.4 (adds up to 1)
- This table is used for calculating expected values.
Bivariate Distributions
- Dealing with both and variables.
- Using a table to represent probabilities.
- Table structure:
- values (e.g., 0, 1, 2)
- values (e.g., 0, 1, 2)
- Joint probabilities within the table.
- Joint Probabilities: Probabilities of both and occurring together (e.g., ).
- Marginal Probabilities: Totals obtained by adding rows or columns of the joint probability table.
- Marginal Probability of X: Summing the joint probabilities across all values of Y for each value of X.
- Marginal Probability of Y: Summing the joint probabilities across all values of X for each value of Y.
- Double Summation: Summing over all and values in the table.
Joint Probability
- The value inside the table represents the joint probability.
Marginal Probability
- Adding values in the rows and columns to get the marginal probability
- The total from adding the probability in the column give the probability of .
Expected Values
- Interested in the expected value of (mean of ) and the expected value of (mean of ).
- Symbols: and .
- The formula for expected value is similar, focusing on marginal distributions.
Formula for Expected value of X
- Dealing with the X's, calculate by multiplying the X values by their probabilities, resulting in the expected value.
Formula for Expected value of Y
- The Y values are multiplied to get the final answer
Variance
- ( \sigma^2_x ) represents the variance of .
- Formula:
- Calculate
Explanation
So, whenever you see expected value, is just the average of the data so the probability distribution will replace that data set so the average of and would be, for example, dealing with phone calls the average number of phone calls is what we're calculating.
- The variance of uses a similar formula.
- Formulas may seem overwhelming, but they have repeating elements and different symbols.
- Covariance will be similar but include both and .
- Marginal distributions are used, not the insight of the distribution (to be used for covariance).
- Variance values:
- Variance of : 0.41
- Variance of : 0.45
- Example: and represent the number of houses sold by two people.
- Probabilities are relative frequencies used to calculate the average number of houses sold.
Covariance
- Covariance measures the relationship between and , denoted as .
- Formula:
- Double summation is used because of rows and columns in the table.
- I and j are used as indexes for rows and columns.
- Instead of or , we have the product of .
- Multiply with the joint probability .
- Subtract
- The formula is similar to the variance formula, with the product of and .
- Expected values and probabilities are used from the table.
- Long summation is needed, summing all values in the table.
- The table should not be bigger than the stated size.
- Interpretation: Negative correlation indicates an inverse relationship between the variables.
Calculation
- X is zero multiplied by zero, multiply by probability = 0.12
- In the next row, it could be one so we add the one multiplied by zero.
- Question will newer give you a table bigger than this.
Coefficient of Correlation
- Represents the correlation coefficient between and , denoted as .
- Formula:
- Values are between -1 and +1.
- Provides a better interpretation than covariance.
- Negative correlation indicates an inverse relationship.
- The closer to zero, the weaker the relationship. A correlation near zero indicates near randomness. And correlation near -1 or 1 indicates a strong inverse or direct correlation.
- If it is closer to zero, it is a weak correlation.
*