| gibbsStepLi | R Documentation | 
Gibbs Step Li - One MCMC step for the Li Model
gibbsStepLi(ijDat, iDat, kappa, gamma, alpha, beta, S, indFirst)
ijDat | 
 A data.frame with parameters at the individual-observation level: Individual, ys, lambdais, piis, ss.  | 
iDat | 
 A data.frame with parameters at the individual level: Individual, lambdas, pis.  | 
kappa | 
 Fixed value of hyperparameter kappa.  | 
gamma | 
 Fixed value of hyperparameter gamma.  | 
alpha | 
 Fixed value of hyperparameter alpha.  | 
beta | 
 Fixed value of hyperparamter beta.  | 
S | 
 Fixed input value S.  | 
indFirst | 
 A logical vector indicating the first occurrence of each individual.  | 
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.
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.