Description Usage Arguments Value Examples
View source: R/Simulation_Based_Calibration.R
Rank Statistics
1 2 3 4 | rank_statistics_with_two_parameters(
values.of.f.at.one.MCMC.samples,
values.of.f.at.a.sample.from.priors
)
|
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. |
The value of the Rank Statistics
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
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.