Description Usage Arguments Value
Solve the GLMM based on the Estimates of the scores for the multilevel scenario
1 2 3 4 5 6 7 8 9 10 11 | estimate_scores(
data_formatted,
s_mat,
J,
I,
eigen_vals1,
eigen_vals2,
eigen_funcs1,
eigen_funcs2,
mu_t
)
|
data_formatted |
NJ x D binary matrix |
s_mat |
Matrix of estimated latent state values S |
J |
Number of curves per subject |
I |
N Number of subjects |
eigen_vals1 |
Vector of Eigenvalues of the first level (individual) effects |
eigen_vals2 |
Vector of Eigenvalues of the second level (daily) effects |
eigen_funcs1 |
Matrix K1 x D of eigenfunctions of first level |
eigen_funcs2 |
Matrix K2 x D of eigenfunctions of second level |
mu_t |
Mean function vector |
First Level Scores for every individual
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.