distance_mat_stages {stagedtrees}R Documentation

Compute the distance matrix

Description

Compute the matrix of distances between probabilities, e.g the transition probabilities for a given variable in a staged event tree.

Usage

distance_mat_stages(x, distance = probdist.kl)

Arguments

x

list of conditional probabilities for each stage.

distance

the distance function e.g. probdist.kl.

Value

The matrix with the distances between stages.


[Package stagedtrees version 2.3.0 Index]