Learn R Programming

dst (version 1.3.0)

dsrwon: Combination of two mass functions

Description

The unnormalized Dempster's rule is used to combine two mass functions mx and my defined on the same frame of discernment and represented by their respective basic chance assignments x and y. Dempster's rule of combination is applied. The normalization is not done, leaving the choice to the user to normalize the results or not (for the normalization operation, see nzdsr).

Usage

dsrwon(x, y, relnb = NULL)

Arguments

x

A bca mass function (see bca).

y

A bca mass function (see bca).

relnb

Identification number of the relation. Can be omitted.

Value

A list of class bcaspec with these two components added:

  • I12 Intersection table of subsets.

  • Sort_order Sort order of subsets.

Details

The two bca's x and y must be defined on the same frame of discernment for the combination to take place. The relation number of the x input is given to the output result.

References

Shafer, G., (1976). A Mathematical Theory of Evidence. Princeton University Press, Princeton, New Jersey, pp. 57-61: Dempster's rule of combination.

Examples

Run this code
# NOT RUN {
x1 <- bca(f=matrix(c(0,1,1,1,1,0,1,1,1),nrow=3, 
byrow = TRUE), m=c(0.2,0.5, 0.3), 
cnames =c("a", "b", "c"),  
infovarnames = "x", varnb=1)
x2 <- bca(f=matrix(c(1,0,0,1,1,1),nrow=2, 
byrow = TRUE), m=c(0.6, 0.4),  
cnames = c("a", "b", "c"),  
infovarnames = "x", varnb = 1)
dsrwon(x1,x2)
# }

Run the code above in your browser using DataLab