blatentPPMC {blatent} | R Documentation |
blatentPPMC
Description
Simulates data using parameters from posterior distribution of blatent Markov chain.
Usage
blatentPPMC(
model,
nSamples,
seed = model$options$seed,
parallel = TRUE,
nCores = 4,
type = c("mean", "covariance", "univariate", "bivariate", "tetrachoric", "pearson"),
lowPPMCpercentile = c(0.025, 0.025, 0, 0, 0.025, 0.025),
highPPMCpercentile = c(0.975, 0.975, 1, 1, 0.975, 0.975)
)
Arguments
model |
A blatent MCMC model object. |
nSamples |
The number of PPMC samples to be simulated. |
seed |
The random number seed. Defaults to the seed set in the blatent model object. |
parallel |
If parallelization should be used in PPMC. Defaults to |
nCores |
If |
type |
The type of statistic to generate, submitted as a character vector. Options include:
|
lowPPMCpercentile |
A vector of the lower bound percentiles used for flagging statistics against PPMC
predictive distributions. Results are flagged if the observed statistics percentile is lower than
the number in the vector. Provided in order of each term in |
highPPMCpercentile |
A vector of the upper bound percentiles used for flagging statistics against PPMC
predictive distributions. Results are flagged if the observed statistics percentile is higher than
the number in the vector. Provided in order of each term in |