Skip to content

Feature suggestion: check monotonicity #214

Open
@jstover79

Description

Given a Markov chain object (e.g. with a transition matrix), it would be nice to have a method that checks if it is a monotone transition matrix. Just for reference, in case this is an unfamiliar property, it means that row $i$ is stochastically dominated by row $j$ whenever $i < j$. Each row is of course s discrete probability distribution. Assume we have state space ${0,1,\ldots,k}$. Probability distribution $x$ is stochastically dominated by distribution $y$ if the $x_m+x_{m+1}+\cdots+x_k\leq y_m+y_{m+1}+\cdots+y_k$ for every value of $m$.

For example $x=(0.6,0.1,0.3)$ is stochastically dominated by $y=(0.5,0.2,0.3)$.

Monotonicity is interesting because it allows one to couple two copies of the chain so that one is always above the other.

Maybe there isn't demand for such a feature, but I just thought I'd try to suggest it. Please forgive me if it is inappropriate to suggest features here.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions