pymc icon indicating copy to clipboard operation
pymc copied to clipboard

Log-probability derivation of max/min of non-i.i.d. random variables

Open larryshamalama opened this issue 1 year ago • 3 comments

Description

This builds upon work on automatic log-probability derivation of max/min statistics. We would like to extend this to obtaining the maximum/minimum order statistics of non-i.i.d. (univariate) random variables.

We hope to deconstruct this issue into the following incremental PRs:

  • Maximum/minimum of two random variables from the same distribution family, e.g. $X \sim \text{Normal}(\mu_X, \sigma_X^2); Y \sim \text{Normal}(\mu_Y, \sigma_Y^2)$.
  • Maximum/minimum of two random variables from different distribution families, but with the same support, e.g. $X \sim \text{Normal}(\mu, \sigma^2); Y \sim \text{StudentT}(\nu)$.
  • Maximum/minimum of two random variables from different distribution families with possibly different support, e.g. $X \sim \text{Normal}, Y \sim \text{Gamma}$ or even $X \sim \text{Normal}, Y \sim \text{Bernouilli}$.
  • Maximum/minimum of $n$ random variables from the same distribution family.
  • Maximum/minimum of $n$ random variables from different distribution families, with the same support.
  • Maximum/minimum of any $n$ univariate random variables.

As we progress, each task can possibly deserve their own issue to keep track of mathematical derivations and code templates. For prospective GSoC applicants, the realm of log-probability for order statistics (in PyMC) is vast and the bullet point list above is ambitious.

CC @ricardoV94 @Dhruvanshu-Joshi

larryshamalama avatar Jan 29 '24 16:01 larryshamalama

Heyy,

I found this project listed in last year's GSoC ideas. If it is not done yet and still coming in this years project list for GSoC, then I would like to work on this. I am interested.

Please let me know, the details and how to start

The-Broken-Keyboard avatar Jan 19 '25 19:01 The-Broken-Keyboard

It probably will not be part of the next GSOC but is still open as a general issue

ricardoV94 avatar Jan 20 '25 09:01 ricardoV94

Okay np, I will contribute to it as much as possible.

I am taking my time to understand codebase and stuffs.

Also, do you know what projects are going to be there in GSoC this year? I am searching for projects which can be of my interest for this year's GSoC

The-Broken-Keyboard avatar Jan 20 '25 17:01 The-Broken-Keyboard