f.est | R Documentation |
Estimates the coordinate-wise shrinkage factors that are involved in disaggregated prediction using the information in the sample covariance matrix \mathbf{S}. See Definition (3) of the casp paper in the reference.
f.est(rmt, beta, tau, mx)
rmt |
the output from |
beta |
the non-negative shape hyper-parameter for the prior on the locations |
tau |
the positive scale hyper-parameter for the prior on the locations |
mx |
the sample size of the past observations \mathbf{X} |
This function relies on the output from rmt.est
and is called by casp.checkloss
,
and casp.linexloss
. Please see Definition (3) of the casp paper in the reference
for more details.
f - estimated shrinkage factors
Trambak Banerjee, Gourab Mukherjee, and Debashis Paul. Improved Shrinkage Prediction under a Spiked Covariance Structure, 2021.
rmt.est
, casp.checkloss
, casp.linexloss
library(casp) tau = 1 beta = 0.5 mx = 1 K = 4 S = diag(c(10,8,6,4,rep(1,6))) mw = 50 rmt<- rmt.est(K,S,mw) f<- f.est(rmt,beta,tau,mx)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.