Week 14 - Rules of probability, and probability distributions Pt2 Flashcards
(30 cards)
What is a random variable?
a numerical description of the outcome of an experiment.
What is a discrete random variable?
may assume either a finite number of values or an infinite sequence of values.
The probabilities associated with each possible value are typically represented in a probability distribution (e.g., binomial distribution).
Examples of a discrete random variable
The number of heads when flipping a coin 3 times. The possible outcomes are 0, 1, 2, or 3 heads.
The number of students in a classroom (which can be a whole number: 1, 2, 3, etc.).
What is a continuous random variable?
may assume any numerical value in an interval or collection of intervals.
can take on an infinite number of possible values within a certain range.
Example of a continuous random variable
The height of a person can be any value within a certain range (e.g., between 4 feet and 7 feet).
The time taken for a runner to complete a race, which can take any value in a continuous range (e.g., 10.2 seconds, 10.25 seconds, etc.).
What does the probability for a random variable describe?
describes how probabilities are distributed over the values of the random variable.
What is the probability distribution defined by?
is defined by a probability function, denoted by f(x), which provides the probability for each value of the random variable.
What are the required conditions for a discrete probability function?
f(x)β₯0
βf(x) = 1
How to put discrete probability distributions on a graph
x axis - values of random variable x
y axis - probability
What is the expected value or mean of a random variable?
a measure of its central location.
πΈ(π)= π= βπ₯π(π₯)
E(X) or π - the expected value (mean) of the random variable X
x - each possible value of the random variable
p(x) - the probability of x occurring
What does the variance summarise?
the variability in the value of a random variable
πππ(π)= π^2= β(π₯βπ)Λ2 π(π₯)
πππ(π)= π^2= πΈ(πβπΈ(π))Λ2
= πΈ(πΛ2 ) - [πΈ(π)]Λ2
E(X) or π - the expected value (mean) of the random variable X
x - each possible value of the random variable
p(x) - the probability of x occurring
The standard deviation, π, is defined as the positive square root of the variance.
4 important properties
- πΈ(ππ)=ππΈ(π)
- πΈ(ππ+π)=ππΈ(π)+π
- πππ(ππ)=π^2 πππ(π)
- πππ(ππ+π)=π^2 πππ(π)
Example:
A random variable X takes the value of 0 with probability of 0.5, 1 with probability of 0.3, and 2 with a probability of 0.2
Calculate E(X), E(3X+3), E(XΛ2 ), Var(X), Var(3x), and Var(3x+3)
X = 0 with the probability of 0.5
X = 1 with the probability of 0.3
X = 2 with the probability of 0.2
πΈ(π)= π= βπ₯π(π₯)
E(X) = 0x0.5 + 1x0.3 + 2x0.2
E(X) = 0.7
E(3X+3) = 3E(X)+3
E(3X+3) = 3x0.7 +3 = 5.1
E(XΛ2) = βπ₯Λ2π(π₯)
E(XΛ2) = 0Λ2 x 0.5 + 1Λ2 x 0.3 + 2Λ2 x 0.2 = 1.1
πππ(π)=πΈ(πΛ2 ) - [πΈ(π)]Λ2
Var(X) = 1.1 - (0.7)Λ2
Var(X) = 0.61
Var(3X)=3Λ2Var(X)
Var(3X) = 9(0.61)
Var(3X) = 5.49
Var(3X+3) = 3Λ2Var(X)
Var(3X+3) = 5.49
What is covariance?
measures how two random variables vary together
What are 3 expressions for covariance?
πΆππ£(π,π)=πΈ[(π β Β΅_π)(π β Β΅_π)]
πΆππ£(π,π)=πΈ(ππ) β πΈ(π)Β΅_π β Β΅_ππΈ(π) + Β΅_π Β΅_π
πΆππ£(π,π)= πΈ(ππ) β πΈ(π)πΈ(π)
Β΅_X -
Β΅_Y - E(X)
Expected value and variance
E(X+Y) =
Var(X+Y) =
E(X+Y) = E(X) + E(Y)
Var(X+Y) = aΛ2Var(X) + bΛ2Var(Y) + 2abCov(X,Y)
= aΛ2Var(X) + bΛ2Var(Y) + 2abΟ_(π,π)Ο_π Ο_π
Expected value and variance
E(aX + bY) =
Var(aX+bY) =
E(aX + bY) = aE(X) + bE(Y)
Var(aX+bY) = aΛ2Var(X) + bΛ2Var(Y) + 2abCov(X,Y)
= aΛ2Var(X) + bΛ2Var(Y) + 2abΟ_(π,π) Ο_π Ο_π
Portfolio risk and return (N=2)
Suppose we have 2 assets, and we invest a fraction a1 in asset 1, and a2 in asset 2, then
a_1 + a_2 = 1
The mean return on the portfolio is the weighted average of the mean returns on each of the assets:
ΞΌ_p = a_1ΞΌ_1 + a_2ΞΌ_2
The variance of the portfolio is the weighted sum of the covariances:
ΟΛ2 = a_1 Ο_11 + 2a_1a_2 Ο_12 + a_2Λ2 ΟΛ22
= aΛ2 Ο_1 Λ2 + 2a_1 a_2 p_12 Ο_1Ο_2 + a_2 Λ2 Ο_2 Λ2
What function is the mean of the composition of the portfolio?
a linear function of the composition of the portfolio
What function is standard deviation?
a convex function
Why does diversification occur?
Diversification occurs because combining assets that are not perfectly correlated reduces overall risk.
Even if each individual asset is risky, their combined risk can be lower if their returns move differently.
the riskiness of a portfolio is less than the average of its components
What is the diversification effect?
ΟP <= [Ο ΟA + (1- Ο) ΟB], 0 < Ο <= 1
When p = 1 what is the diversification effect?
no diversification effect obtains
When p < 1 what is the diversification effect?
diversification effect obtains