Probability and Regression Review
Exam Review
Chapter 2: Fundamentals of Probability
For a
then
and for variance,
We can actually do this from a portfolio perspective, itβs the same idea. We have some weight
Whatβs the variance?
Itβs the same in this exercise where we substitute the weights for the coefficients and the random variables for X and Y.
Another way to look at this problem is through matrix algebra.
We have a vector v,
We can rewrite as
Then the expectation and variance becomes
This is nice because if you have a covariance matrix you donβt have to look at all the pairwise. The question gives us that this X and Y have covariance 0.35. Be mindful of the difference between covariance and correlation.
The formula for covariance is that
so thatβs where correlation comes into it. That is correlation.
We can then rewrite our problem into
based on considering this as matrix.
If you $100 today, it can either go to $110 or $90. Up is 0.3, Down is 0.7. Weβll have the same increase and decrease amounts and probabilities at each step.
Weβre actually interested in the value of
But in this case we have discrete outcomes, not like in GBM. If we have a random variable, itβs either going to be 120, 100, or 80. There is a probability assigned to each of these for a given .
We know that the probability for 120 is 0.3 * 0.3 or 0.09, for 80 itβs 0.7 * 0.7 = 0.49. For 110 we have to consider both the possibility of 0.3 * 0.7 up and down and 0.7 * 0.3 down and up, which becomes 0.42. And we can show that these all add to 1.
So how do we actually calculate probability? We think about it simply as
and
And we can generalize this to any function .
Therefore the simple calculation is multiplying each probability of each outcome by its value and adding them together.
For variance we can use the same logic.
For the second one itβs simple, it must be . And for the expectation of squares we can use the property.
Then afterwards we take the square root to get the volatility.
What about ten steps ahead? Itβs not as intuitive if we continue to use the tree model, there are too many possibilities.
We can actually solve this problem using binomial process.
One way you can think about it is success and no success. So, we could think about it as, we have a process
And the question is of how many possibilities do we have, and whatβs the probability of success? Letβs use some reasoning
When , we know that . So we can think about it as
As this is a random variable which modifies our answer. And we get either 80, 100, or 120 depending on the value . And we can in fact say that
Therefore,
So now letβs try to understand the distribution of our random variable .
We can actually leverage some common knowledge which tells us that the answer is based on the formulas.
If we have a general
and we want to know
We know this is the same thing as asking
And then you can use the Excel formula
NORMDIST((a - mu)/ sigma)
Remember that in order to solve this, you can consult the table or Excel. There is a standardized reference.
5.
If we have stock returns iid, with annual vol of 30% what is daily VaR at 99% confidence level.
This is tricky because we have to convert between annual and daily. If we have iid variables, than the VaR can be written as
If we consider daily, we have
and we are given that is 0.01.
We are not given information about , but we know . To some extent, we are looking at the aggregation. If we have log returns, the annual returns of A is the summation of these returns from days until 252. So
That means that actually
We can plug this value in to get .
Thatβs how we move between periods. For the , we just refer to the normal distribution table, which is the 99th percentile.
6.
In order to get the 10 day VaR, we use the formula
.
7.
What does value at risk mean?
In 1 out of however many days (represented by confidence level), the portfolio will decline by the value at risk or more.
e.g. for 95% confidence level, this is 1 out of 20 days.
Regression Analysis
Thereβs a portfolio on Canvas, an Excel spreadsheet in the FE_535_Session_01_Portfolio_CAPM.xlsx. The file looks at the composition of TSLA returns. Thatβs what regression does.
8.
What is the correlation between these two assets? What is , what does it stand for? It is the derivative of the regression, how will covariance change x?
If is positive, that tells us correlation is positive, so we can consider them related. This is also
We can play a little trick here to get
And that first expression is the correlation
So we have calculated
Letβs take the square here.
I can write the volatility of this asset as systematic volatility.
Thereβs a proportion of total volatility that will be explained by this variable x.
If we have
this is the meaning of this statistical property.
We can actually explain the total volatility as the systematic volatility () as
When you look at