Description Usage Arguments Value Examples
calculate factor return, factor covariance and residual variance.
1 2 3 4 5 6 7 8 9 10 | f_rtn_cov_delta(dure = months(1), rolling = FALSE, rtntype = c("mean",
"forcast"), covtype = c("shrink", "simple"), nwin = 24, reg_results)
getfRtn(dure = months(1), rolling = FALSE, rtntype = c("mean", "forcast"),
nwin = 24, reg_results)
getfCov(dure = months(1), rolling = FALSE, covtype = c("shrink",
"simple"), nwin = 24, reg_results)
getDelta(dure = months(1), rolling = FALSE, nwin = 24, reg_results)
|
dure |
a period object from package |
rolling |
default value is |
rtntype |
is method to caculate factor return,mean means average of historical data,forcast means forcast factor return based on historical data,it may take a while,the forcast method come from package |
covtype |
means type of caculating covariance,shrink can see example in |
nwin |
is rolling windows forward. |
reg_results |
see examples in |
RebDates |
is date set, can be missing. |
a data frame of factors' return .
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.