Sets the specifications for the generation of the types of parameters in the simulation. Currently comprised of a list of unevaluated expressions (encapsulated in quotation marks; not calls for ease of user input) that will be evaluated by simulation function to generate parameters. Input must be in the form of a random number generation function to be called, surrounded by quotation marks.
setDefaultSimulatedParameters(
observedIntercepts = "runif(n = 1, min = -2, max = 2)",
observedMainEffects = "runif(n = 1, min = 0, max = 2)",
observedInteractions = "runif(n = 1, min = -2, max = 2)",
latentIntercepts = "runif(n = 1, min = -1, max = 1)",
latentMainEffects = "runif(n = 1, min = -1, max = 1)",
latentInteractions = "runif(n = 1, min = -0.5, max = 0.5)",
latentJointMultinomial = "rdirichlet(n = 1, alpha = rep(1,nCategories))"
)
The data generating function for all intercepts for observed variables. Defaults to "runif(n = 1, min = -2, max = 2)"
.
The data generating function for the main effects for observed variables. Defaults to "runif(n = 1, min = 0, max = 2)"
.
The data generating function for all interactions for observed variables. Defaults to "runif(n = 1, min = -2, max = 2)"
.
The data generating function for all intercepts for Bernoulli latent variables modeled with univariate structural models. Defaults to "runif(n = 1, min = -1, max = 1)"
.
The data generating function for the main effects for Bernoulli latent variables modeled with univariate structural models. Defaults to "runif(n = 1, min = -1, max = 1)"
.
The data generating function for all interactions for Bernoulli latent variables modeled with univariate structural models. Defaults to "runif(n = 1, min = -0.5, max = 0.5)"
.
The data generating function for all interactions for multivariate Bernoulli latent variables modeled with joint structural models.
Defaults to "rdirichlet(n = 1, alpha = rep(1,nCategories))"
. Can use variable nCategories
to replicate a value or provide a numeric atomic vector as input.
Will return an error if size of resulting parameter vector is not correct.