This repository contains the R package EMGS (currently still developer's version), described in
Zehang R Li and Tyler H McCormick. An Expectation Conditional Maximization approach for Gaussian graphical models, 2018 arXiv
Using the package
You can install the package with devtools
install_github("richardli/EMGS", subdir = "EMGS") library(EMGS)
First naive example
This example demonstrates the bias reduction of EMGS. It creates a plot (illustraion-emgs.pdf) under the figures/ directory.
This example demonstrates the informative priors. It creates a plot (structure.pdf) under the figures/ directory.
This example demonstrates the missing data imputation for Burke Gilman Trail example. It creates a plot (burke.pdf) under the figures/ directory. For quicker illustration, this example models only two blocks by combining the pedestrians and bikes from both directions instead of modeling four blocks.
Running the full version of the simulation as described in the paper takes a long time and is recommended to be implemented on a cluster. Below is a low dimensional example.