tau_star {survregVB} | R Documentation |
Calculates parameter \tau^*_i
of q^*(\gamma_i)
for
i=1,...,K
clusters to optimize the evidence based lower bound
(ELBO) in survregVB.frailty.fit
.
Description
Calculates parameter \tau^*_i
of q^*(\gamma_i)
for
i=1,...,K
clusters to optimize the evidence based lower bound
(ELBO) in survregVB.frailty.fit
.
Usage
tau_star(y, X, delta, alpha, omega, mu, tau, sigma, 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. |
alpha |
The shape parameter |
omega |
The scale parameter |
mu |
Parameter |
tau |
Parameter |
sigma |
Parameter |
expectation_b |
The expected value of b. |
cluster |
A numeric vector indicating the cluster assignment for each observation. |
Value
Parameter vector \tau^*_i
of q^*(\gamma_i)
for
i=1,...,K
clusters.
See Also
[Package survregVB version 0.0.1 Index]