.. _bdgraph_rgwish: bdgraph_rgwish ------------------ .. rubric:: G-Wishart .. list-table:: * - Package - `BDgraph `__ * - Version - 2.64 * - Language - `R `__ * - Docs - `here `__ * - Paper - :footcite:t:`lenkoski2013direct`, :footcite:t:`JSSv089i03` * - Graph type - `UG `__ * - Docker - `bpimages/bdgraph:2.72.0 `__ * - Module - `bdgraph_rgwish `__ .. rubric:: Description Provided that :math:`G` is undirected, an object of this module defines a zero-mean Gaussian graphical model by sampling the precision matrix from the *G-Wishart* distribution using the *rgwish* function from the R package `BDgraph `__. The inverted precision matrix is saved, serving as covariance matrix in a Gaussian distribution. .. rubric:: Example .. code-block:: json [ { "id": "gwi", "b": 3, "threshold_conv": 1e-08 } ] .. footbibliography::