Gibbs Step Li - One MCMC step for the Li Model
gibbsStepLi(ijDat, iDat, kappa, gamma, alpha, beta, S, indFirst)
A list containing one MCMC draws for each parameter. Elements are:
A data.frame with updated parameters at the individual-observation level: Individual, ys, lambdais, piis, ss.
A data.frame with updated parameters at the individual level: Individual, lambdas, pis.
Fixed value of hyperparameter kappa.
Fixed value of hyperparameter gamma.
Fixed value of hyperparameter alpha.
Fixed value of hyperparamter beta.
Fixed input value S.
A logical vector indicating the first occurrence of each individual.
A data.frame with parameters at the individual-observation level: Individual, ys, lambdais, piis, ss.
A data.frame with parameters at the individual level: Individual, lambdas, pis.
Fixed value of hyperparameter kappa.
Fixed value of hyperparameter gamma.
Fixed value of hyperparameter alpha.
Fixed value of hyperparamter beta.
Fixed input value S.
A logical vector indicating the first occurrence of each individual.
Li, Kathy, et al. "A predictive model for next cycle start date that accounts for adherence in menstrual self-tracking." Journal of the American Medical Informatics Association 29.1 (2022): 3-11.