pp_check.hmcdm | R Documentation |
pp_check
method for class hmcdm
.
## S3 method for class 'hmcdm'
pp_check(object, plotfun = "dens_overlay", type = "total_score", ...)
object |
a fitted model object of class " |
plotfun |
A character string naming the type of plot. The list of available
plot functions include |
type |
A character string naming the statistic to be used for obtaining posterior predictive distribution plot.
The list of available types include |
... |
Additional arguments |
Plots for checking the posterior predictive distributions. The default Plotfun
"dens_overlay"
plots density of each dataset are overlaid with the distribution of the observed values.
Zhang, S., Douglas, J. A., Wang, S. & Culpepper, S. A. (2019) <\Sexpr[results=rd]{tools:::Rd_expr_doi("10.1007/978-3-030-05584-4_24")}>
bayesplot::ppc_dens_overlay()
bayesplot::ppc_stat()
bayesplot::ppc_stat_2d()
bayesplot::ppc_scatter_avg()
bayesplot::ppc_error_scatter_avg()
output_FOHM = hmcdm(Y_real_array,Q_matrix,"DINA_FOHM",Design_array,1000,500)
library(bayesplot)
pp_check(output_FOHM)
pp_check(output_FOHM, plotfun="hist", type="item_mean")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.