availDis | R Documentation |
Provide the Empirical Bootstrap Distribution of the asymptotic availability index A_∞, based on observed samples of failure times and repair times.
availDis(ttf, ttr, n, seed = NA, printSummary = TRUE)
ttf |
numeric vector of Time To Failure |
ttr |
numeric vector of Time To Repair |
n |
the number of bootstrap replicates |
seed |
a single value, interpreted as an integer. If specified make the simulation replicable. |
printSummary |
logical, if |
A numeric vector of lenght n
with simulated availabilities
Daniele Amberti
Kenett, R., Zacks, S. with contributions by Amberti, D. Modern Industrial Statistics: with applications in R, MINITAB and JMP. Wiley.
renewDis
set.seed(123) Ttf <- rgamma(50, shape=2, scale=100) Ttr <- rgamma(50, shape=2, scale=1) AvailEbd <- availDis(ttf=Ttf, ttr=Ttr, n=1000)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.