Description Usage Arguments Value Examples
This function calculates the Johnson ranks which are used to estimate the failure probabilities in case of (multiple) right censored data.
1 | calculate_ranks(f, n_out, n)
|
f |
a numeric vector indicating the number of failed units for a specific realization of the lifetime characteristic. |
n_out |
a numeric vector indicating the number of failed and censored units that have a shorter realization of lifetime characteristic as unit i. |
n |
an integer value indicating the sample size. |
A numeric vector containing the computed Johnson ranks.
1 2 3 4 | defectives <- c(0, 1, 2, 0, 0, 0, 3, 0, 2, 0)
n_out <- c(0, 2, 4, 8, 9, 11, 12, 16, 20, 22)
n <- 23
johnson_ranks <- calculate_ranks(f = defectives, n_out = n_out, n = n)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.