Plot Observed vs. Reference Diagnostic Statistics

Share:

Description

This function plots the observed statistic vs. the empirical density of reference statistics.

Usage

1
plot_pRPS(T.obs, T.rep, nm = "x")

Arguments

T.obs

a value which indicates the observed statistic

T.rep

a vector which indicates the reference statistics

nm

the name of the diagnostic statistics

Details

density function is used to compute the empirical density of reference statistics.

Value

A plot.

Author(s)

Liang Jing ljing918@gmail.com

See Also

BMCT, pRPS.

Examples

1
2
3
## Not run: 
plot_pRPS(1, rnorm(1000)) 
## End(Not run)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.