Skip to content

Log-probability derivation for arbitrary order statistics (for i.i.d. [univariate] random variables) #7121

Open
@larryshamalama

Description

@larryshamalama

Description

Given an i.i.d. sample of univariate random variable $X_1, \dots, X_n$ with probability density function $f_X(x)$ and cumulative prob $F_X(x)$, the jth order statistic is denoted by $X_{(j)}$ and its probability density function is the following:

$$f_{X_{(j)}}(x) = \frac{n!}{(j - 1)!(n - 1)!} f_X(x) { F_{X}(x) }^{j - 1} {1 - F_{X}(x)}^{n - j} .$$

With the maximum and minimum statistics represented by $X_{(1)}$ and $X_{(n)}$, PyMC is capable of deriving their log-probability densities (#6790, #6846) and this issue directly extends that line of work for arbitrary $1 \leq k \leq n$.

Wikipedia reference: https://en.wikipedia.org/wiki/Order_statistic

CC @ricardoV94 @Dhruvanshu-Joshi

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions