Package: dst 1.8.0

Peiyuan Zhu

dst: Using the Theory of Belief Functions

Using the Theory of Belief Functions for evidence calculus. Basic probability assignments, or mass functions, can be defined on the subsets of a set of possible values and combined. A mass function can be extended to a larger frame. Marginalization, i.e. reduction to a smaller frame can also be done. These features can be combined to analyze small belief networks and take into account situations where information cannot be satisfactorily described by probability distributions.

Authors:Peiyuan Zhu [aut, cre], Claude Boivin [aut]

dst_1.8.0.tar.gz
dst_1.8.0.zip(r-4.5)dst_1.8.0.zip(r-4.4)dst_1.8.0.zip(r-4.3)
dst_1.8.0.tgz(r-4.4-any)dst_1.8.0.tgz(r-4.3-any)
dst_1.8.0.tar.gz(r-4.5-noble)dst_1.8.0.tar.gz(r-4.4-noble)
dst_1.8.0.tgz(r-4.4-emscripten)dst_1.8.0.tgz(r-4.3-emscripten)
dst.pdf |dst.html
dst/json (API)
NEWS

# Install 'dst' in R:
install.packages('dst', repos = c('https://rapler.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/rapler/dst-1/issues

Datasets:
  • ads - The Captain's Problem. 'ads': Relation between variables Arrival
  • captain_result - The Captain's Problem. 'swr': Result of the evaluation of the Hypergraph at node Arrival
  • dlfm - The Captain's Problem. 'dlfm': Relation between variables Departure delay
  • fw - The Captain's Problem. 'fw': Relation between variables Forecast of the weather
  • mrf - The Captain's Problem. 'mrf': Relation between variables No Maintenance
  • mrt - The Captain's Problem. 'mrt': Relation between variables Maintenance done
  • swr - The Captain's Problem. 'swr': Relation between variables Sailing delay

On CRAN:

8.10 score 6 stars 125 scripts 329 downloads 51 exports 36 dependencies

Last updated 18 hours agofrom:9ede510761. Checks:OK: 1 NOTE: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 20 2024
R-4.5-winNOTENov 20 2024
R-4.5-linuxNOTENov 20 2024
R-4.4-winNOTENov 20 2024
R-4.4-macNOTENov 20 2024
R-4.3-winNOTENov 20 2024
R-4.3-macNOTENov 20 2024

Exports:addTobcaarrowbcabcaNormbcaPrintbcaPrintLargebcaRelbcaTruncbelplaubelplauEvalbelplauHbelplauHLogsumexpbelplauHQQbelplauLogsumexpbelplauPlotboundcommonalitydecodeDoSSnamesdotproddoublesdsrwondsrwonLogsumexpelimencodeextFrameextminintersintersBySSNamelogsummarrayToMatrixmatrixToMarraymFromMarginalmFromQQmFromQQRecursivemobiusInvHQQnameColsnameCols_prodnameRowsnzdsrnzdsrLogsumexppeelingplautransproductSpacereductionshapetabresulttmatrixttmatrixFromMarginalttmatrixFromQQttmatrixPartition

Dependencies:clicolorspacecpp11dplyrfansifarvergenericsggplot2gluegtableisobandlabelinglatticelifecyclemagrittrMASSMatrixmgcvmunsellnlmepillarpkgconfigpurrrR6RColorBrewerrlangscalesstringistringrtibbletidyrtidyselectutf8vctrsviridisLitewithr

Bayes_Rule

Rendered fromBayes_Rule.Rmdusingknitr::rmarkdownon Nov 20 2024.

Last update: 2024-07-07
Started: 2024-03-27

Captain_Example

Rendered fromCaptain_Example.Rmdusingknitr::rmarkdownon Nov 20 2024.

Last update: 2024-06-30
Started: 2020-02-01

Crime_Scene

Rendered fromCrime_Scene.Rmdusingknitr::rmarkdownon Nov 20 2024.

Last update: 2024-06-08
Started: 2024-03-27

Crime_Scene_Commonality

Rendered fromCrime_Scene_Commonality.Rmdusingknitr::rmarkdownon Nov 20 2024.

Last update: 2024-11-18
Started: 2024-06-08

Evidential_Modelling

Rendered fromEvidential_Modelling.Rmdusingknitr::rmarkdownon Nov 20 2024.

Last update: 2024-06-08
Started: 2024-06-08

Holmes_Burglary

Rendered fromHolmes_Burglary.Rmdusingknitr::rmarkdownon Nov 20 2024.

Last update: 2024-06-08
Started: 2024-06-08

Introduction to Belief Functions

Rendered fromIntroduction_to_Belief_Functions.Rmdusingknitr::rmarkdownon Nov 20 2024.

Last update: 2024-04-14
Started: 2020-02-01

Peeling algorithm on Zadeh's Example

Rendered fromZadeh_Example.Rmdusingknitr::rmarkdownon Nov 20 2024.

Last update: 2024-03-27
Started: 2020-01-23

PJM_example_DSC

Rendered fromPJM_example_DSC.Rmdusingknitr::rmarkdownon Nov 20 2024.

Last update: 2024-06-08
Started: 2024-06-08

PJM_example_DSC_Multivalued_Map

Rendered fromPJM_example_DSC_Multivalued_Map.Rmdusingknitr::rmarkdownon Nov 20 2024.

Last update: 2024-06-08
Started: 2024-06-08

PJM_example_DSC_Simplified

Rendered fromPJM_example_DSC_Simplified.Rmdusingknitr::rmarkdownon Nov 20 2024.

Last update: 2024-06-08
Started: 2024-06-08

Reliability_Proof_Machinery

Rendered fromReliability_Proof_Machinery.Rmdusingknitr::rmarkdownon Nov 20 2024.

Last update: 2024-06-08
Started: 2024-06-08

Simple_Implication

Rendered fromSimple_Implication.Rmdusingknitr::rmarkdownon Nov 20 2024.

Last update: 2024-08-29
Started: 2024-06-08

Template

Rendered fromTemplate.Rmdusingknitr::rmarkdownon Nov 20 2024.

Last update: 2024-06-08
Started: 2024-06-08

The Monty Hall Game

Rendered fromThe_Monty_Hall_Game.Rmdusingknitr::rmarkdownon Nov 20 2024.

Last update: 2024-09-24
Started: 2020-02-01

The original peter, John and Mary example

Rendered fromThe_PJM_example.Rmdusingknitr::rmarkdownon Nov 20 2024.

Last update: 2024-04-14
Started: 2024-03-27

Readme and manuals

Help Manual

Help pageTopics
Add some elements of 0 mass to an existing basic chance assignment.addTobca
The Captain's Problem. 'ads': Relation between variables Arrival (A), Departure delay (D) and Sailing delay (S)ads
Find upset, downset of a set among a latticearrow
Basic chance assignment mass functionbca bpa
Computer norm between two basic chance assignment objectsbcaNorm
Simple printing of the 'tt' matrix and mass values of a basic chance assignment (bca)bcaPrint
Print summary statistics of large mass functionsbcaPrintLarge
Representation of a mass function in a product spacebcaRel
Truncation of a basic chance assignment mass functionbcaTrunc
Calculation of the degrees of Belief and Plausibility of a basic chance assignment (bca).belplau
Evaluate A, B errorsbelplauEval
Calculate belief, disbelief, unknown, plausibility, plausibility ratiobelplauH
Calculate belief, disbelief, unknown, plausibility, plausibility ratio with logsumexpbelplauHLogsumexp
Compute belief, disbelief, unknown, plausibility, plausibility ratio based on commonality functionbelplauHQQ
Calculation of the degrees of Belief and Plausibility of a basic chance assignment (bca) with logsumexp.belplauLogsumexp
Plot belplau matrixbelplauPlot
Find inf, sup of a latticebound
The Captain's Problem. 'swr': Result of the evaluation of the Hypergraph at node Arrival (A)captain_result
Compute qq from ttcommonality
Find the value in base 10 of a number coded in another baseaplDecode decode
The Captain's Problem. 'dlfm': Relation between variables Departure delay (D), Loading delay (L), Forecast of the weather (F), Maintenance delay (M)dlfm
Construct subsets names from column names of a tt matrixDoSSnames
Generalized inner product of two matricesdotprod
Remove duplicate rows in a two-dimensional table.doubles
Combination of two mass functionsdsrwon
Combination of two mass functions with logsumexpdsrwonLogsumexp
Reduction of a relationelim
Convert a value to its representation in another chosen baseaplEncode encode
Extension of the frame of discernment of a variableextFrame
Extension of a relationextmin
The Captain's Problem. 'fw': Relation between variables Forecast of the weather (F) and Weather at sea (W)fw
Intersection of two tables of propositionsinters
Intersect two vectors of ssnamesintersBySSName
Adding small probabilitieslogsum
Transformation of an array data to its matrix representationmarrayToMatrix
Transformation of the tt matrix of a relationmatrixToMarray
Construct m vector of a bca from marginal probabilitiesmFromMarginal
Construct a mass vector from qq function.mFromQQ
Construct a mass vector from qq function and ttmatrix of focal elements recursively.mFromQQRecursive
Mobius inversion of commonality functionmobiusInvHQQ
The Captain's Problem. 'mrf': Relation between variables No Maintenance (M = false) and Repairs at sea (R)mrf
The Captain's Problem. 'mrt': Relation between variables Maintenance done (M = true) and Repairs at sea (R)mrt
Naming the columns of the 'tt' matrixnameCols
Naming the columns of the 'tt' matrix of a product spacenameCols_prod
Combining the column names of a matrix to construct names for the rowsnameRows
Normalization of a basic chance assignmentnzdsr
Normalization of a basic chance assignment with logsumexpnzdsrLogsumexp
The peeling algorithmpeeling
Plausibility transformation of the singletons of a frameplautrans
Product space representation of a relationproductSpace
Summary of a vector for any operator.aplRDV reduction
Obtain dimensions of an array or length of a vector with a single commandaplShape shape
The Captain's Problem. 'swr': Relation between variables Sailing delay (S), Weather at sea (W), and Repairs at sea (R)swr
Prepare a table of resultstabresul
Construct a description matrix from a list of subsets names.ttmatrix
Construct tt matrix of a bca from marginal probabilitiesttmatrixFromMarginal
Construct a description matrix from qq function.ttmatrixFromQQ
Create partition matrixttmatrixPartition