Description Usage Arguments Value
Calculates log-likelihood after obtaining draws from the joint posterior distribution. Use after running run_mcmc.
1 |
y |
A list of of length n containing responses |
X |
An n x p design matrix |
Bs |
Basis matrix for longitudinal direction |
Bt |
Basis matrix for functional direction |
missing |
A list of length n containing missing indices for each response |
Theta |
Posterior draws of Theta, arranges in a cube |
Varphi |
Posterior draws of Varphi, vector format |
iter |
Number of total samples |
burnin |
Number of samples to use as burnin |
A Matrix of size (iter - burnin) x number of observed time points over all subjects containing log-likelihood values
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.