Skip to content

Implement logprob derivation for Max and Min #6773

Closed
@Dhruvanshu-Joshi

Description

@Dhruvanshu-Joshi

Description

Description

The idea would be to derive the logprob for the following type of graphs

import pytensor.tensor as pt
from pymc import logp

x_rv = pt.max(at.random.uniform(0, 1, size=3))
y_rv = pt.min(at.random.uniform(0, 1, size=3)) 

x_vv = x_rv.clone()
y_vv = y_rv.clone()

x_max_logprob = logp(x_rv, x_vv)
y_max_logprob = logp(y_rv, y_vv)

Reference: https://en.wikipedia.org/wiki/Order_statistic#Probabilistic_analysis

CC @ricardoV94 @larryshamalama

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions