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

View source: R/belplauH.R

belplauHR Documentation

Calculate belief, disbelief, unknown, plausibility, plausibility ratio

Description

Calculate belief, disbelief, unknown, plausibility, plausibility ratio

Usage

belplauH(MACC, W2, h)

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

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.

Author(s)

Peiyuan Zhu

Examples

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)

RAPLER/dst-1 documentation built on Oct. 15, 2024, 9:24 p.m.