Giter VIP home page Giter VIP logo

simmixeddag's Introduction

simMixedDAG

The simMixedDAG package contains functions for simulation of both parametric and non-parametric datasets from DAG models. It also enables calculating average treatment effects in DAG models.

For a "vignette" of sorts see my blog post.

I'm a rather poor progarammer and there's probably plenty of bugs abound.
If you happen to run into trouble please open an issue or consider improving the code.

Kudos to Guangchuang YU for authoring the cool hexSticker package, which makes creating hexagon sticker for your package (like the one on the right) a breeze.

simmixeddag's People

Contributors

bendettasd avatar iyarlin avatar

Stargazers

Lixiao avatar  avatar gepr avatar Jean-Paul R. Soucy avatar Peter M. Dahlgren avatar Luke W. Johnston avatar  avatar Krzysztof Joachimiak avatar Jan Bours avatar hang.wu avatar Robert Myles McDonnell avatar Tom Palmer avatar Danilo Freire avatar

Watchers

James Cloos avatar Tom Palmer avatar

simmixeddag's Issues

Simulating data error

Hello,
I'm trying to utilize the sim_mixed_dag function to generate data based on a DAG I've created.
However, I'm receiving the following error:

Error in assign(var, eval(parse(text = var)), envir = env) : use of NULL environment is defunct

this error can be replicated after simulating a randomDAG with >9 nodes.
g <- randomDAG(9, 0.35)
param_dag_model <- parametric_dag_model(dag = g) ; sim_data <- sim_mixed_dag(dag_model = param_dag_model,N = 500)
works fine
g <- randomDAG(10, 0.35)
param_dag_model <- parametric_dag_model(dag = g) ; sim_data <- sim_mixed_dag(dag_model = param_dag_model,N = 500)
fails.

As I'm working with a large DAG - any suggestions for how to solve this issue?

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.