bcaTrunc: Truncation of a basic chance assignment mass function

View source: R/bcaTrunc.R

bcaTruncR Documentation

Truncation of a basic chance assignment mass function

Description

When working with large frames of discernment, the bca resulting of repeated application of Dempster's Rule of Combination can become big. One way to handle this situation could be to group subsets whose mass is less than a small treshold value. The function bcaTrunc serves this purpose to reduce a large bca to its main elements.

Usage

bcaTrunc(x, seuil)

Arguments

x

A bca to truncate.

seuil

A treshold value

Value

tr_x The bca object truncated.

Author(s)

Claude Boivin

Examples

x <- bca(tt = matrix(c(0,1,0,0, 
0,0,1,1,
1,1,0,0,
1,0,1,0,
0,1,1,0,
1,1,1,1),ncol=4, byrow = TRUE), m = c(0.2, 0.5, 0.06, 0.04, 0.03, 0.17),
cnames = c("a", "b", "c", "d"))
bcaPrint(x)
tr_x <- bcaTrunc(x, seuil = 0.1)
bcaPrint(tr_x)


dst documentation built on Nov. 16, 2023, 5:08 p.m.