Learn R Programming

survregVB (version 0.0.2)

lambda_star: Calculates parameter \(\lambda^*\) of \(q^*(\sigma^2_{\gamma})\) to optimize the evidence based lower bound (ELBO) in survregVB.frailty.fit.

Description

Calculates parameter \(\lambda^*\) of \(q^*(\sigma^2_{\gamma})\) to optimize the evidence based lower bound (ELBO) in survregVB.frailty.fit.

Usage

lambda_star(lambda_0, K)

Value

Parameter \(\lambda^*\) of \(q^*(\sigma^2_{\gamma})\).

Arguments

lambda_0

The shape hyperparameter \(\lambda_0\) of the prior distribution of the frailty variance, \(\sigma_\gamma^2\).

K

The number of clusters.

See Also

survregVB.frailty.fit