Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


ipptoolbox (version 1.2)

bpafromdist: Construct pboxes

Description

Methods to construct pboxes from distributions.

Usage

dsadf(fhandle, intervalnumber, ...)
dsodf(fhandle, intervalnumber, ...)

Arguments

fhandle

Inverse CDF function (e. g. qnorm)

intervalnumber

Number of intervals of the resulting BPA

Parameters (either points or BPAs) for fhandle

Value

BPA representing a pbox sampled from fhandle.

Details

dsadf

Average discretization method

dsodf

Outer discretization method (conservative regarding the discretization error)

The IPP Toolbox contains two methods to construct pboxes from distributions. The functions dsadf (average discetization method) and dsodf (outer discretization method) are used to sample a set of focal element from a parametric model. The parametric model must be given as an inverse cdf F-1(x) with precise or imprecise parameters. Both methods sample the provided inverse CDF function F-1(x) to generate a set of focal elements. dsadf samples points, e.g. 0.05, 0.15, 0.25,..., 0.95, while dsodf samples intervals, e.g. [0,0.1], [0.1,0.2],..., [0.9,1]. A BPA constructed by dsodf is more conservative and includes a BPA generated by dsadf.

The example generates several pboxes from normal distributions. It illustrates the difference of dsadf and dsodf by plotting BPAs with precise parameters of only 20 samples (pbox1, pbox2). Then it generates two pboxes with imprecise parameters.

References

Tonon, F. (2004). "Using random set theory to propagate epistemic uncertainty through a mechanical system." Reliability Engineering and System Safety 85(1-3): 169-181.

Examples

Run this code
# NOT RUN {
print("Precise and imprecise parameters for qnorm")
mu=0; sigma=1
mu2=dsstruct(c(-0.5,0.5,1)); sigma2=dsstruct(c(1,2,1))
print("Pbox (distribution) of qnorm with precise parameters:")
pbox1=dsadf(qnorm,20,mu,sigma)
dscdf(pbox1)

print("Pbox of qnorm with precise parameters, outer discretization:")
pbox2=dsodf(qnorm,20,mu,sigma)
dscdf(pbox2)

print("Pbox of qnorm with imprecise mu, precise sigma:")
pbox3=dsodf(qnorm,1000,mu2,sigma)
dscdf(pbox3)

print("Pbox of qnorm with imprecise parameters:")
pbox4=dsodf(qnorm,1000,mu2,sigma2)
dscdf(pbox4)
# }

Run the code above in your browser using DataLab