Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bernoulli var affecting Poisson var #21

Open
linneafransson opened this issue Apr 19, 2024 · 0 comments
Open

Bernoulli var affecting Poisson var #21

linneafransson opened this issue Apr 19, 2024 · 0 comments

Comments

@linneafransson
Copy link

Hi,

We are currently trying to simulate data for 4 variables. Our issue is that we have 2 variables following Poisson distributions, and we can't find any information about simcausal supporting this distribution.

In our case we have the following DAG with 2 colliders, where we investigate whether source code refactoring influence test code refactoring.
SR = Source code refactoring (Bernoulli)
TR= Test code refactoring (Bernoulli)
R_Loc = Lines of code in child commit (Poisson)
R_L = # of locations in child commit (Poisson)

co_tot_effect_v2

Do you have any suggestion regarding how we could achieve the effect of two Bernoulli variables influencing a variable following a Poisson distribution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant