Compute p-values using ecdf from parameter resamples
pvalues.samples.Rd
This function takes a vector mu.B
of sampled values of a variable X, and a single observation mu.obs
of the same variable, and computes the p-value of mu.obs
using the empirical cumulative distribution function (ecdf) of mu.B
.