Description Usage Arguments Value Note
View source: R/component_samplers.R
Sample the global parameters, delta.h, with tau.h = cumprod(delta.h), from the MGP prior for factor models
1 | sampleMGP(theta.jh, delta.h, a1 = 2, a2 = 3)
|
theta.jh |
the |
delta.h |
the |
a1 |
the prior parameter for factor 1: delta.h[1] ~ Gamma(a1, 1) |
a2 |
the prior parameter for factors 2:K: delta.h[h] ~ Gamma(a2, 1) for h = 2:K |
delta.h
, the K
-dimensional vector of multplicative components,
where tau.h[h] = prod(delta.h[1:h])
The default a1 = 2
and a2 = 3
appears to offer the best performance
in Durante (2017).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.