sampleDelta2: Sample delta squared.

Description Usage Arguments Value Author(s) References

View source: R/sampleDelta2.R

Description

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

Usage

1
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.

Author(s)

Sophie Lebre

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.


EDISON documentation built on May 2, 2019, 2:39 a.m.