powered by
This function calculates the Johnson ranks which are used to estimate the failure probabilities in case of (multiple) right censored data.
calculate_ranks(f, n_out, n)
a numeric vector indicating the number of failed units for a specific realization of the lifetime characteristic.
a numeric vector indicating the number of failed and censored units that have a shorter realization of lifetime characteristic as unit i.
an integer value indicating the sample size.
A numeric vector containing the computed Johnson ranks.
# NOT RUN { 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) # }
Run the code above in your browser using DataLab