mean_var {bnmonitor} R Documentation

## Standard variation of the mean vector

### Description

Computation of an updated GBN object after a variation of the mean vector.

### Usage

mean_var(gbn, entry, delta)


### Arguments

 gbn object of class GBN. entry an index specifying the entry of the mean vector to vary. delta additive variation coefficient for the entry of the mean vector given in entry.

### Details

Let the original Bayesian network have a Normal distribution \mathcal{N}(μ,Σ) and let entry be equal to i. Let μ_i be the i-th entry of μ. For a variation of the mean by an amount δ the resulting distribution is \mathcal{N}(μ',Σ), where μ' is equal to μ except for the i-th entry which is equal to μ+δ.

### Value

An object of class GBN with an updated mean vector.

### References

Gómez-Villegas, M. A., Maín, P., & Susi, R. (2007). Sensitivity analysis in Gaussian Bayesian networks using a divergence measure. Communications in Statistics—Theory and Methods, 36(3), 523-539.

Gómez-Villegas, M. A., Main, P., & Susi, R. (2013). The effect of block parameter perturbations in Gaussian Bayesian networks: Sensitivity and robustness. Information Sciences, 222, 439-458.

covariance_var
mean_var(synthetic_gbn,2,3)