Learn R Programming

survregVB (version 0.0.2)

alpha_star: Calculates parameter \(\alpha^*\) of \(q^*(b)\) to optimize the evidence based lower bound (ELBO) in survregVB.fit and survregVB.frailty.fit.

Description

Calculates parameter \(\alpha^*\) of \(q^*(b)\) to optimize the evidence based lower bound (ELBO) in survregVB.fit and survregVB.frailty.fit.

Usage

alpha_star(alpha_0, delta)

Value

Parameter \(\alpha^*\) of \(q^*(b)\).

Arguments

alpha_0

The shape hyperparameter \(\alpha_0\) of the prior distribution of the scale parameter, b.

delta

A binary vector indicating right censoring.

See Also

survregVB.fit

survregVB.frailty.fit