Description Usage Arguments Details Value Author(s) References See Also Examples
For a stress-strength model, with independent r.v. X and Y representing the strength and the stress respectively, the function computes the reliability R=P(X>Y)
1 |
parx |
parameters of X distribution (for the normal distribution, mean μ_x and standard deviation σ_x) |
pary |
parameters of Y distribution (for the normal distribution, mean μ_y and standard deviation σ_y) |
family |
family distribution for both X and Y (now, only "normal" available) |
The function computes R=P(X>Y) where X and Y are independent r.v. following the family
distribution with distributional parameters parx
and pary
.
R=P(X>Y). For normal distributions, R=Φ(d) with d=(μ_x-μ_y)/√{σ_x^2+σ_y^2}.
Alessandro Barbiero, Riccardo Inchingolo
Kotz S, Lumelskii Y, Pensky M (2003) The stress-strength model and its generalizations: theory and applications. World Scientific, Singapore
1 2 3 4 5 6 7 8 9 10 11 | # let X be a normal r.v. with mean 1 and sd 1;
# and Y a normal r.v. with mean 0 and sd 2
# X and Y independent
parx<-c(1, 1)
pary<-c(0, 2)
# reliability of the stress-strength model (X=strength, Y=stress)
SSR(parx,pary)
# changing the parameters of Y
pary<-c(1.5, 2)
# reliability of the stress-strength model (X=strength, Y=stress)
SSR(parx,pary)
|
[1] 0.6726396
[1] 0.4115316
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.