Girish Mahajan (Editor)

ProbOnto

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit
Duration
  
2015 –

Website
  
probonto.org

ProbOnto

Keywords
  
Statistics, Probability distribution

Objective
  
Design, implement and maintain knowledge base and ontology of probability distributions.

ProbOnto is a knowledge base and ontology of probability distributions. ProbOnto 2.5 (released on January 16, 2017) contains over 150 uni- and multivariate distributions and alternative parameterizations, more than 220 relationships and re-parameterization formulas, supports encoding of empirical and univariate mixture distributions.

Contents

Introduction

ProbOnto was initially designed to facilitate the encoding of nonlinear-mixed effect models and their annotation in Pharmacometrics Markup Language (PharmML) developed by DDMoRe, an Innovative Medicines Initiative project. However, ProbOnto, due to its generic structure can be applied in other platforms and modeling tools for encoding and annotation of diverse models applicable to discrete (e.g. count, categorical and time-to-event) and continuous data.

Knowledge base

The knowledge base stores for each distribution:

  • Probability density or mass functions and where available cumulative distribution, hazard and survival functions.
  • Related quantities such as mean, median, mode and variance.
  • Parameter and support/range definitions and distribution type.
  • LaTeX and R code for mathematical functions.
  • Model definition and references.
  • Relationships

    ProbOnto stores in Version 2.5 over 220 relationships between univariate distributions with re-parameterizations as a special case, see figure. While this form of relationships is often neglected in literature, and the authors concentrate one a particular form for each distribution, they are crucial from the interoperability point of view. ProbOnto focuses on this aspect and features more than 15 distributions with alternative parameterizations.

    Alternative parameterizations

    Many distributions are defined with mathematically equivalent but algebraically different formulas. This leads to issues when exchanging models between software tools. The following examples illustrate that.

    Normal distribution

    Normal distribution can be defined in at least three ways

  • Normal1(μ,σ) with mean, μ, and standard deviation, σ
  • P ( x ; μ , σ ) = 1 σ 2 π exp [ ( x μ ) 2 2 σ 2 ]
  • Normal2(μ,υ) with mean, μ, and variance, υ = σ^2 or
  • P ( x ; μ , v ) = 1 v 2 π exp [ ( x μ ) 2 2 v ]
  • Normal3(μ,τ) with mean, μ, and precision, τ = 1/υ = 1/σ^2.
  • P ( x ; μ , τ ) = τ 2 π [ τ 2 ( x μ ) 2 ]

    Log-normal distribution

    In the case of the log-normal distribution there are more options. This is due to the fact that it can be parameterized in terms of parameters on the natural and log scale, see figure.

    The available forms in ProbOnto 2.0 are

  • LogNormal1(μ,σ) with mean, μ, and standard deviation, σ, both on the log-scale
  • P ( x ; μ , σ ) = 1 x σ 2 π exp [ ( log x μ ) 2 2 σ 2 ]
  • LogNormal2(μ,υ) with mean, μ, and variance, υ, both on the log-scale
  • P ( x ; μ , v ) = 1 x v 2 π exp [ ( log x μ ) 2 2 v ]
  • LogNormal3(m,σ) with median, m, on the natural scale and standard deviation, σ, on the log-scale
  • P ( x ; m , σ ) = 1 x σ 2 π exp [ [ log ( x / m ) ] 2 2 σ 2 ]
  • LogNormal4(m,cv) with median, m, and coefficient of variation, cv, both on the natural scale
  • P ( x ; m , c v ) = 1 x log ( c v 2 + 1 ) 2 π exp [ [ log ( x / m ) ] 2 2 log ( c v 2 + 1 ) ]
  • LogNormal5(μ,τ) with mean, μ, and precision, τ, both on the log-scale
  • P ( x ; μ , τ ) = τ 2 π 1 x exp [ τ 2 ( log x μ ) 2 ]
  • LogNormal6(m,σg) with median, m, and geometric standard deviation, σg, both on the natural scale
  • P ( x ; m , σ g ) = 1 x log ( σ g ) 2 π exp [ [ log ( x / m ) ] 2 2 log 2 ( σ g ) ]
  • LogNormal7(μNN) with mean, μN, and standard deviation, σN, both on the natural scale
  • P ( x ; μ N , σ N ) = 1 x 2 π log ( 1 + σ N 2 / μ N 2 ) exp ( [ log ( x ) log ( μ N 1 + σ N 2 / μ N 2 ) ] 2 2 log ( 1 + σ N 2 / μ N 2 ) )

    ProbOnto knowledge base stores such re-parameterization formulas to allow for a correct translation of models between tools.

    Examples for re-parameterization

    Let's consider the situation when one would like to run a model using two different optimal design tools, e.g. PFIM and PopED. The former supports the LN2, the latter LN7 parameterization, respectively. Therefore, the re-parameterization is required, otherwise the two tools would produce different results.

    For the transition L N 2 ( μ , v ) L N 7 ( μ N , σ N ) following formulas hold μ N = exp ( μ + v / 2 )  and  σ N = exp ( μ + v / 2 ) exp ( v ) 1 .

    For the transition L N 7 ( μ N , σ N ) L N 2 ( μ , v ) following formulas hold μ = log ( μ N / 1 + σ N 2 / μ N 2 )  and  v = log ( 1 + σ N 2 / μ N 2 ) .

    Ontology

    The knowledge base is built from a simple ontological model. At its core, a probability distribution is an instance of the class thereof, a specialization of the class of mathematical objects. A distribution relates to a number of other individuals, which are instances of various categories in the ontology. For example, these are parameters and related functions associated with a given probability distribution. This strategy allows for the rich representation of attributes and relationships between domain objects. The ontology can be seen as a conceptual schema in the domain of mathematics and has been implemented as a PowerLoom knowledge base. An OWL version is generated programmatically using the Jena API.

    Output for ProbOnto are provided as supplementary materials and published on or linked from the probonto.org website. The OWL version of ProbOnto is available via Ontology Lookup Service (OLS) to facilitate simple searching and visualization of the content. In addition the OLS API provides methods to programmatically access ProbOnto and to integrate it into applications. ProbOnto is also registered on the BioSharing portal.

    ProbOnto in PharmML

    A PharmML interface is provided in form of a generic XML schema for the definition of the distributions and their parameters. Defining functions, such as probability density function (PDF), probability mass function (PMF), hazard function (HF) and survival function (SF), can be accessed via methods provided in the PharmML schema.

    Use example

    This example shows how the zero-inflated Poisson distribution is encoded by using its codename and declaring that of its parameters (‘rate’ and ‘probabilityOfZero’). Model parameters Lambda and P0 are assigned to the parameter code names.

    To specify any given distribution unambiguously using ProbOnto, it is sufficient to declare its code name and the code names of its parameters. More examples and a detailed specification can be found on the project website.

    References

    ProbOnto Wikipedia