update_theta_gamma: update_theta_gamma

View source: R/updates.R

update_theta_gammaR Documentation

update_theta_gamma

Description

Update the DPP hyper-parameter for site level

Usage

update_theta_gamma(theta, tau, Gamma, S, Ds, sig = 10)

Arguments

theta

The DPP hyper-parameter for patient level

tau

A fixed DPP hyper-parameter, which we suggest high value, say 10^5

Gamma

The linear coefficients for site level covariates. Should be a 3-dimensional array.

S

The number of patient level clusters

Ds

The number for site level clusters for each patient level cluster

sig

The hyper-parameter with default value being 10

Value

updated DPP hyper-parameter for site level

See Also

update_RJ for a complete example for all functions in this package.


BAREB documentation built on April 12, 2025, 1:53 a.m.