# \#distribution

**URL:** https://openturns.discourse.group/tag/distribution/17.md

[Latest](https://openturns.discourse.group/latest.md) · [Categories](https://openturns.discourse.group/categories.md) · [Tags](https://openturns.discourse.group/tags.md)

---

## [Parameter estimation with Metropolis-Hastings calling external code](https://openturns.discourse.group/t/parameter-estimation-with-metropolis-hastings-calling-external-code/421)

<div class="topic-metadata">

**Author:** [@FoxTango](https://openturns.discourse.group/u/FoxTango)\
**Replies:** 2\
**Last updated:** [November 6, 2025, 7:57am UTC](https://openturns.discourse.group/t/parameter-estimation-with-metropolis-hastings-calling-external-code/421 "2025-11-06T07:57:23Z")

</div>

Hello there, I am currently trying to perform a parameter calibration on a 8-parameter model. The model is computed by a an external software (EMTP) and can be called through Python. As someone familiar with bayesian m…

---

## [Introducing an AI-Driven UQ and Sensitivity Analysis App Built with OpenTURNS](https://openturns.discourse.group/t/introducing-an-ai-driven-uq-and-sensitivity-analysis-app-built-with-openturns/395)

<div class="topic-metadata">

**Author:** [@mlegkovskis](https://openturns.discourse.group/u/mlegkovskis)\
**Replies:** 7\
**Last updated:** [December 3, 2024, 4:01pm UTC](https://openturns.discourse.group/t/introducing-an-ai-driven-uq-and-sensitivity-analysis-app-built-with-openturns/395 "2024-12-03T16:01:59Z")

</div>

Dear OpenTURNS Community, I wanted to share with you a new web application that I’ve developed during my Engineering PhD at the University of Warwick. This app aims to simplify uncertainty quantification (UQ) and Sensit…

---

## [Conditional Sampling with Distinct Distributions Based on Sampled Values](https://openturns.discourse.group/t/conditional-sampling-with-distinct-distributions-based-on-sampled-values/400)

<div class="topic-metadata">

**Author:** [@al2543](https://openturns.discourse.group/u/al2543)\
**Replies:** 2\
**Last updated:** [December 2, 2024, 7:20pm UTC](https://openturns.discourse.group/t/conditional-sampling-with-distinct-distributions-based-on-sampled-values/400 "2024-12-02T19:20:09Z")

</div>

Hello :slight\_smile: I am currently working on a problem where the distribution applied to a variable depends on the value sampled from another variable. Specifically, I need to sample from one distribution and then, ba…

---

## [Multivariate distribution with combined relationship](https://openturns.discourse.group/t/multivariate-distribution-with-combined-relationship/339)

<div class="topic-metadata">

**Author:** [@asoubki](https://openturns.discourse.group/u/asoubki)\
**Replies:** 7\
**Last updated:** [April 4, 2024, 3:46pm UTC](https://openturns.discourse.group/t/multivariate-distribution-with-combined-relationship/339 "2024-04-04T15:46:22Z")

</div>

Hi, I am new in OpenTURNS and i am trying to create a multivariate distribution to generate a sample of 4 variables : A, B, C and D. The 2 first (A & B) are independent, but the 2 last one are linked between each other…

---

## [Censored distribution](https://openturns.discourse.group/t/censored-distribution/340)

<div class="topic-metadata">

**Author:** [@schueller](https://openturns.discourse.group/u/schueller)\
**Replies:** 2\
**Last updated:** [January 24, 2024, 3:42pm UTC](https://openturns.discourse.group/t/censored-distribution/340 "2024-01-24T15:42:37Z")

</div>

I had a look on how to implement a censored distribution using Dirac components inside a Mixture: import openturns as ot class CensoredDistribution(ot.PythonDistribution): def \_\_init\_\_(self, distribution, bounds):…

---

## [Construct conditional distribution and transform the jointly distribution](https://openturns.discourse.group/t/construct-conditional-distribution-and-transform-the-jointly-distribution/294)

<div class="topic-metadata">

**Author:** [@Wissen](https://openturns.discourse.group/u/Wissen)\
**Replies:** 3\
**Last updated:** [June 10, 2023, 12:43pm UTC](https://openturns.discourse.group/t/construct-conditional-distribution-and-transform-the-jointly-distribution/294 "2023-06-10T12:43:13Z")

</div>

Hello, I’m building a stochastic model with three random variables X,Y, Z that both X, Y depends on Z and X, Y are conditional independent given the value of Z. I wonder that how can I implement the conditional distribu…

---

## [Error defining a ComposedDistribution](https://openturns.discourse.group/t/error-defining-a-composeddistribution/288)

<div class="topic-metadata">

**Author:** [@lucelorr](https://openturns.discourse.group/u/lucelorr)\
**Replies:** 1\
**Last updated:** [May 17, 2023, 8:55am UTC](https://openturns.discourse.group/t/error-defining-a-composeddistribution/288 "2023-05-17T08:55:11Z")

</div>

Hi, I have obtained an error in this code. Could someone help me with this error? Thanks in advanced print(range(0,len(GR\_VD))) for id\_sec in range(len(GR\_VD)): l\_media = ANGLES\[GR\_VD\[id\_sec\]-1\]\[1\] \* mm VectorX.appe…

---

## [Provide directly the isoprobabilistic transformation during FORM](https://openturns.discourse.group/t/provide-directly-the-isoprobabilistic-transformation-during-form/271)

<div class="topic-metadata">

**Author:** [@Alexis](https://openturns.discourse.group/u/Alexis)\
**Replies:** 2\
**Last updated:** [February 23, 2023, 3:03pm UTC](https://openturns.discourse.group/t/provide-directly-the-isoprobabilistic-transformation-during-form/271 "2023-02-23T15:03:16Z")

</div>

Hi, Is it possible to directly provide the isoprobabilistic transformation using FORM instead of defining the distribution and letting Openturns estimates the isoprobabilistic transformation? Thanks, Alexis

---

## [How to create a weibullgpd distribution?](https://openturns.discourse.group/t/how-to-create-a-weibullgpd-distribution/250)

<div class="topic-metadata">

**Author:** [@Alexis](https://openturns.discourse.group/u/Alexis)\
**Replies:** 2\
**Last updated:** [November 17, 2022, 1:41pm UTC](https://openturns.discourse.group/t/how-to-create-a-weibullgpd-distribution/250 "2022-11-17T13:41:38Z")

</div>

Hello, I want to create a weibullgpd distribution as defined (for R) on the website weibullgpd function - RDocumentation. Is it possible to do it with OpenTURNS ? If so, can you tell me how please ? Thank you, Alexis …

---

## [Extending the numerical range of a Distribution](https://openturns.discourse.group/t/extending-the-numerical-range-of-a-distribution/159)

<div class="topic-metadata">

**Author:** [@MerlinKeller](https://openturns.discourse.group/u/MerlinKeller)\
**Replies:** 6\
**Last updated:** [September 20, 2021, 9:10pm UTC](https://openturns.discourse.group/t/extending-the-numerical-range-of-a-distribution/159 "2021-09-20T21:10:11Z")

</div>

HI to all Open TURNS users! I am having troubles generating draws from a truncated distribution in Open-TURNS. Here is an example to illustrate the problem: “”" ot.TruncatedDistribution( ot.Exponential(),33., 34.) Ty…

---

## [Should methods be allowed to output infinity?](https://openturns.discourse.group/t/should-methods-be-allowed-to-output-infinity/44)

<div class="topic-metadata">

**Author:** [@josephmure](https://openturns.discourse.group/u/josephmure)\
**Replies:** 13\
**Last updated:** [August 12, 2021, 12:36pm UTC](https://openturns.discourse.group/t/should-methods-be-allowed-to-output-infinity/44 "2021-08-12T12:36:17Z")

</div>

This question is related to Issue #1615, but not limited to it. Some of the people present at the technical committee meeting on October 13th, 2020 (disclaimer: I am one of them) have argued that some methods in OpenTUR…

---

## [Dirichlet distribution](https://openturns.discourse.group/t/dirichlet-distribution/139)

<div class="topic-metadata">

**Author:** [@StRuoff](https://openturns.discourse.group/u/StRuoff)\
**Replies:** 2\
**Last updated:** [May 28, 2021, 6:31am UTC](https://openturns.discourse.group/t/dirichlet-distribution/139 "2021-05-28T06:31:55Z")

</div>

I have some questions regarding Dirichlet (or multivariate) distributions. In my case I want a distribution where the constraint is, that the sum of all values is equal to 1, so I created a Dirichlet-Distribution as fol…

---

## [Discrete Distribution with Non-Numeric Values](https://openturns.discourse.group/t/discrete-distribution-with-non-numeric-values/138)

<div class="topic-metadata">

**Author:** [@StRuoff](https://openturns.discourse.group/u/StRuoff)\
**Replies:** 2\
**Last updated:** [May 26, 2021, 2:51pm UTC](https://openturns.discourse.group/t/discrete-distribution-with-non-numeric-values/138 "2021-05-26T14:51:56Z")

</div>

Is it possible in OpenTurns to create a discrete distribution containing non-numeric (string) values? One application would be to select different turbulence models in my CFD code, that are given as string-values (e.g. …

---

## [Method of moments not robust to misspecified distribution](https://openturns.discourse.group/t/method-of-moments-not-robust-to-misspecified-distribution/48)

<div class="topic-metadata">

**Author:** [@josephmure](https://openturns.discourse.group/u/josephmure)\
**Replies:** 5\
**Last updated:** [January 10, 2021, 10:31pm UTC](https://openturns.discourse.group/t/method-of-moments-not-robust-to-misspecified-distribution/48 "2021-01-10T22:31:02Z")

</div>

The following code is adapted from an example invented by @KieranDelamotte. We try to fit a Gumbel distribution on a sample that is actually obtained from a mixture of a Gumbel and a Fréchet distribution. GumbelFactory …

---

## [Discrete uniform distribution](https://openturns.discourse.group/t/discrete-uniform-distribution/80)

<div class="topic-metadata">

**Author:** [@sanaaZ](https://openturns.discourse.group/u/sanaaZ)\
**Replies:** 3\
**Last updated:** [January 7, 2021, 3:45pm UTC](https://openturns.discourse.group/t/discrete-uniform-distribution/80 "2021-01-07T15:45:33Z")

</div>

Hello, Openturns does not provide a uniform discrete distribution to my knowledge. I think that it would be a useful feature to add regards, sanaa

---

## [Cauchy distribution in OT?](https://openturns.discourse.group/t/cauchy-distribution-in-ot/73)

<div class="topic-metadata">

**Author:** [@MichaelBaudin](https://openturns.discourse.group/u/MichaelBaudin)\
**Replies:** 2\
**Last updated:** [December 13, 2020, 7:04pm UTC](https://openturns.discourse.group/t/cauchy-distribution-in-ot/73 "2020-12-13T19:04:55Z")

</div>

Hi! I would like to perform a Monte-Carlo simulation which fails to converge. To create it, I selected the Cauchy distribution https://en.wikipedia.org/wiki/Cauchy\_distribution. However, I could not find it in the libr…

---

## [Covariance kernels for random processes with multidimensional output do not output symmetric matrices](https://openturns.discourse.group/t/covariance-kernels-for-random-processes-with-multidimensional-output-do-not-output-symmetric-matrices/55)

<div class="topic-metadata">

**Author:** [@josephmure](https://openturns.discourse.group/u/josephmure)\
**Replies:** 1\
**Last updated:** [November 23, 2020, 7:47pm UTC](https://openturns.discourse.group/t/covariance-kernels-for-random-processes-with-multidimensional-output-do-not-output-symmetric-matrices/55 "2020-11-23T19:47:17Z")

</div>

I think there is a mistake in the way covariance kernels for random processes with multidimensional output are handled by the library. In the following code block, I do not think operator() should return a CovarianceMat…
