comp.parameters performs parameter comparisons based on MCMC outputs

comp.parameters(MCMC, parameter = "mu", type = 1, threshold = 1)

Arguments

MCMC

MCMC data frame.

parameter

The parameter on which to get the comparisons

type

The type of comparisons. 1 for comparison two by two. 2 for comparison to a specific threshold.

threshold

For type = 2, the threshold to which a parameter is different

Value

The function returns

  • for type = 1 : a square matrix with the probability of having a common distribution for each pair of parameter.

  • for type = 2 : a vector with the probability of being different from the given threshold.

Details

The comparisons is based on the probability of having a common distribution for each pair of parameters (type 1) or to be different from a specific threshold (type 2). More details in the vignette (type vignette ("PPBstats")).

See also