This class extends the general LongitudinalModel
class for using the
Stein-Fojo model for the longitudinal outcome.
Usage
LongitudinalSteinFojo(
mu_bsld = prior_normal(log(60), 1),
mu_ks = prior_normal(log(0.5), 1),
mu_kg = prior_normal(log(0.3), 1),
omega_bsld = prior_lognormal(log(0.2), 1),
omega_ks = prior_lognormal(log(0.2), 1),
omega_kg = prior_lognormal(log(0.2), 1),
sigma = prior_lognormal(log(0.1), 1),
scaled_variance = TRUE,
centred = FALSE
)
Arguments
- mu_bsld
(
Prior
)
for the mean baseline valuemu_bsld
.- mu_ks
(
Prior
)
for the mean shrinkage ratemu_ks
.- mu_kg
(
Prior
)
for the mean growth ratemu_kg
.- omega_bsld
(
Prior
)
for the baseline value standard deviationomega_bsld
.- omega_ks
(
Prior
)
for the shrinkage rate standard deviationomega_ks
.- omega_kg
(
Prior
)
for the growth rate standard deviationomega_kg
.- sigma
(
Prior
)
for the variance of the longitudinal valuessigma
.- scaled_variance
(
logical
)
whether the variance should be scaled by the expected value (see the "Statistical Specifications" vignette for more details)- centred
(
logical
)
whether to use the centred parameterization.