Skip to content
This repository was archived by the owner on Jan 9, 2023. It is now read-only.
This repository was archived by the owner on Jan 9, 2023. It is now read-only.

Synthetic Confounding Simulation #132

@chathasphere

Description

@chathasphere

At three positions in each patients sequence, we insert either special codes X and Y. So there are four possible combinations: XX, XY, YX, and YY.

If the first position is X, then set P(T = 1) = 0.2.
If the first position is Y, then set P(T = 1) = 0.8.

If the second position is X, then set E[Y | T=1] = 0.1 and E[Y | T = 0] = 0.3.
If the second position is Y, then set E[Y | T = 1] = 0.7 and E[Y | T = 0] = 0.9.

Therefore, the relative ordering and presence of X and Y are confounders.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions