Description Usage Arguments Value Author(s) See Also Examples
This function conducts Bayesian model checking by comparing observed and reference data sets and reveals the result via "p-value" and "RPS" (as well as the plot).
1 |
Y.obs |
a vector which indicates the observed data set |
Y.rep |
a matrix which indicates the reference data sets |
funcT |
a function which defines the dignostic statistic |
ifplot |
a logical value which indicates whether plot the dignostic statistics |
A vector of p-value and RPS.
Liang Jing ljing918@gmail.com
repYeb
, repYpost
, pRPS
, plot_pRPS
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.