betaHedge2 | R Documentation |
For two assets with one positive beta and one negative beta, the beta neutral portfolio is a simple linear system that can be solved explicitly. The weights add up to one and the aggregate beta is zero. This function returns these weights based off historical estimates of the betas.
betaHedge2(arithmeticReturns)
arithmeticReturns |
the multivariate time-series of returns. Assumes the first column is the benchmark, e.g. S&P 500 |
vector of betas
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.