Calculate the edge posterior probabilities for each timepoint.

Share:

Description

This function calculates the marginal posterior edge probabilities of the network at each timepoint.

Usage

1
calculateEdgeProbabilitiesTimePoints(network.samples, cps, numNodes)

Arguments

network.samples

Collection of network and changepoint samples of the MCMC simulation, as obtained by EDISON.run, runDBN.

cps

Changepoint vector.

numNodes

Number of nodes in the network.

Value

A list of length equal to the number of timepoints, where each entry contains a matrix of size NumNodes by NumNodes with the marginal posterior edge probabilities of the network at this timepoint.

Author(s)

Frank Dondelinger

See Also

calculateEdgeProbabilities,

calculateEdgeProbabilitiesSegs

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.