CalculateLikelihoodRatio {EDISON} | R Documentation |
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.
CalculateLikelihoodRatio(gamma0, y, Pxlm, Pxl, v0, delta2, dir)
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. |
Returns the likelihood ratio.
Frank Dondelinger
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.