Learn R Programming

EDISON (version 1.1.1)

sampleDelta2: Sample delta squared.

Description

This function samples the signal-to-noise hyperparameter delta squared.

Usage

sampleDelta2(pos, x, q, B, S, sig2, alphad2, betad2)

Arguments

pos
The current segment.
x
Data,
q
Number of nodes.
B
Regression coefficients.
S
Network structure.
sig2
Sigma squared.
alphad2
Gamma prior hyperparameter.
betad2
Gamma prior hyperparameter.

Value

New sample of delta squared.

References

For details of the sampling, 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.