setPosteriorPredictiveCheckOptions {blatent} | R Documentation |
Posterior Predictive Model Checking Options
Description
Provides a list of posterior predictive model checks to be run following estimation of a blatent model. Currently six types of posterior predictive model checks (PPMCs) are available: univarate: mean and univariate Chi-square statistic, bivariate: covariance, tetrachoric correlation, pearson correlation, and bivariate Chi-square statistic.
Usage
setPosteriorPredictiveCheckOptions(
estimatePPMC = TRUE,
PPMCsamples = 1000,
PPMCtypes = 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
estimatePPMC |
If |
PPMCsamples |
The number of samples from the posterior distribution and simulated PPMC data sets. |
PPMCtypes |
The type of PPMC tests to conduct. For each test, the statistic listed is calculated on each PPMC-based simulated data set. Comparisons are made with the values of the statistics calculated on the original data set. Currently six PPMC statistics are available:
|
lowPPMCpercentile |
A vector of length equal to the length and number of |
highPPMCpercentile |
A vector of length equal to the length and number of |
Value
A list of named values containing a logical value for each parameter above.