rank_statistics_with_two_parameters: Rank Statistics

Description Usage Arguments Value Examples

View source: R/Simulation_Based_Calibration.R

Description

Rank Statistics

Usage

1
2
3
4
rank_statistics_with_two_parameters(
  values.of.f.at.one.MCMC.samples,
  values.of.f.at.a.sample.from.priors
)

Arguments

values.of.f.at.one.MCMC.samples

The value of f at a vector whose components are constructed by the all parameters at one MCMC sample.

values.of.f.at.a.sample.from.priors

The value of f at a vector of model parameters from the prior distribution.

Value

The value of the Rank Statistics

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
 ## Not run: 
#======== The first example   ==========================================

  rank_statistics_with_two_parameters(c(1,2,3,4,5),4)

#=======  The Second Example  ==========================================

       a <- Draw_a_simulated_data_set_and_Draw_posterior_samples()

    rank_statistics_with_two_parameters(
         a$MCMC.samples.sended.by.fun,
         a$prior.samples.sended.by.fun
         )



## End(Not run)# dottest

BayesianFROC documentation built on Jan. 23, 2022, 9:06 a.m.