Description Usage Arguments Details Value References See Also
View source: R/main_function.R
Fit a Gaussian Graphical Model or a Gaussian Bayesian Network by maximum likelihood.
1 | fitSgraph(graph, S)
|
graph |
A directed or undirected graph represented as a graphNEL object. |
S |
A sample covariance matrix |
If graph is undirected it uses the Iterative Proprotional Fitting algoritm (qpgraph package). If graph is directed it uses Iterative Conditional Fitting (ggm package).
A covariance matrix with the independence constraints entailed by the graph.
Drton, M. & Richardson, T. S. (2003). A new algorithm for maximum likelihood estimation in Gaussian graphical models for marginal independence. Proceedings of the Ninetheen Conference on Uncertainty in Artificial Intelligence, 184-191.
Whittaker, J. Graphical models in applied multivariate statistics. Wiley, 1990.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.