Giter VIP home page Giter VIP logo

emgs's Introduction

EMGS

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.

setwd("codes/")
source("example1.R")

Second example

This example demonstrates the informative priors. It creates a plot (structure.pdf) under the figures/ directory.

source("example2.R")

Third example

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.

source("example3.R")

Simulation studies

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.

source("simulation-sim.R")
source("simulation-example.R")

emgs's People

Contributors

richardli avatar

Stargazers

mnarayan avatar

Watchers

James Cloos avatar  avatar paper2code - bot avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.