View source: R/iid_constructors.R
| order_statistic | R Documentation |
Constructs a kofn_dist whose system lifetime equals T_(k), the
k-th order statistic of m iid draws from d. Under the k-of-m
parametrization, the system fails at the (m - k + 1)-th component
failure; setting the threshold to m - k + 1 makes the system lifetime
equal T_(k).
order_statistic(d, k, m)
d |
A |
k |
The order statistic index (1 = min, m = max). |
m |
Number of iid components. |
The internal call is kofn_dist(m - k + 1, ...): this maps the
order-statistic index k (where k = 1 is the minimum, k = m is
the maximum) to the :G convention used by kofn_dist (where the
k_dist argument is the number of functioning components required).
A kofn_dist.
# Median of 5 iid exponentials
sys <- order_statistic(algebraic.dist::exponential(1), k = 3, m = 5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.