mu_star {survregVB} | R Documentation |
Calculates parameter \mu^*
of q^*(\beta)
to optimize the
evidence based lower bound (ELBO) in survregVB.fit
.
Description
Calculates parameter \mu^*
of q^*(\beta)
to optimize the
evidence based lower bound (ELBO) in survregVB.fit
.
Usage
mu_star(y, X, delta, mu_0, v_0, alpha, omega, mu, Sigma, expectation_b)
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. |
mu_0 |
Hyperparameter |
v_0 |
The precision (inverse variance) hyperparameter |
alpha |
The shape parameter |
omega |
The scale parameter |
mu |
Parameter |
Sigma |
Parameter |
expectation_b |
The expected value of b. |
Value
Parameter \mu^*
of q^*(\beta)
.