Skip to content

Bernoulli var affecting Poisson var #21

@linneafransson

Description

@linneafransson

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions