Description Usage Arguments Details Value
View source: R/generate_scenarios.R
Generate parameter settings for each simulation iteration
1 | generate_scenarios(seed = 3547912)
|
seed |
random seed to use for generating parameter settings for each iteration. Defaults to 3547912, which is the seed I use for my thesis. |
In my simulation study, I test 250 iterations for each of 144 different scenarios. Hence, this function returns a data frame with 36.000 rows - one for each iteration - that contains specific information used to generate and model the data
data frame with 36.000 rows and 11 columns
int. number of subjects
int. number of observed data points for each subject
float. between-subject variance for the means of the emission distributions
float. between-subject variance for the intercepts of the transition-probability matrix
string .unique id of the simulation scenario
int. iteration number of the simulation scenario
string. unique id of the iteration
int. random seed used to generate the data
int. random seed used to run the mHMM
json. initial values for the between-subject transition probability matrix
json. intiial values for each of the 3 emission distributions
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.