Learn R Programming

BayesianFROC (version 1.0.0)

rank_statistics_with_two_parameters: Rank Statistics

Description

Rank Statistics

Usage

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

Run this code
# NOT RUN {
 
# }
# 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
         )


# }
# NOT RUN {
# dottest

# }

Run the code above in your browser using DataLab