Skip to content

should we allow determ nodes in givenNodes in getConditionallyIndepSets? #46

Description

@paciorek

In nimble we allow determ nodes to be in givenNodes in getConditionallyIndepSets.

When I originally translated getConditionallyIndepSets for nimbleModel, I left out processing related to determ nodes, thinking that we could just pass through those nodes. I think this works in most cases, but if givenNodes includes any deterministic nodes, then it breaks.

I could add the additional processing related to determ nodes that is in nimble, but that will involve some additional work and I think it would mean getConditionallyIndepSets would be slower as we would be working through the graph using immediate=TRUE.

It's not clear to me if we have a use case for determ nodes as givenNodes and from a probabilistic standpoint, it's not clear what it means to condition on deterministic nodes. So, @perrydv , let's discuss before I do further work on this.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions