lambda_star: Calculates parameter lambda^* of q^*(sigma^2_{gamma}) to...

View source: R/parameters.R

lambda_starR Documentation

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)

Arguments

lambda_0

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

K

The number of clusters.

Value

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

See Also

survregVB.frailty.fit


survregVB documentation built on June 8, 2025, 1:46 p.m.