Skip to content

Debug causalBoosting in the observational case #8

@saberpowers

Description

@saberpowers

As pointed out by William Nilsson in email correspondence, when a stratum contains only treatment observations or only control observations, causalBoosting() encounters a fatal error. This is presumably true of causalMARS() and PTOforest() as well. The issue here is to check at the beginnings of these functions that each stratum contains both treatment and control observations, and to exit with an informative error message if not.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions