Description Usage Arguments Value Author(s) Examples
This function estimates the delta for hedging a particular bond given bond data
1 | linearHedge(regressand, regressor)
|
regressand |
a |
regressor |
the right hand side |
delta of the hedge
Thomas Fillebeen
1 2 3 4 5 6 7 8 9 10 | # Load Data for historcal analysis tools
data(crsp.short)
data = largecap.ts[,2:6]
head(data)
# Empirical application: Linear hedge estimation
# OLS Level-on-Level regression
deltas = linearHedge(data[,1],data[,2:5])
# Insert the normalized hedged contract versus hedgeable contract value
deltas = c(1,deltas)
# In sample illustration: random, mean reverting spreads
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.