I want to construct a matrix that will operate as a variance/covariance matrix. There are only 2 possible values for the covariances, based on which sector the stock belongs to. That is, I will have a column that lists 100 stocks & their industry & the same for the top row. If firms are in the same industry, then their covariance is .6 and if they are in different industries the covariance is .4
I'm looking at Excel help re IF & the lookup commands, but I can't figure out how to make this happen.
I'm looking at Excel help re IF & the lookup commands, but I can't figure out how to make this happen.