Learn R Programming

EDISON (version 1.1.1)

CalculateLikelihoodRatio: Calculates the ratio of two likelihoods in a structure move.

Description

This function calculates the ratio of the liklihoods in a network structure move. The returned value is the ratio for the modification of one edge in one segment.

Usage

CalculateLikelihoodRatio(gamma0, y, Pxlm, Pxl, v0, delta2, dir)

Arguments

gamma0
Hyperparameter.
y
Target data.
Pxlm
Projection matrix with modified edge.
Pxl
Original projection matrix.
v0
Hyperparameter.
delta2
Delta squared parameter (signal-to-noise).
dir
Direction of the change: 1 = Added an edge. 2 = Removed an edge. 0 = No change.

Value

Returns the likelihood ratio.

References

For more information about the hyperparameters and the functional form of the likelihood, see:

Dondelinger et al. (2012), "Non-homogeneous dynamic Bayesian networks with Bayesian regularization for inferring gene regulatory networks with gradually time-varying structure", Machine Learning.

See Also

CalculatePriorRatio