estimate_cdf.default {weibulltools}R Documentation

Estimation of Failure Probabilities

Description

This function applies a non-parametric method to estimate the failure probabilities of complete data taking (multiple) right-censored observations into account.

Usage

## Default S3 method:
estimate_cdf(
  x,
  status,
  id = NULL,
  method = c("mr", "johnson", "kaplan", "nelson"),
  options = list(),
  ...
)

Arguments

x

A numeric vector which consists of lifetime data. Lifetime data could be every characteristic influencing the reliability of a product, e.g. operating time (days/months in service), mileage (km, miles), load cycles.

status

A vector of binary data (0 or 1) indicating whether unit i is a right censored observation (= 0) or a failure (= 1).

id

A vector for the identification of every unit. Default is NULL.

method

Method used for the estimation of failure probabilities. See 'Details'.

options

A list of named options. See 'Options'.

...

Further arguments passed to or from other methods. Currently not used.

Details

The following techniques can be used for the method argument:

Value

A tibble with class wt_cdf_estimation containing the following columns:

Options

Argument options is a named list of options:

Method Name Value
mr mr_method "benard" (default) or "invbeta"
mr mr_ties.method "max" (default), "min" or "average"
johnson johnson_method "benard" (default) or "invbeta"

References

NIST/SEMATECH e-Handbook of Statistical Methods, 8.2.1.5. Empirical model fitting - distribution free (Kaplan-Meier) approach, NIST SEMATECH, December 3, 2020

See Also

estimate_cdf

Examples

# Vectors:
cycles <- alloy$cycles
status <- alloy$status

# Example 1 - Johnson method:
prob_tbl <- estimate_cdf(
  x = cycles,
  status = status,
  method = "johnson"
)


# Example 2 - Method 'mr' with options:
prob_tbl_2 <- estimate_cdf(
  x = cycles,
  status = status,
  method = "mr",
  options = list(
    mr_method = "invbeta",
    mr_ties.method = "average"
  )
)


[Package weibulltools version 2.1.0 Index]