Learn R Programming

dst (version 1.8.0)

belplauH: Calculate belief, disbelief, unknown, plausibility, plausibility ratio

Description

Calculate belief, disbelief, unknown, plausibility, plausibility ratio

Usage

belplauH(MACC, W2, h)

Value

A matrix of M rows by 5 columns is returned, where M is the number of hypothesis tested:

  • Column 1: the degree of Belief bel;

  • Column 2: the degree of Disbellief (belief in favor of the contrary hypothesis) disbel;

  • Column 3: the degree of Epistemic uncertainty unc;

  • Column 4: the degree of Plausibility plau;

  • Column 5: the Plausibility ratio rplau.

Arguments

MACC

Vector of masses e.g. x$spec[,2]

W2

Description matrix e.g. x$tt

h

H hypotheses to be tested, same format as x$tt

Author

Peiyuan Zhu

Examples

Run this code
x <- bca(tt = matrix(c(1,1,0,1,1,1), nrow = 2, byrow = TRUE), m = c(0.8, 0.2), cnames = c(1,2,3))
belplauH(MACC = x$spec[,2], W2 = x$tt, h = x$tt)
hyp <- matrix(c(0,1,0, 0,1,1), nrow = 2, byrow = TRUE)
rownames(hyp) <- nameRows(hyp)
belplauH(MACC = x$spec[,2], W2 = x$tt, h = hyp)

Run the code above in your browser using DataLab