Description Usage Arguments Value
Functions used to generate latent state data in the various scenarios in accompanying paper
1 2 3 4 5 6 7 8 9 | generate_data_with_S(
scenario = 3,
Curves_binary,
N,
J,
Ys,
alpha1 = 2/3,
alpha2 = 1/4
)
|
scenario |
Which scenario to generate S data |
Curves_binary |
The binary-valued functional data |
N |
Total number of subjects to generate data for |
J |
Number of realizations |
Ys |
Group assignments for the N individuals |
alpha1 |
probability for latent state i ngroup 1 |
alpha2 |
probability for latent state in group 2 |
Binary or latent curves with latent states
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.