Description Usage Arguments Value Author(s) References See Also
View source: R/CalculateLikelihoodRatio.R
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.
1 | 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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.