Description Usage Arguments Value
Generates data for posterior predictive model checks
1 2 3 4 5 6 7 8 | get_ppmcdatasets(
model,
ppmcMethod,
post_responses = NULL,
sd = 1,
n_samples = NULL,
sequential = FALSE
)
|
model |
birtmsfit object |
ppmcMethod |
char; either 'C' for consevative checks or 'M' for mixed ppmc with independently drawn theta distribution |
post_responses |
data.frame; data generated with birtms::get_postdata |
sd |
double; standard deviation prior for theta distrubution (may be adjusted if person covars are used) |
n_samples |
integer; number of posterior samples to use (using all posterior samples might lead to memory overflow) |
sequential |
boolean; should mixed PPMC data be calculated sequential (slower but less memory intensive); try adjusting n_samples first |
data.frame to use with birtms::get_ppmccriteria
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.