Skip to content

PDF Types

SunSolve-P90 permits five types of PDFs: constant, Gaussian, skewed Gaussian, Weibull and arbitrary. Example distributions are shown in Figure 4.2.

Figure 4.2

Figure 4.2: Four probability density functions. In these examples, each has an integral of 1 and a P50 of 1.

A multiplier of x = x0 is assigned to all simulations.1

The Gaussian function is defined by an offset x0 and a standard deviation σ,

PDF(x)=1σ2πexp((xx0)22σ2)\text{PDF}(x) = \frac{1}{\sigma\sqrt{2\pi}} \exp\left(-\frac{(x-x_0)^2}{2\sigma^2}\right)

The offset x0 is also the mean of the distribution because a Gaussian is symmetric about x0.

The skewed Gaussian function is defined by three variables, α, ξ, and ω.

PDF(x)=1ω2πexp((xξ)22ω2)[1+αxξω]\text{PDF}(x) = \frac{1}{\omega\sqrt{2\pi}} \exp\left(-\frac{(x-\xi)^2}{2\omega^2}\right) \left[1 + \alpha \cdot \frac{x-\xi}{\omega}\right]

The variables are sometimes referred to as the shape α, location ξ, and scale ω. When α = 0, this reverts to a Gaussian, where x0 = ξ and σ = ω. When α > 0, the distribution is skewed such that the positive tail is ‘longer’ than the negative tail; and when α < 0, the negative tail is longer.

A conventional Weibull function is defined by two variables, λ and k,

PDF(x)=kλ(xλ)k1exp((xλ)k)\text{PDF}(x) = \frac{k}{\lambda}\left(\frac{x}{\lambda}\right)^{k-1} \exp\left(-\left(\frac{x}{\lambda}\right)^k\right)

for x ≥ 0 and PDF(x) = 0 for x < 0.

In SunSolve-P90, however, we expand the Weibull function to include an offset x0, and a polarity p so the tail of the function can be in either the positive or negative direction2

PDF(x)=kλ(p(xx0)λ)k1exp((p(xx0)λ)k)\text{PDF}(x) = \frac{k}{\lambda}\left(\frac{p(x-x_0)}{\lambda}\right)^{k-1} \exp\left(-\left(\frac{p(x-x_0)}{\lambda}\right)^k\right)

where p is either +1 or –1.

The value x0 is therefore the point at which the distribution is zero (the discontinuity), and thus, when p is +1, PDF(x) is non-zero for xx0 and zero for x < x0; and when p is –1, PDF(x) is non-zero when xx0 and zero for x > x0.

The user can also load their own uncertainty distribution, PDF(x), as a set of datapoints in the form {x, PDF}. The integral of the PDF(x) need not be unity.

  1. If you’d prefer to treat this option as a function, then consider it to be a delta function centred at unity, PDF(x) = δ(xx0).

  2. The Weibull can be modified to have a similar form of the Gaussian distribution using x0 = μ and λ = σ√2.