Description Usage Arguments Details Value Author(s) See Also Examples
This function calculates p-value and relative predictive surprise (RPS) by comparing observed and reference statistics.
1 | pRPS(T.obs, T.rep)
|
T.obs |
a value which indicates the observed statistic |
T.rep |
a vector which indicates the reference statistics |
density
function is used to compute the empirical density of reference statistics.
A vector of p-value and RPS.
Liang Jing ljing918@gmail.com
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.