omega_star_cluster {survregVB} | R Documentation |
Calculates parameter \omega^*
of q^*(b)
to optimize the evidence
based lower bound (ELBO) in survregVB.frailty.fit
.
Description
Calculates parameter \omega^*
of q^*(b)
to optimize the evidence
based lower bound (ELBO) in survregVB.frailty.fit
.
Usage
omega_star_cluster(y, X, delta, omega_0, mu, tau, expectation_b, cluster)
Arguments
y |
A vector of observed log-transformed survival times. |
X |
A design matrix including covariates with first column of ones to represent the intercept. |
delta |
A binary vector indicating right censoring. |
omega_0 |
The shape hyperparameter |
mu |
Parameter |
tau |
Parameter |
expectation_b |
The expected value of b. |
cluster |
A numeric vector indicating the cluster assignment for each observation. |
Value
Parameter \omega^*
of q^*(b)
.
See Also
[Package survregVB version 0.0.1 Index]